mcp-proxy-adapter 6.4.10__py3-none-any.whl → 6.4.12__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,680 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: mcp-proxy-adapter
3
- Version: 6.4.10
4
- Summary: Powerful JSON-RPC microservices framework with built-in security, authentication, and proxy registration
5
- Home-page: https://github.com/maverikod/mcp-proxy-adapter
6
- Author: Vasiliy Zdanovskiy
7
- Author-email: Vasiliy Zdanovskiy <vasilyvz@gmail.com>
8
- Maintainer-email: Vasiliy Zdanovskiy <vasilyvz@gmail.com>
9
- License: MIT
10
- Project-URL: Homepage, https://github.com/maverikod/mcp-proxy-adapter
11
- Project-URL: Documentation, https://github.com/maverikod/mcp-proxy-adapter#readme
12
- Project-URL: Source, https://github.com/maverikod/mcp-proxy-adapter
13
- Project-URL: Tracker, https://github.com/maverikod/mcp-proxy-adapter/issues
14
- Project-URL: PyPI, https://pypi.org/project/mcp-proxy-adapter/
15
- Keywords: json-rpc,microservices,fastapi,security,authentication,authorization,proxy,mcp,mtls,ssl,rest,api
16
- Classifier: Development Status :: 4 - Beta
17
- Classifier: Intended Audience :: Developers
18
- Classifier: Operating System :: OS Independent
19
- Classifier: Programming Language :: Python :: 3
20
- Classifier: Programming Language :: Python :: 3.9
21
- Classifier: Programming Language :: Python :: 3.10
22
- Classifier: Programming Language :: Python :: 3.11
23
- Classifier: Programming Language :: Python :: 3.12
24
- Classifier: Framework :: FastAPI
25
- Classifier: Topic :: Internet :: WWW/HTTP :: HTTP Servers
26
- Classifier: Topic :: Security
27
- Classifier: Topic :: Software Development :: Libraries :: Python Modules
28
- Requires-Python: >=3.9
29
- Description-Content-Type: text/markdown
30
- Requires-Dist: fastapi<1.0.0,>=0.95.0
31
- Requires-Dist: pydantic>=2.0.0
32
- Requires-Dist: hypercorn<1.0.0,>=0.15.0
33
- Requires-Dist: docstring-parser<1.0.0,>=0.15
34
- Requires-Dist: typing-extensions<5.0.0,>=4.5.0
35
- Requires-Dist: jsonrpc>=1.2.0
36
- Requires-Dist: psutil>=5.9.0
37
- Requires-Dist: mcp_security_framework>=1.1.2
38
- Requires-Dist: packaging>=20.0
39
- Requires-Dist: aiohttp<4.0.0,>=3.8.0
40
- Requires-Dist: requests<3.0.0,>=2.28.0
41
- Provides-Extra: dev
42
- Requires-Dist: pytest>=7.0.0; extra == "dev"
43
- Requires-Dist: pytest-asyncio>=0.20.0; extra == "dev"
44
- Requires-Dist: pytest-cov>=4.0.0; extra == "dev"
45
- Requires-Dist: black>=23.0.0; extra == "dev"
46
- Requires-Dist: isort>=5.12.0; extra == "dev"
47
- Requires-Dist: uvicorn<1.0.0,>=0.22.0; extra == "dev"
48
- Provides-Extra: test
49
- Requires-Dist: pytest>=7.0.0; extra == "test"
50
- Requires-Dist: pytest-asyncio>=0.21.0; extra == "test"
51
- Requires-Dist: pytest-cov>=4.0.0; extra == "test"
52
- Requires-Dist: httpx>=0.24.0; extra == "test"
53
- Requires-Dist: pytest-mock>=3.10.0; extra == "test"
54
- Provides-Extra: examples
55
- Requires-Dist: uvicorn<1.0.0,>=0.22.0; extra == "examples"
56
- Dynamic: author
57
- Dynamic: home-page
58
- Dynamic: requires-python
59
-
60
- # MCP Proxy Adapter
61
-
62
- [![PyPI version](https://badge.fury.io/py/mcp-proxy-adapter.svg)](https://pypi.org/project/mcp-proxy-adapter/)
63
- [![Python versions](https://img.shields.io/pypi/pyversions/mcp-proxy-adapter.svg)](https://pypi.org/project/mcp-proxy-adapter/)
64
- [![License](https://img.shields.io/pypi/l/mcp-proxy-adapter.svg)](https://github.com/maverikod/mcp-proxy-adapter/blob/main/LICENSE)
65
-
66
- A powerful framework for creating JSON-RPC-enabled microservices with built-in security, authentication, and proxy registration capabilities.
67
-
68
- ## 🚀 Quick Install
69
-
70
- ```bash
71
- pip install mcp-proxy-adapter
72
- ```
73
-
74
- ## ✨ Key Features
75
-
76
- - **🔒 Security First**: Built-in mTLS, JWT, API Key authentication
77
- - **🌐 JSON-RPC 2.0**: Complete protocol implementation
78
- - **🔄 Proxy Registration**: Automatic service discovery and registration
79
- - **⚡ High Performance**: Built on FastAPI with async support
80
- - **🛡️ Role-Based Access**: Fine-grained permission control
81
- - **📡 Universal Client**: Supports all authentication methods
82
-
83
- ## 🏃‍♂️ Quick Example
84
-
85
- Create a secure JSON-RPC microservice in minutes:
86
-
87
- ```python
88
- from mcp_proxy_adapter import create_app, Command, SuccessResult
89
-
90
- # Create a custom command
91
- class HelloCommand(Command):
92
- name = "hello"
93
- description = "Say hello"
94
-
95
- async def execute(self, **kwargs) -> SuccessResult:
96
- name = kwargs.get("name", "World")
97
- return SuccessResult(f"Hello, {name}!")
98
-
99
- # Create and run the application
100
- app = create_app()
101
- ```
102
-
103
- **📖 [Full Documentation](https://github.com/maverikod/mcp-proxy-adapter#readme)** - Complete usage guide, examples, and API reference.
104
-
105
- ## 📋 Usage Examples
106
-
107
- ### Basic Server Setup
108
-
109
- ```python
110
- from mcp_proxy_adapter import create_app
111
- import uvicorn
112
-
113
- app = create_app()
114
-
115
- if __name__ == "__main__":
116
- uvicorn.run(app, host="0.0.0.0", port=8000)
117
- ```
118
-
119
- ### With Security Configuration
120
-
121
- ```python
122
- from mcp_proxy_adapter import create_app
123
- from mcp_proxy_adapter.config import Config
124
-
125
- # Load configuration
126
- config = Config.from_file("config.json")
127
- app = create_app(config)
128
- ```
129
-
130
- ### Client Usage
131
-
132
- ```python
133
- from mcp_proxy_adapter.core.client import UniversalClient
134
-
135
- async def main():
136
- async with UniversalClient({"server_url": "http://localhost:8000"}) as client:
137
- result = await client.execute_command("help")
138
- print(result)
139
-
140
- import asyncio
141
- asyncio.run(main())
142
- ```
143
-
144
- ## 🔧 Requirements
145
-
146
- - **Python**: 3.9+
147
- - **Dependencies**:
148
- - `fastapi` - Web framework
149
- - `pydantic` - Data validation
150
- - `hypercorn` - ASGI server
151
- - `mcp_security_framework` - Security components
152
- - `jsonrpc` - JSON-RPC protocol
153
-
154
- ## Features
155
-
156
- - **JSON-RPC Framework**: Complete JSON-RPC 2.0 implementation
157
- - **Security Integration**: Built-in support for mcp_security_framework
158
- - **Authentication**: Multiple auth methods (API Key, JWT, Certificate, Basic Auth)
159
- - **Proxy Registration**: Automatic registration and discovery of services
160
- - **Command System**: Extensible command framework with role-based access control
161
- - **SSL/TLS Support**: Full SSL/TLS support including mTLS
162
- - **Async Support**: Built on FastAPI with full async support
163
- - **Extensible**: Plugin system for custom commands and middleware
164
-
165
- ## Quick Start
166
-
167
- ### Installation
168
-
169
- ```bash
170
- pip install mcp-proxy-adapter
171
- ```
172
-
173
- ## Detailed Usage Guide
174
-
175
- ### Step 1: Initialize Working Environment
176
-
177
- Первый шаг - создание изолированного рабочего окружения с помощью скрипта копирования:
178
-
179
- ```bash
180
- # Создание рабочего окружения
181
- python scripts/init_working_environment.py my_test_env
182
-
183
- # Переход в созданную директорию
184
- cd my_test_env
185
- ```
186
-
187
- **Что делает скрипт `init_working_environment.py`:**
188
-
189
- 1. **Создает изолированную директорию** с именем, которое вы указали
190
- 2. **Копирует все примеры** из проекта:
191
- - `basic_framework/` - базовый пример приложения
192
- - `full_application/` - полный пример с proxy endpoints
193
- - `universal_client.py` - универсальный клиент
194
- 3. **Копирует утилитарные скрипты**:
195
- - `config_generator.py` - генератор конфигураций
196
- - `create_certificates_simple.py` - генератор сертификатов
197
- 4. **Копирует тестовые скрипты**:
198
- - `generate_certificates_and_tokens.py` - генерация сертификатов и токенов
199
- - `setup_test_environment.py` - настройка тестового окружения
200
- - `test_config.py` - тестирование конфигураций
201
- - `generate_test_configs.py` - генерация тестовых конфигураций
202
- - `test_proxy_registration.py` - тестирование proxy registration
203
- 5. **Автоматически генерирует конфигурации** для всех режимов работы
204
- 6. **Создает сертификаты** для SSL и mTLS тестирования
205
- 7. **Создает локальную документацию** в виде README.md
206
-
207
- ### Step 2: Генерация конфигураций
208
-
209
- После создания рабочего окружения, сгенерируйте тестовые конфигурации:
210
-
211
- ```bash
212
- # Генерация всех типов конфигураций
213
- python scripts/generate_test_configs.py --output-dir configs
214
-
215
- # Просмотр созданных конфигураций
216
- ls -la configs/
217
- ```
218
-
219
- **Создаются следующие конфигурации:**
220
-
221
- - `http_simple.json` - HTTP без аутентификации
222
- - `http_token.json` - HTTP с токен аутентификацией
223
- - `https_simple.json` - HTTPS без аутентификации
224
- - `https_token.json` - HTTPS с токен аутентификацией
225
- - `mtls_no_roles.json` - mTLS без ролей
226
- - `mtls_with_roles.json` - mTLS с ролями
227
- - `roles.json` - конфигурация ролей и разрешений
228
-
229
- ### Step 3: Запуск базового примера
230
-
231
- Начните с самого простого примера - HTTP без аутентификации:
232
-
233
- ```bash
234
- # Запуск сервера с HTTP конфигурацией
235
- python examples/basic_framework/main.py --config configs/http_simple.json
236
- ```
237
-
238
- В другом терминале протестируйте подключение:
239
-
240
- ```bash
241
- # Тестирование базовой функциональности
242
- python scripts/test_config.py --config configs/http_simple.json
243
- ```
244
-
245
- ### Step 4: Тестирование различных режимов безопасности
246
-
247
- #### HTTP с токен аутентификацией
248
-
249
- ```bash
250
- # Запуск сервера
251
- python examples/basic_framework/main.py --config configs/http_token.json
252
-
253
- # Тестирование в другом терминале
254
- python scripts/test_config.py --config configs/http_token.json
255
- ```
256
-
257
- #### HTTPS с сертификатами
258
-
259
- ```bash
260
- # Запуск сервера
261
- python examples/basic_framework/main.py --config configs/https_simple.json
262
-
263
- # Тестирование в другом терминале
264
- python scripts/test_config.py --config configs/https_simple.json
265
- ```
266
-
267
- #### mTLS (Mutual TLS) аутентификация
268
-
269
- ```bash
270
- # Запуск сервера с mTLS
271
- python examples/basic_framework/main.py --config configs/mtls_no_roles.json
272
-
273
- # Тестирование в другом терминале
274
- python scripts/test_config.py --config configs/mtls_no_roles.json
275
- ```
276
-
277
- ### Step 5: Тестирование Proxy Registration
278
-
279
- Запустите полный тест всех режимов proxy registration:
280
-
281
- ```bash
282
- # Полный тест proxy registration для всех режимов
283
- python scripts/test_proxy_registration.py
284
- ```
285
-
286
- Этот тест проверит:
287
- - ✅ HTTP без ролей
288
- - ✅ HTTP с ролями
289
- - ✅ HTTPS без ролей
290
- - ✅ HTTPS с ролями
291
- - ✅ mTLS без ролей
292
- - ✅ mTLS с ролями
293
-
294
- ### Step 6: Использование универсального клиента
295
-
296
- Универсальный клиент поддерживает все режимы аутентификации:
297
-
298
- #### Создание конфигурации клиента
299
-
300
- ```bash
301
- # Пример конфигурации для mTLS
302
- cat > client_config.json << 'EOF'
303
- {
304
- "server_url": "https://127.0.0.1:8443",
305
- "timeout": 30,
306
- "retry_attempts": 3,
307
- "retry_delay": 1,
308
- "security": {
309
- "auth_method": "certificate",
310
- "ssl": {
311
- "enabled": true,
312
- "check_hostname": false,
313
- "verify": false,
314
- "ca_cert_file": "./certs/ca_cert.pem"
315
- },
316
- "certificate": {
317
- "enabled": true,
318
- "cert_file": "./certs/admin_cert.pem",
319
- "key_file": "./certs/admin_key.pem"
320
- }
321
- }
322
- }
323
- EOF
324
- ```
325
-
326
- #### Тестирование с помощью клиента
327
-
328
- ```bash
329
- # Тестирование подключения
330
- python examples/universal_client.py --config client_config.json --test-connection
331
-
332
- # Выполнение команды help
333
- python examples/universal_client.py --config client_config.json --method help
334
-
335
- # Регистрация в proxy
336
- python examples/universal_client.py --config client_config.json --method proxy_register --params '{"server_id": "test-server", "server_url": "http://127.0.0.1:8001", "server_name": "Test Server"}'
337
- ```
338
-
339
- ### Step 7: Работа с полным примером приложения
340
-
341
- Запустите полный пример с proxy endpoints:
342
-
343
- ```bash
344
- # Запуск полного примера
345
- python examples/full_application/main.py --config configs/mtls_with_roles.json
346
- ```
347
-
348
- Этот пример включает:
349
- - Proxy discovery endpoint (`/proxy/discover`)
350
- - Server registration endpoint (`/proxy/register`)
351
- - Heartbeat endpoint (`/proxy/heartbeat`)
352
- - Server unregistration endpoint (`/proxy/unregister`)
353
-
354
- #### Тестирование proxy endpoints
355
-
356
- ```bash
357
- # Discovery - получение информации о proxy
358
- curl -X GET "https://127.0.0.1:8443/proxy/discover" \
359
- --cert ./certs/admin_cert.pem \
360
- --key ./certs/admin_key.pem \
361
- --cacert ./certs/ca_cert.pem
362
-
363
- # Registration - регистрация сервера
364
- curl -X POST "https://127.0.0.1:8443/proxy/register" \
365
- -H "Content-Type: application/json" \
366
- -d '{
367
- "server_id": "test-server-1",
368
- "server_url": "http://127.0.0.1:8001",
369
- "server_name": "Test Server",
370
- "description": "Test server for proxy registration",
371
- "version": "1.0.0",
372
- "capabilities": ["jsonrpc", "rest"],
373
- "endpoints": {
374
- "jsonrpc": "/api/jsonrpc",
375
- "rest": "/cmd",
376
- "health": "/health"
377
- },
378
- "auth_method": "certificate",
379
- "security_enabled": true
380
- }' \
381
- --cert ./certs/admin_cert.pem \
382
- --key ./certs/admin_key.pem \
383
- --cacert ./certs/ca_cert.pem
384
-
385
- # Heartbeat - отправка heartbeat
386
- curl -X POST "https://127.0.0.1:8443/proxy/heartbeat" \
387
- -H "Content-Type: application/json" \
388
- -d '{
389
- "server_id": "test-server-1",
390
- "server_key": "returned_server_key",
391
- "timestamp": 1234567890,
392
- "status": "healthy"
393
- }' \
394
- --cert ./certs/admin_cert.pem \
395
- --key ./certs/admin_key.pem \
396
- --cacert ./certs/ca_cert.pem
397
- ```
398
-
399
- ### Step 8: Создание собственных команд
400
-
401
- Создайте собственную команду, наследуясь от базового класса:
402
-
403
- ```python
404
- from mcp_proxy_adapter.commands.base import Command
405
- from mcp_proxy_adapter.core.result import SuccessResult, ErrorResult
406
-
407
- class MyCustomCommand(Command):
408
- name = "my_command"
409
- description = "Моя собственная команда"
410
-
411
- async def execute(self, **kwargs) -> SuccessResult:
412
- param1 = kwargs.get("param1", "default_value")
413
-
414
- # Ваша логика здесь
415
- result = f"Выполнена команда с параметром: {param1}"
416
-
417
- return SuccessResult(result)
418
- ```
419
-
420
- ### Структура созданного рабочего окружения
421
-
422
- После выполнения `init_working_environment.py` у вас будет следующая структура:
423
-
424
- ```
425
- my_test_env/
426
- ├── examples/ # Примеры приложений
427
- │ ├── basic_framework/
428
- │ ├── full_application/
429
- │ └── universal_client.py
430
- ├── scripts/ # Скрипты для тестирования
431
- │ ├── generate_test_configs.py
432
- │ ├── test_proxy_registration.py
433
- │ ├── test_config.py
434
- │ └── ...
435
- ├── configs/ # Сгенерированные конфигурации
436
- │ ├── http_simple.json
437
- │ ├── https_simple.json
438
- │ ├── mtls_no_roles.json
439
- │ ├── mtls_with_roles.json
440
- │ └── roles.json
441
- ├── certs/ # Сертификаты для SSL/mTLS
442
- │ ├── ca_cert.pem
443
- │ ├── server_cert.pem
444
- │ ├── admin_cert.pem
445
- │ ├── user_cert.pem
446
- │ └── ...
447
- ├── keys/ # Приватные ключи
448
- │ ├── server_key.pem
449
- │ ├── admin_key.pem
450
- │ └── ...
451
- └── README.md # Локальная документация
452
- ```
453
-
454
- ### Troubleshooting
455
-
456
- #### Распространенные проблемы и решения
457
-
458
- **1. Проблемы с сертификатами mTLS:**
459
-
460
- ```bash
461
- # Проверьте, что сертификаты созданы
462
- ls -la certs/
463
- ls -la keys/
464
-
465
- # Проверьте содержимое сертификатов
466
- openssl x509 -in certs/admin_cert.pem -text -noout
467
- openssl x509 -in certs/ca_cert.pem -text -noout
468
- ```
469
-
470
- **2. Ошибки подключения:**
471
-
472
- ```bash
473
- # Проверьте, что порт свободен
474
- netstat -tlnp | grep :8443
475
-
476
- # Или используйте lsof
477
- lsof -i :8443
478
- ```
479
-
480
- **3. Ошибки импортов:**
481
-
482
- ```bash
483
- # Убедитесь, что виртуальное окружение активировано
484
- source .venv/bin/activate
485
-
486
- # Проверьте установку зависимостей
487
- pip list | grep mcp
488
- pip list | grep hypercorn
489
- ```
490
-
491
- **4. Проблемы с правами доступа:**
492
-
493
- ```bash
494
- # Убедитесь, что файлы сертификатов доступны для чтения
495
- chmod 644 certs/*.pem
496
- chmod 600 keys/*.pem
497
- ```
498
-
499
- ### Конфигурационные файлы
500
-
501
- #### Структура конфигурации сервера
502
-
503
- ```json
504
- {
505
- "server": {
506
- "host": "127.0.0.1",
507
- "port": 8000
508
- },
509
- "ssl": {
510
- "enabled": true,
511
- "cert_file": "./certs/server_cert.pem",
512
- "key_file": "./certs/server_key.pem",
513
- "ca_cert": "./certs/ca_cert.pem",
514
- "verify_client": true
515
- },
516
- "security": {
517
- "enabled": true,
518
- "auth": {
519
- "enabled": true,
520
- "methods": ["certificate"]
521
- },
522
- "permissions": {
523
- "enabled": true,
524
- "roles_file": "./configs/roles.json"
525
- }
526
- },
527
- "commands": {
528
- "auto_discovery": true,
529
- "builtin_commands": ["echo", "health", "config"]
530
- },
531
- "logging": {
532
- "level": "INFO",
533
- "format": "%(asctime)s - %(name)s - %(levelname)s - %(message)s"
534
- }
535
- }
536
- ```
537
-
538
- #### Структура конфигурации клиента
539
-
540
- ```json
541
- {
542
- "server_url": "https://127.0.0.1:8443",
543
- "timeout": 30,
544
- "retry_attempts": 3,
545
- "retry_delay": 1,
546
- "security": {
547
- "auth_method": "certificate",
548
- "ssl": {
549
- "enabled": true,
550
- "check_hostname": false,
551
- "verify": false,
552
- "ca_cert_file": "./certs/ca_cert.pem"
553
- },
554
- "certificate": {
555
- "enabled": true,
556
- "cert_file": "./certs/admin_cert.pem",
557
- "key_file": "./certs/admin_key.pem"
558
- }
559
- }
560
- }
561
- ```
562
-
563
- ### API Reference
564
-
565
- #### Основные endpoints
566
-
567
- - `GET /health` - Проверка здоровья сервиса
568
- - `POST /api/jsonrpc` - JSON-RPC endpoint
569
- - `GET /proxy/discover` - Proxy discovery (только в full_application)
570
- - `POST /proxy/register` - Регистрация сервера в proxy
571
- - `POST /proxy/heartbeat` - Отправка heartbeat
572
- - `POST /proxy/unregister` - Отмена регистрации сервера
573
-
574
- #### JSON-RPC методы
575
-
576
- - `echo` - Возврат переданных параметров
577
- - `help` - Список доступных команд
578
- - `config` - Информация о конфигурации
579
- - `proxy_discover` - Обнаружение proxy
580
- - `proxy_register` - Регистрация в proxy
581
- - `proxy_heartbeat` - Отправка heartbeat
582
-
583
- ### Development
584
-
585
- #### Настройка среды разработки
586
-
587
- ```bash
588
- # Клонирование репозитория
589
- git clone https://github.com/maverikod/mcp-proxy-adapter.git
590
- cd mcp-proxy-adapter
591
-
592
- # Создание виртуального окружения
593
- python -m venv .venv
594
- source .venv/bin/activate # Windows: .venv\Scripts\activate
595
-
596
- # Установка зависимостей
597
- pip install -e ".[dev]"
598
- ```
599
-
600
- #### Запуск тестов
601
-
602
- ```bash
603
- # Запуск всех тестов
604
- pytest tests/
605
-
606
- # Запуск с покрытием кода
607
- pytest --cov=mcp_proxy_adapter tests/
608
-
609
- # Запуск конкретного теста
610
- pytest tests/test_proxy_registration.py -v
611
- ```
612
-
613
- #### Запуск примеров в режиме разработки
614
-
615
- ```bash
616
- # Запуск сервера в режиме разработки
617
- python -m mcp_proxy_adapter.main --config examples/server_configs/config_simple.json --reload
618
-
619
- # Запуск с отладкой
620
- PYTHONPATH=. python examples/basic_framework/main.py --config configs/http_simple.json --debug
621
- ```
622
-
623
- ### Contributing
624
-
625
- 1. Fork the repository
626
- 2. Create a feature branch (`git checkout -b feature/AmazingFeature`)
627
- 3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)
628
- 4. Push to the branch (`git push origin feature/AmazingFeature`)
629
- 5. Open a Pull Request
630
-
631
- ### License
632
-
633
- MIT License - see LICENSE file for details.
634
-
635
- ## Author
636
-
637
- **Vasiliy Zdanovskiy** - vasilyvz@gmail.com
638
-
639
- ## 🤝 Support & Contributing
640
-
641
- - **📧 Email**: vasilyvz@gmail.com
642
- - **🐛 Issues**: [GitHub Issues](https://github.com/maverikod/mcp-proxy-adapter/issues)
643
- - **📚 Documentation**: [GitHub Wiki](https://github.com/maverikod/mcp-proxy-adapter/wiki)
644
- - **💬 Discussions**: [GitHub Discussions](https://github.com/maverikod/mcp-proxy-adapter/discussions)
645
-
646
- ## 📄 License
647
-
648
- MIT License - see [LICENSE](https://github.com/maverikod/mcp-proxy-adapter/blob/main/LICENSE) file for details.
649
-
650
- ## 📊 Version
651
-
652
- **6.2.9** - Production-ready release with comprehensive security, proxy registration, and PyPI optimization.
653
-
654
- ---
655
-
656
- *Built with ❤️ for secure microservices development*
657
-
658
- ---
659
-
660
- ## Быстрый старт (быстрая справка)
661
-
662
- ```bash
663
- # 1. Создание рабочего окружения
664
- python scripts/init_working_environment.py test_env
665
- cd test_env
666
-
667
- # 2. Генерация конфигураций
668
- python scripts/generate_test_configs.py --output-dir configs
669
-
670
- # 3. Запуск сервера
671
- python examples/basic_framework/main.py --config configs/http_simple.json
672
-
673
- # 4. Тестирование (в другом терминале)
674
- python scripts/test_config.py --config configs/http_simple.json
675
-
676
- # 5. Полный тест proxy registration
677
- python scripts/test_proxy_registration.py
678
- ```
679
-
680
- 🎉 **Готово! Теперь вы можете использовать MCP Proxy Adapter для создания безопасных JSON-RPC микросервисов с полной поддержкой аутентификации, авторизации и proxy registration.**
@@ -1,2 +0,0 @@
1
- mcp_proxy_adapter
2
- mcp_proxy_adapter_issue_package