Expose MCP resource read calls to Codex CLI agents
Resolved 💬 0 comments Opened Oct 8, 2025 by CaliLuke Closed Oct 8, 2025
Summary
The Codex CLI agent surface exposes wrappers for MCP tools (e.g., better.remember, better.recall, better.update_memory) but does not expose any way to call MCP resources (e.g., resources/read resource://settings/current). The MCP handshake advertises resources, yet the CLI environment only maps tool invocations—there is no corresponding function for resource reads.
Impact
- Codex CLI agents cannot programmatically fetch MCP resources despite them being listed during handshake.
- Users must manually retrieve resources outside the CLI even when running the same agent, creating capability gaps and confusion.
Expected behavior
Provide an API (similar to the existing tool wrappers) that allows agents to invoke MCP resource reads directly, so agents can consume MCP resources without human intervention.
Thanks!