refactor(MCP): Replace MCPRouter with FastMCP Proxy (#8877)

Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
Xingyao Wang
2025-06-08 18:03:18 -04:00
committed by GitHub
parent 0221f21c12
commit d6d5499416
10 changed files with 289 additions and 262 deletions

View File

@@ -435,7 +435,7 @@ class ActionExecutionClient(Runtime):
# We should always include the runtime as an MCP server whenever there's > 0 stdio servers
updated_mcp_config.sse_servers.append(
MCPSSEServerConfig(
url=self.action_execution_server_url.rstrip('/') + '/sse',
url=self.action_execution_server_url.rstrip('/') + '/mcp/sse',
api_key=self.session_api_key,
)
)