πβ MCP client for `context7` failed to start: missing field `user_agent`
Resolved π¬ 8 comments Opened Sep 10, 2025 by wbdb Closed Sep 10, 2025
π‘ Likely answer: A maintainer (gpeal, contributor)
responded on this thread β see the highlighted reply below.
What version of Codex is running?
32.0
Which model were you using?
GPT-5
What platform is your computer?
Windows 11 / Ubuntu 24 LTS WSL2
What steps can reproduce the bug?
nano ~/.codex/config.toml
[mcp_servers.context7]
command = "npx"
args = ["-y", "@upstash/context7-mcp"]
or
[mcp_servers.context7]
command = "npx"
args = ["-y", "@upstash/context7-mcp"]
user_agent = "Codex CLI"
What is the expected behavior?
Setting a user agent should be optional or must be documented.
What do you see instead?
πβ MCP client for context7 failed to start: missing field user_agent
Additional information
- Source of error: https://github.com/openai/codex/pull/3395
- Temporary workaround: Return to the previous version
npm install -g @openai/codex@0.31.0
8 Comments
I have the feeling that OpenAI is no longer testing at all and is simply closing bugs. See also the history at: https://github.com/openai/codex/issues/2555 . I am a paying corporate customer. We have to be able to rely on the versions.
I also came here to create an issue because of this problem.
Itβs a problem that appears immediately upon execution, so itβs not good that a release was made.
For now, I will have to install and use the previous version.
This issue ruined my marriage andshe took the Claude Code with her this time. it's over for real so now what?? Thanks openai
No they use their own AI to fix issues. That's the result π€£π€£π€£π€£π€£
@tmeckel That wouldn't be a bad thing. Codex CLI and GPT-5 are very good. But then you also have to run automatic tests on virtual machines with two or three operating systems and the most common MCPs. That should be mandatory for such corporations.
@wbdb I agree but I suspect that OpenAI nor Microsoft or any other company using AI is doing this.
This is fixed in 0.34
confirmed to be working in 0.34
thnx!