The system cannot find the file specified" error when mcp-cli calls npx-based MCP servers #146
Unanswered
LIN-Xing-RU
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Problem Description
I'm encountering a "The system cannot find the file specified" error when mcp-cli tries to call MCP servers that use
npxcommand. However, the exact same configuration works perfectly in Claude Desktop.Current Configuration
Here's my
server_config.json:{ "mcpServers": { "filesystem": { "command": "npx", "args": ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/allowed/files"], "env": {} }, "puppeteer": { "command": "npx", "args": [ "-y", "@modelcontextprotocol/server-puppeteer" ] } } }Error Details
Environment Information
Beta Was this translation helpful? Give feedback.
All reactions