MCP server config error

Resolved 💬 2 comments Opened Aug 7, 2025 by yaroslavyaroslav Closed Aug 11, 2025
💡 Likely answer: A maintainer (yaroslavyaroslav, contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

0.14

Which model were you using?

gpt-5

What platform is your computer?

Darwin 25.0.0 arm64 arm

What steps can reproduce the bug?

On codex 0.14 codex throws error on each MCP server init for anyone that it worked with on 0.10. The log below. Configuration of servers made according to this man https://github.com/openai/codex/blob/main/codex-rs/config.md#mcp_servers.

For each of the given servers I've tried it misses one field or another.

[mcp_servers.dash]
command = "uvx"
args = ["--from", "git+https://github.com/Kapeli/dash-mcp-server.git", "dash-mcp-server"]

What is the expected behavior?

_No response_

What do you see instead?

Despite codex is trying to call tool, seems like some of methods unavailable.

2025-08-07T21:43:24.620027Z DEBUG Submission sub=Submission { id: "1", op: GetHistoryEntryRequest { offset: 182, log_id: 251245680 } }
2025-08-07T21:43:25.307921Z DEBUG Submission sub=Submission { id: "2", op: UserInput { items: [Text { text: "What method in pytorch for train?" }] } }
2025-08-07T21:43:25.307947Z DEBUG Submission sub=Submission { id: "3", op: AddToHistory { text: "What method in pytorch for train?" } }
2025-08-07T21:43:25.307964Z DEBUG Recording items for conversation: [Message { id: None, role: "user", content: [InputText { text: "What method in pytorch for train?" }] }]
2025-08-07T21:43:25.307985Z DEBUG Recording items for conversation: []
2025-08-07T21:43:25.308054Z ERROR Failed to convert "dash__search_documentation" MCP tool to OpenAI tool: Error("missing field `type`", line: 0, column: 0)
2025-08-07T21:43:25.308179Z DEBUG starting new connection: https://api.openai.com/    
2025-08-07T21:43:25.311154Z DEBUG connecting to 172.66.0.243:443
2025-08-07T21:43:25.331636Z DEBUG connected to 172.66.0.243:443
2025-08-07T21:43:33.341675Z DEBUG sse event other="response.content_part.added"
2025-08-07T21:43:33.341767Z DEBUG Output item item=Reasoning { id: "rs_68951dff33ec8198a76deced47ead1690213d63c1ee9d054", summary: [], content: None, encrypted_content: None }

Additional information

_No response_

View original on GitHub ↗

2 Comments

yaroslavyaroslav contributor · 1 year ago

Just to emphasize this bit: PR with the fix is right on top of this comment.

ngc1514 · 1 year ago

Thank you

Can confirm this also fixed issues with other MCP like Godot MCP. Similar errors in codex log:

ERROR [0m Failed to convert "godot__add_node" MCP tool to OpenAI tool: Error("missing field `properties`", line: 0, column: 0)

git checkout 663addf414f966c04631cf448e12dca04ebe4c4a ~/codex/codex-rs/core/src/openai_tools.rs