beerman
beerman4w ago

adding convex mcp to windsurf with pnpm?

pnpm dlx -y convex@latest mcp start
This error happened while installing a direct dependency of /Users/jakubdonovan/Library/pnpm/store/v3/tmp/dlx-38333
9 Replies
Convex Bot
Convex Bot4w ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI. - Avoid tagging staff unless specifically instructed. Thank you!
ballingt
ballingt4w ago
hm I can't repro, any more details?
beerman
beermanOP4w ago
{
"mcpServers": {
"convex": {
"command": "pnpm dlx",
"args": ["-y", "convex@latest", "mcp", "start"]
}
}
}
{
"mcpServers": {
"convex": {
"command": "pnpm dlx",
"args": ["-y", "convex@latest", "mcp", "start"]
}
}
}
I'm able to pnpm dlx convex dev just fine though
No description
ballingt
ballingt4w ago
You can't use "pnpm dlx" as a command, the command is "pnpm" and the args are ["dlx", "-y", "convex@latest", "mcp", "start"] although I don't know what the -y is for
beerman
beermanOP4w ago
hmm, tried without the y as well
No description
No description
ballingt
ballingt4w ago
Can you try running it separately? pnpm dlx convex@latest mcp start works in a terminal for me, I don't know what that -y is for but it doesn't work for me
beerman
beermanOP4w ago
Yep, this was the first thing I tried. I'm not sure what's supposed to happen after running it but at least the command doesn't fail in the terminal
No description
ballingt
ballingt4w ago
nice, looks good have you tried it without the -y in your editor?
beerman
beermanOP4w ago
yes

Did you find this page helpful?