mcp-proxy-adapter 6.4.38__py3-none-any.whl → 6.4.40__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.
- mcp_proxy_adapter/api/middleware/unified_security.py +1 -1
- mcp_proxy_adapter/examples/run_full_test_suite.py +3 -3
- mcp_proxy_adapter/examples/setup_test_environment.py +2 -2
- mcp_proxy_adapter/version.py +1 -1
- {mcp_proxy_adapter-6.4.38.dist-info → mcp_proxy_adapter-6.4.40.dist-info}/METADATA +1 -1
- {mcp_proxy_adapter-6.4.38.dist-info → mcp_proxy_adapter-6.4.40.dist-info}/RECORD +9 -9
- {mcp_proxy_adapter-6.4.38.dist-info → mcp_proxy_adapter-6.4.40.dist-info}/WHEEL +0 -0
- {mcp_proxy_adapter-6.4.38.dist-info → mcp_proxy_adapter-6.4.40.dist-info}/entry_points.txt +0 -0
- {mcp_proxy_adapter-6.4.38.dist-info → mcp_proxy_adapter-6.4.40.dist-info}/top_level.txt +0 -0
@@ -137,7 +137,7 @@ class UnifiedSecurityMiddleware(BaseHTTPMiddleware):
|
|
137
137
|
authz = request.headers.get("Authorization", "")
|
138
138
|
if authz.startswith("Bearer "):
|
139
139
|
token = authz[7:]
|
140
|
-
if not token or (api_keys and token not in api_keys):
|
140
|
+
if not token or (api_keys and token not in api_keys.values()):
|
141
141
|
from fastapi.responses import JSONResponse
|
142
142
|
|
143
143
|
return JSONResponse(
|
@@ -313,11 +313,11 @@ class FullTestSuiteRunner:
|
|
313
313
|
)
|
314
314
|
test_config_content = {
|
315
315
|
"uuid": "550e8400-e29b-41d4-a716-446655440001",
|
316
|
-
"server": {"host": "127.0.0.1", "port":
|
316
|
+
"server": {"host": "127.0.0.1", "port": 20006},
|
317
317
|
"ssl": {
|
318
318
|
"enabled": True,
|
319
319
|
"cert_file": "certs/localhost_server.crt",
|
320
|
-
"key_file": "keys/
|
320
|
+
"key_file": "keys/server_key.pem",
|
321
321
|
"ca_cert": "certs/mcp_proxy_adapter_ca_ca.crt",
|
322
322
|
"client_cert_file": "certs/admin_cert.pem",
|
323
323
|
"client_key_file": "certs/admin_key.pem",
|
@@ -326,7 +326,7 @@ class FullTestSuiteRunner:
|
|
326
326
|
"registration": {
|
327
327
|
"enabled": True,
|
328
328
|
"auth_method": "token",
|
329
|
-
"server_url": "
|
329
|
+
"server_url": "https://127.0.0.1:20005/proxy",
|
330
330
|
"token": {
|
331
331
|
"enabled": True,
|
332
332
|
"token": "proxy_registration_token_123",
|
@@ -545,7 +545,7 @@ def test_proxy_registration():
|
|
545
545
|
# Get PIDs using lsof
|
546
546
|
result = subprocess.run(["lsof", "-ti:20005"], capture_output=True, text=True, check=False)
|
547
547
|
if result.returncode == 0 and result.stdout.strip():
|
548
|
-
pids = result.stdout.strip().split('
|
548
|
+
pids = result.stdout.strip().split('\\n')
|
549
549
|
for pid in pids:
|
550
550
|
if pid.strip():
|
551
551
|
subprocess.run(["kill", "-9", pid.strip()], check=False, capture_output=True)
|
@@ -897,7 +897,7 @@ def setup_test_environment(output_dir: Path) -> None:
|
|
897
897
|
"ssl": {
|
898
898
|
"enabled": False,
|
899
899
|
"cert_file": "certs/localhost_server.crt",
|
900
|
-
"key_file": "keys/
|
900
|
+
"key_file": "keys/server_key.pem",
|
901
901
|
"ca_cert": "certs/mcp_proxy_adapter_ca_ca.crt",
|
902
902
|
"verify_client": False,
|
903
903
|
},
|
mcp_proxy_adapter/version.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: mcp-proxy-adapter
|
3
|
-
Version: 6.4.
|
3
|
+
Version: 6.4.40
|
4
4
|
Summary: Powerful JSON-RPC microservices framework with built-in security, authentication, and proxy registration
|
5
5
|
Home-page: https://github.com/maverikod/mcp-proxy-adapter
|
6
6
|
Author: Vasiliy Zdanovskiy
|
@@ -4,7 +4,7 @@ mcp_proxy_adapter/config.py,sha256=-7iVS0mUWWKNeao7nqTAFlUD6FcMwRlDkchN7OwYsr0,2
|
|
4
4
|
mcp_proxy_adapter/custom_openapi.py,sha256=yLle4CntYK9wpivgn9NflZyJhy-YNrmWjJzt0ai5nP0,14672
|
5
5
|
mcp_proxy_adapter/main.py,sha256=idp3KUR7CT7kTXLVPvvclJlNnt8d_HYl8_jY98uknmo,4677
|
6
6
|
mcp_proxy_adapter/openapi.py,sha256=2UZOI09ZDRJuBYBjKbMyb2U4uASszoCMD5o_4ktRpvg,13480
|
7
|
-
mcp_proxy_adapter/version.py,sha256=
|
7
|
+
mcp_proxy_adapter/version.py,sha256=k2NEAibZ3tb5gW4TQ-VghIu7PXSVEll8Iul5FKbl_dQ,75
|
8
8
|
mcp_proxy_adapter/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
9
9
|
mcp_proxy_adapter/api/app.py,sha256=UQ7_m-LbUzKuuPJPxS_69ahANUQ5rnPwoddQ2MMXNkg,33941
|
10
10
|
mcp_proxy_adapter/api/handlers.py,sha256=iyFGoEuUS1wxbV1ELA0zmaxIyQR7j4zw-4MrD-uIO6E,8294
|
@@ -20,7 +20,7 @@ mcp_proxy_adapter/api/middleware/logging.py,sha256=iME87hrbvyTjI-RJro5Cwao7VlHUI
|
|
20
20
|
mcp_proxy_adapter/api/middleware/performance.py,sha256=-EvA7YIcTlxn8RuxlWlScJvX2EIoeEp3P5dKVWZHYRY,2357
|
21
21
|
mcp_proxy_adapter/api/middleware/protocol_middleware.py,sha256=lFqGuT5M-USCTIVvZMH6Fgh3hxQNAmAoDeyYOBPpcbk,9161
|
22
22
|
mcp_proxy_adapter/api/middleware/transport_middleware.py,sha256=VG1rWyuh-O2pdc0kQ3SADFvyh286o5Wrnkt8OFQ0WQw,4274
|
23
|
-
mcp_proxy_adapter/api/middleware/unified_security.py,sha256=
|
23
|
+
mcp_proxy_adapter/api/middleware/unified_security.py,sha256=MhbawqXHbd-j99DYbN_1PyInTQNJqhkfczkTs4bOCI4,8322
|
24
24
|
mcp_proxy_adapter/api/middleware/user_info_middleware.py,sha256=-N6cZOc7z6FUE7xRZ8xGgI4PnMyrJq0Jzpde9VNq6Zs,11077
|
25
25
|
mcp_proxy_adapter/commands/__init__.py,sha256=eStfu2UrLfMvMTY6x20GD8sMPmPB1so-0QZQYV53nqo,1565
|
26
26
|
mcp_proxy_adapter/commands/auth_validation_command.py,sha256=p4UrAaHyoCxMy98G1BUUlFJWjoelEJzX3OAWIiQaGls,14593
|
@@ -94,12 +94,12 @@ mcp_proxy_adapter/examples/generate_certificates_and_tokens.py,sha256=hUCoJH3fy5
|
|
94
94
|
mcp_proxy_adapter/examples/generate_test_configs.py,sha256=FWg_QFJAWinI1lw05RccX4_VbhsCBEKPpZA6I9v6KAs,14379
|
95
95
|
mcp_proxy_adapter/examples/proxy_registration_example.py,sha256=vemRhftnjbiOBCJkmtDGqlWQ8syTG0a8755GCOnaQsg,12503
|
96
96
|
mcp_proxy_adapter/examples/run_example.py,sha256=yp-a6HIrSk3ddQmbn0KkuKwErId0aNfj028TE6U-zmY,2626
|
97
|
-
mcp_proxy_adapter/examples/run_full_test_suite.py,sha256=
|
97
|
+
mcp_proxy_adapter/examples/run_full_test_suite.py,sha256=QI4a7vTDovHTVd8BDeRAWsCNZp5aTtrlp7NE2LZU5bA,20143
|
98
98
|
mcp_proxy_adapter/examples/run_proxy_server.py,sha256=SBLSSY2F_VEBQD3MsCE_Pa9xFE6Sszr3vHdE9QOEN4Y,5242
|
99
99
|
mcp_proxy_adapter/examples/run_security_tests.py,sha256=3mgp6fbPknI2fljpuedvtwoY1DzT_-UlOR45fHrkO0A,26215
|
100
100
|
mcp_proxy_adapter/examples/run_security_tests_fixed.py,sha256=2BKMT0_-FhmcZA73hdQOt2XR7Cgb9Sq8qBI88BkwAAA,10934
|
101
101
|
mcp_proxy_adapter/examples/security_test_client.py,sha256=o4XhXCDZPaGVNjOSc0qm8onouj_ZenACz9aSEkvzbRc,35313
|
102
|
-
mcp_proxy_adapter/examples/setup_test_environment.py,sha256=
|
102
|
+
mcp_proxy_adapter/examples/setup_test_environment.py,sha256=jZC9-F17FnuzormazXBmKSa-BgXusfZdYO7aZZlsDrg,45328
|
103
103
|
mcp_proxy_adapter/examples/test_config.py,sha256=ekEoUZe9q484vU_0IxOVhQdNMVJXG3IpmQpP--VmuDI,6491
|
104
104
|
mcp_proxy_adapter/examples/test_config_generator.py,sha256=PBXk1V_awJ-iBlbE66Pme5sQwu6CJDxkmqgm8uPtM58,4091
|
105
105
|
mcp_proxy_adapter/examples/test_examples.py,sha256=CYlVatdHUVC_rwv4NsvxFG3GXiKIyxPDUH43BOJHjrU,12330
|
@@ -121,8 +121,8 @@ mcp_proxy_adapter/examples/full_application/hooks/builtin_command_hooks.py,sha25
|
|
121
121
|
mcp_proxy_adapter/examples/scripts/config_generator.py,sha256=SKFlRRCE_pEHGbfjDuzfKpvV2DMwG6lRfK90uJwRlJM,33410
|
122
122
|
mcp_proxy_adapter/examples/scripts/create_certificates_simple.py,sha256=yCWdUIhMSDPwoPhuLR9rhPdf7jLN5hCjzNfYYgVyHnw,27769
|
123
123
|
mcp_proxy_adapter/examples/scripts/generate_certificates_and_tokens.py,sha256=hUCoJH3fy5WeR_YMHj-_W0mR0ZKUWqewH4FVN3yWyrM,17972
|
124
|
-
mcp_proxy_adapter-6.4.
|
125
|
-
mcp_proxy_adapter-6.4.
|
126
|
-
mcp_proxy_adapter-6.4.
|
127
|
-
mcp_proxy_adapter-6.4.
|
128
|
-
mcp_proxy_adapter-6.4.
|
124
|
+
mcp_proxy_adapter-6.4.40.dist-info/METADATA,sha256=1p5O9p0OLUT1y5vGrkw3-rHbAlFogtMb9PzMiJIM7VU,6087
|
125
|
+
mcp_proxy_adapter-6.4.40.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
126
|
+
mcp_proxy_adapter-6.4.40.dist-info/entry_points.txt,sha256=J3eV6ID0lt_VSp4lIdIgBFTqLCThgObNNxRCbyfiMHw,70
|
127
|
+
mcp_proxy_adapter-6.4.40.dist-info/top_level.txt,sha256=JZT7vPLBYrtroX-ij68JBhJYbjDdghcV-DFySRy-Nnw,18
|
128
|
+
mcp_proxy_adapter-6.4.40.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|