noob saibot
noob saibot2w ago

Convex MCP unable the find the CONVEX_DEPLOYMENT key on Cursor

Hi all. I'm making my first steps with Convex MCP so perhaps I'm just making a silly mistake. I have followed to tutorial (https://stack.convex.dev/convex-mcp-server) on how to setup the convex mcp. (the convex server is enable and lit up green). I'm using gemini-2.5-pro. Then my first query was: "hey, can you look at the inferred schema in my convex deployment and see if I have any redundant fields?" To this, the response was: "It looks like there's no CONVEX_DEPLOYMENT environment variable set. This is needed to connect to your Convex backend." I, then, indicated that there is a .env.localfile with the variable. Then there was a back and forth with the model, trying to help it use the variable... The documentation mentions the "status" tool that should help the model to query which deployment it has access to. Maybe there is something extra I should do related to the status tool I'm not aware of? Apologies if this is a silly misunderstanding on my part.
Convex MCP Server
Convex now supports a powerful MCP server that lets you introspect your deployment's state, run functions, and read and write data.
2 Replies
Convex Bot
Convex Bot2w 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!
noob saibot
noob saibotOP2w ago
Issue resolved

Did you find this page helpful?