GitHub user jiangxingfan1-coder added a comment to the discussion: Design 
Proposal: Dynamic Runtime Refresh of MCP Tools and Prompts (#458)

I'd split “in flight” into two test cases: a call already sent to the server, 
and a call the model returned but the runtime hasn't sent yet. Holding the old 
connection open helps the first. It doesn't guarantee that the server still 
implements the old descriptor for the second. If the binding has changed at 
dispatch, I'd return a stale-tool result and replan rather than call the same 
name against the new schema. I'd also keep the configured allowlist 
authoritative after refresh; discovery isn't permission.

I work on Open Agent API and reran three local MCP fixtures. In the [HTTP 
fixture](https://github.com/jiangxingfan1-coder/Open-Agent-API/blob/aa696f54dfbe84fdb7545b2f76223ca806836938/test/mcp-tools.test.ts#L161-L237),
 an already dispatched call completed across a connection rotation while the 
next call used the new connection. In the [separate descriptor-drift 
test](https://github.com/jiangxingfan1-coder/Open-Agent-API/blob/aa696f54dfbe84fdb7545b2f76223ca806836938/test/mcp-tools.test.ts#L298-L341),
 the worker refused before sending any tool call. These are Codex-run fixtures, 
not a Flink or Java/Python SDK reproduction.

GitHub link: 
https://github.com/apache/flink-agents/discussions/1390#discussioncomment-19836851

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to