I'm unable the use convex mcp in cursor: it can't find the deployment
===
It looks like there is no Convex deployment currently configured in your project (the CONVEX_DEPLOYMENT environment variable is not set). To use Convex MCP tools and query the latest payment deposits, you'll need to start your Convex dev server and ensure your project is properly configured.
Here's what you should do:
Run npx convex dev in your project root to start the Convex dev server and set up the deployment.
Once that's running, let me know, and I can fetch and show you the 10 latest payment deposits using Convex MCP.
Would you like instructions on how to set up Convex, or do you want to proceed and let me know when it's ready?
===
But I have the .env.local in the repo with the proper variables set (since I've been using convex in my dev workflow for hover a year now). Even when I run "npx convex dev", still it is unable to run my query. Then I directly provided the env variable in the chat. And this is it response:
===
Even with the provided deployment values, the MCP tools are still unable to detect the Convex deployment in this environment. This suggests that the environment variables may not be loaded into the current shell or process where the tools are running.
To resolve this:
Make sure your .env.local file is in the correct directory and contains the provided values.
Restart your terminal or development environment to ensure the environment variables are loaded.
Alternatively, you can export the variables directly in your terminal before running any commands
===
Maybe I'm doing something wrong or I haven't figured out how to properly use a mcp tool?...Thanks for your assistance
P.S. I have faced the same issue a couple of weeks ago, reported it here. Then it just went away and started working...Now it's back
