Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
hey everyone, not sure why but i’m unable to add MCP servers in codex when using cursor.
I’m trying to add 2 different MCP servers which is context7 and shadcn.
However, this errors keep showing up:
■ MCP client for shadcn-ui
failed to start: program not found
■ MCP client for context7
failed to start: program not found
This is in the codex cli within cursor.
not experienced in any way and have been trying to fix it but no progress.
has anyone solved this issue?
Steps to Reproduce
[mcp_servers.context7]
command = “npx”
args = [“-y”, “@upstash/context7-mcp”]
[mcp_servers.shadcn-ui]
command = “npx”
args = [“-y”, “@jpisnice/shadcn-ui-mcp-server”]
env = { “API_KEY” = “xxx” }
This is what i added in the config
Expected Behavior
Not supposed to show errors and connected to mcp
Screenshots / Screen Recordings
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
Version: 1.6.42
VSCode Version: 1.99.3
Commit: 5911e9593196a000b1c00553aaf03b0b32042b90
Date: 2025-09-20T17:16:56.346Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100
For AI issues: which model did you use?
Codex Chat + CLI
Does this stop you from using Cursor
No - Cursor works, but with this issue