mcp-proxy-adapter 6.4.46__py3-none-any.whl → 6.4.47__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.
@@ -164,7 +164,7 @@ class ReloadCommand(Command):
164
164
  logger.warning("No config_path provided, using default configuration")
165
165
 
166
166
  # Perform reload using unified initialization
167
- reload_info = registry.reload_system(config_path=config_path)
167
+ reload_info = await registry.reload_system(config_path=config_path)
168
168
 
169
169
  # Create result
170
170
  result = ReloadResult(
@@ -247,6 +247,13 @@ class ProxyRegistrationManager:
247
247
  SSL context or None if SSL not needed
248
248
  """
249
249
  logger.debug("_create_ssl_context called")
250
+
251
+ # Check if we're in HTTP mode - if so, don't create SSL context
252
+ server_config = self.config.get("server", {})
253
+ if server_config.get("protocol", "http").lower() == "http":
254
+ logger.debug("HTTP mode detected, skipping SSL context creation")
255
+ return None
256
+
250
257
  if not self.client_security:
251
258
  logger.debug("SSL context creation failed: client_security is None")
252
259
  # Try best-effort default CA if available
@@ -366,7 +373,8 @@ class ProxyRegistrationManager:
366
373
 
367
374
  return None
368
375
  except Exception as e:
369
- logger.error(f"Failed to create SSL context: {e}")
376
+ logger.warning(f"Failed to create SSL context: {e}")
377
+ # Don't fail the entire operation, just return None
370
378
  return None
371
379
 
372
380
  async def register_server(self) -> bool:
@@ -2,4 +2,4 @@
2
2
  Version information for MCP Proxy Adapter.
3
3
  """
4
4
 
5
- __version__ = "6.4.46"
5
+ __version__ = "6.4.47"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mcp-proxy-adapter
3
- Version: 6.4.46
3
+ Version: 6.4.47
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=XRviX-C-ZkSKdBhORhDTdeN_1FWyEfXZADiASft3t9I,28149
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=3tHkj1sfT3rXugDBUq2rvjwfrGbmV9gg5gacMLN6OaE,75
7
+ mcp_proxy_adapter/version.py,sha256=k32wsC7RY9Zrjtw0IkpujnG2YSeS3O8mXDMuYNpI8NI,75
8
8
  mcp_proxy_adapter/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
9
  mcp_proxy_adapter/api/app.py,sha256=cxjavhNTtaYg2ea-UeHSDnKh8edKVNQ2NbXUDYbufFU,34183
10
10
  mcp_proxy_adapter/api/handlers.py,sha256=iyFGoEuUS1wxbV1ELA0zmaxIyQR7j4zw-4MrD-uIO6E,8294
@@ -42,7 +42,7 @@ mcp_proxy_adapter/commands/load_command.py,sha256=euv9KSeO2zjtQiYfnl4xhZYXARt4x1
42
42
  mcp_proxy_adapter/commands/plugins_command.py,sha256=0FazJGI9_wK_Ac_eFfmzhJGRLxMzKdpLqNMu-mwsqMI,8763
43
43
  mcp_proxy_adapter/commands/protocol_management_command.py,sha256=8Uv6WXrj_W1Sl9JCIT6hl8wo_qYuHWZYq-nBMYOQ4qw,8429
44
44
  mcp_proxy_adapter/commands/proxy_registration_command.py,sha256=owKWQRN96vpEBj-yGF-q1T_FiS9wF525bNw08NfVixs,14774
45
- mcp_proxy_adapter/commands/reload_command.py,sha256=464AdH_RBx5XF3uCbil4G21BWprGlOs7MqVS7RyEEoA,7502
45
+ mcp_proxy_adapter/commands/reload_command.py,sha256=GrdmSRBrN77TaeXJak6csmSi_Wa8wwGSPzFD1NQjTKE,7508
46
46
  mcp_proxy_adapter/commands/result.py,sha256=uWHdLCwwn2_ylXLtIn-yXGiXxWRcbzMSlkgGtpkXQCg,5470
47
47
  mcp_proxy_adapter/commands/role_test_command.py,sha256=3y1pOKwrBFGpfqhQEWEBKxGkuMHa9MqHFlzaqPxM3ik,4181
48
48
  mcp_proxy_adapter/commands/roles_management_command.py,sha256=O6OAHuyJlJGLd654hx377sfv23BBuyRW8sGuR4t76fY,21797
@@ -70,7 +70,7 @@ mcp_proxy_adapter/core/mtls_asgi_app.py,sha256=DT_fTUH1RkvBa3ThbyCyNb-XUHyCb4Dqa
70
70
  mcp_proxy_adapter/core/mtls_server.py,sha256=_hj6QWuExKX2LRohYvjPGFC2qTutS7ObegpEc09QijM,10117
71
71
  mcp_proxy_adapter/core/protocol_manager.py,sha256=3sWOAiMniQY5nu9CHkitIOGN4CXH28hOTwY92D0yasM,15268
72
72
  mcp_proxy_adapter/core/proxy_client.py,sha256=CB6KBhV3vH2GU5nZ27VZ_xlNbYTAU_tnYFrkuK5He58,6094
73
- mcp_proxy_adapter/core/proxy_registration.py,sha256=rBu3udgVfgluId1hMY-fB9lN0rMCVtR9GZnVWwKR0LY,34816
73
+ mcp_proxy_adapter/core/proxy_registration.py,sha256=m58w9iQd5zwXFIpuaDRXKPQ3fhQDBJPkD4w7m742ciY,35200
74
74
  mcp_proxy_adapter/core/role_utils.py,sha256=YwRenGoXI5YrHVbFjKFAH2DJs2miyqhcr9LWF7mxieg,12284
75
75
  mcp_proxy_adapter/core/security_adapter.py,sha256=MAtNthsp7Qj4-oLFzSi7Pr3vWQbWS_uelqa5LGgrXIE,12957
76
76
  mcp_proxy_adapter/core/security_factory.py,sha256=M-1McwUOmuV7Eo-m_P2undtJVNK_KIjDx8o_uRY8rLo,8005
@@ -130,8 +130,8 @@ mcp_proxy_adapter/schemas/base_schema.json,sha256=v9G9cGMd4dRhCZsOQ_FMqOi5VFyVbI
130
130
  mcp_proxy_adapter/schemas/openapi_schema.json,sha256=C3yLkwmDsvnLW9B5gnKKdBGl4zxkeU-rEmjTrNVsQU0,8405
131
131
  mcp_proxy_adapter/schemas/roles.json,sha256=pgf_ZyqKyXbfGUxvobpiLiSJz9zzxrMuoVWEkEpz3N8,764
132
132
  mcp_proxy_adapter/schemas/roles_schema.json,sha256=deHgI7L6GwfBXacOlNtDgDJelDThppClC3Ti4Eh8rJY,5659
133
- mcp_proxy_adapter-6.4.46.dist-info/METADATA,sha256=h6qF-F4eXBYsUJ8PPLI1ebjCu2eFLOJBFC-VbmqKV9U,8511
134
- mcp_proxy_adapter-6.4.46.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
135
- mcp_proxy_adapter-6.4.46.dist-info/entry_points.txt,sha256=Bf-O5Aq80n22Ayu9fI9BgidzWqwzIVaqextAddTuHZw,563
136
- mcp_proxy_adapter-6.4.46.dist-info/top_level.txt,sha256=JZT7vPLBYrtroX-ij68JBhJYbjDdghcV-DFySRy-Nnw,18
137
- mcp_proxy_adapter-6.4.46.dist-info/RECORD,,
133
+ mcp_proxy_adapter-6.4.47.dist-info/METADATA,sha256=KeccpHX7-_B_XgrcwPoO9BSrpgotF4LHJROqP3-mUq8,8511
134
+ mcp_proxy_adapter-6.4.47.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
135
+ mcp_proxy_adapter-6.4.47.dist-info/entry_points.txt,sha256=Bf-O5Aq80n22Ayu9fI9BgidzWqwzIVaqextAddTuHZw,563
136
+ mcp_proxy_adapter-6.4.47.dist-info/top_level.txt,sha256=JZT7vPLBYrtroX-ij68JBhJYbjDdghcV-DFySRy-Nnw,18
137
+ mcp_proxy_adapter-6.4.47.dist-info/RECORD,,