-
Notifications
You must be signed in to change notification settings - Fork 144
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Current Limitation
If multiple clients send an initialize request, ToolHive forwards the request to the STDIO workload, which may reject the request or behave unexpectedly, since the expected behaviour is not described by the protocol.
Proposed Solution
ToolHive can a single initialization request to the MCP server container, and intercept any initialization requests coming from the client, responding with a cached response.
Flow:
- When an MCP server is started, ToolHive sends an initialization request and caches the response
- When ToolHive receives an initialization request from a client:
- It should not forward the request to the MCP server
- It should respond with the cached response
- It should respond with the session ID (this is already implemented)
akakshuki
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request