core-agent-ide/codex-rs/rmcp-client/src
nicholasclark-openai b14689df3b
Forward session and turn headers to MCP HTTP requests (#15011)
## Summary
- forward request-scoped task headers through MCP tool metadata lookups
and tool calls
- apply those headers to streamable HTTP initialize, tools/list, and
tools/call requests
- update affected rmcp/core tests for the new request_headers plumbing

## Testing
- cargo test -p codex-rmcp-client
- cargo test -p codex-core (fails on pre-existing unrelated error in
core/src/auth_env_telemetry.rs: missing websocket_connect_timeout_ms in
ModelProviderInfo initializer)
- just fix -p codex-rmcp-client
- just fix -p codex-core (hits the same unrelated auth_env_telemetry.rs
error)
- just fmt

---------

Co-authored-by: Codex <noreply@openai.com>
2026-03-18 21:29:37 -07:00
..
bin Fix MCP tool calling (#14491) 2026-03-12 13:38:52 -07:00
auth_status.rs Apply argument comment lint across codex-rs (#14652) 2026-03-16 16:48:15 -07:00
lib.rs use scopes_supported for OAuth when present on MCP servers (#14419) 2026-03-12 11:57:06 -07:00
logging_client_handler.rs [elicitations] Switch to use MCP style elicitation payload for mcp tool approvals. (#13621) 2026-03-06 01:50:26 -08:00
oauth.rs Validate CODEX_HOME before resolving (#10249) 2026-01-30 15:46:33 -08:00
perform_oauth_login.rs Apply argument comment lint across codex-rs (#14652) 2026-03-16 16:48:15 -07:00
program_resolver.rs fix: resolve Windows MCP server execution for script-based tools (#3828) 2025-11-16 13:41:10 -08:00
rmcp_client.rs Forward session and turn headers to MCP HTTP requests (#15011) 2026-03-18 21:29:37 -07:00
utils.rs [rmcp-client] Recover from streamable HTTP 404 sessions (#13514) 2026-03-06 10:02:42 -05:00