You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
MCP tools return 'unsupported call' with custom Responses API provider (llama.cpp) #26977
appIssues related to the Codex desktop appbugSomething isn't workingcustom-modelIssues related to custom model providers (including local models)mcpIssues related to the use of model context protocol (MCP) serverstool-callsIssues related to tool calling
API keys valid (HTTP 200 from both tavily and firecrawl endpoints) ✅
What we tried (nothing helped)
npm_config_cache=/tmp/.npm-cache env var
Global npm install + absolute binary path instead of npx
Various sandbox configurations
Different model variants
Patched llama.cpp to flatten namespace tools (tools now properly sent to model)
--reasoning on/off on llama-server
Analysis
list_mcp_resources works (returns empty resources) but individual MCP tool calls fail.
This suggests the MCP server process lifecycle management differs for custom providers vs OpenAI.
When using custom provider with responses wire_api, Codex may not spawn MCP server processes
or the communication channel isn't established.
Related
Companion issue filed on llama.cpp for namespace/web_search handling.
It fixes the custom Responses-provider path by flattening Codex MCP namespace tools for llama.cpp and restoring them on the way back, and it also normalizes native apply_patch, tool history replay, SSE events, reasoning, and compaction. My primary test case is local Qwen on llama.cpp with Codex CLI/IDE.
Since this issue specifically uses Qwen3.6-27B + llama.cpp, it should be a close match. The repo includes an automatic installer and doctor.py so it can be tested without replacing the user's normal Codex config.
appIssues related to the Codex desktop appbugSomething isn't workingcustom-modelIssues related to custom model providers (including local models)mcpIssues related to the use of model context protocol (MCP) serverstool-callsIssues related to tool calling
Activity
github-actions commentedon Jun 8, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Aydin-ab commentedon Jul 9, 2026
Hi I face the same issue, same model, setup, but with brave search MCP
Did you manage to solve it ?
docs(part2): correct codex-workspace MCP comment (openai/codex#26977)
docs(part2): correct codex-workspace MCP comment (openai/codex#26977)
docs(codex): document MCP tool 'unsupported call' bug with custom pro…
madmax24-ubuntu commentedon Aug 18, 2026
For anyone still hitting this with llama.cpp/Qwen, I published the compatibility proxy I ended up using in production: https://github.com/madmax24-ubuntu/codex-proxy-llama.cpp
It fixes the custom Responses-provider path by flattening Codex MCP namespace tools for llama.cpp and restoring them on the way back, and it also normalizes native
apply_patch, tool history replay, SSE events, reasoning, and compaction. My primary test case is local Qwen on llama.cpp with Codex CLI/IDE.Since this issue specifically uses Qwen3.6-27B + llama.cpp, it should be a close match. The repo includes an automatic installer and
doctor.pyso it can be tested without replacing the user's normal Codex config.