[MCP] Remove the legacy stdio client in favor of rmcp (#5529)

I haven't heard of any issues with the studio rmcp client so let's
remove the legacy one and default to the new one.

Any code changes are moving code from the adapter inline but there
should be no meaningful functionality changes.
This commit is contained in:
Gabriel Peal
2025-10-22 12:06:59 -07:00
committed by GitHub
parent dd59b16a17
commit 4cd6b01494
11 changed files with 39 additions and 799 deletions

View File

@@ -451,11 +451,7 @@ When both `enabled_tools` and `disabled_tools` are specified, Codex first restri
#### Experimental RMCP client
Codex is transitioning to the [official Rust MCP SDK](https://github.com/modelcontextprotocol/rust-sdk).
This flag enables OAuth support for streamable HTTP servers and switches STDIO servers over to the new client implementation.
Please try and report issues with the new client. To enable it, add this to the top level of your `config.toml`
This flag enables OAuth support for streamable HTTP servers.
```toml
experimental_use_rmcp_client = true