-
Notifications
You must be signed in to change notification settings - Fork 3.3k
fix: use cmd
for windows MCP connections
#5631
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
✅ Deploy Preview for continuedev canceled.
|
Could add docker one not sure if needed might be worth an extra peek. Half of our featured MCP servers are docker command |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Beautiful
@@ -232,14 +280,14 @@ class MCPConnection { | |||
]); | |||
} catch (error) { | |||
// Otherwise it's a connection error | |||
let errorMessage = `Failed to connect to MCP server ${this.options.name}`; | |||
let errorMessage = `Failed to connect to "${this.options.name}"\n`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick - new line should be at beginning of additions, not here
Description
Resolves #4913 #4874 #4791
When connecting to an MCP server via
StdioClientTransport
on Windows, we need to execute commands such asnpx
anduvx
through thecmd.exe
interpreter.Testing instructions
Summary by mrge
Fixed MCP server connections on Windows by running batch commands like
npx
anduvx
throughcmd.exe
to ensure proper execution.