Support `notifications/tools/list_changed`

Open 💬 3 comments Opened Jan 28, 2026 by sebthom

What feature would you like to see?

I am implementing an MCP server that dynamically enables/disables mcp tools based on changing workspace conditions during runtime and notifies the MCP clients using notifications/tools/list_changed via the TypeScript SDK, see https://github.com/modelcontextprotocol/typescript-sdk/pull/1206

Unfortunately codex currently does not pick up the changes and does not update the tools list of the mcp server:
https://github.com/openai/codex/blob/66de985e4e9d22e8a48c5185b1a4678e3016928d/codex-rs/mcp-server/src/message_processor.rs#L631-L636

notifications/tools/list_changed is not a new addition but present at least since MCP Spec 2024-11-05: https://modelcontextprotocol.io/specification/2024-11-05/server/tools#list-changed-notification

Additional information

Other popular CLI agents already support this:

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗