Ian Davenport

Results 12 comments of Ian Davenport

Hi! I tried to reproduce this on FastMCP 2.4.0 (both `streamable-http` and `stdio`), using your prompt and a minimal client. Everything worked as expected—no `ValidationError`—when I passed the `datetime` object...

I’ve opened a PR to add support for removing tools at runtime: #437 It adds a remove_tool method to both ToolManager and FastMCP, along with tests and cache clearing. Let...

I’ve been digging into this and I think the missing piece lives in the MCP SDK. FastMCP now declares the `toolsChanged` capability, and the low-level `ServerSession` has a `send_tool_list_changed()` method—but...

@dsp-ant Hi David! This PR adds tests for the CLI. I’ve just rebased onto main and all checks passed. Let me know if you’d like any tweaks. Happy to add...

Hi @claudiu7t! I think the problem comes from how the server is started. In your example, you have: ```python if __name__ == "__main__": asyncio.run(mcp.run_async(transport="streamable-http")) ``` Instead, use the run method...

Cross-posting from #439: It looks like the ability to emit `tools_changed` notifications depends on upstream changes in the MCP SDK. Specifically, the SDK’s `Server` class doesn’t currently expose active `ServerSession`s...

Opened a feature request to address this limitation [#741](https://github.com/modelcontextprotocol/python-sdk/issues/741). This would allow the server to broadcast notifications (like `tools_list_changed`) to all connected clients, not just the one associated with the...

Hey @ihrpr! Do you have a sec to review this PR? It makes the SDK follow the `stdio` [shutdown procedure](https://modelcontextprotocol.io/specification/2025-03-26/basic/lifecycle#stdio) to the letter!

Thanks @felixweinberger for taking the time to coordinate all this! Consolidation sounds good.

Just wanted to chime in! For now, the [MCP spec](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/main/schema/2025-03-26/schema.ts#L1227) only defines a small number of notifications that the client can send: ```typescript export type ClientNotification = | CancelledNotification |...