Mesh MCP Setup
Access Mesh docs and get coding help directly in your editor
Use Mesh MCP to access Mesh docs and get coding/debugging help directly in VS Code, Cursor, or Claude Desktop.
Quick Install (Cursor)
If you're using Cursor, you can install Mesh MCP with one click:
Note: After clicking the button, you'll need to configure your API_KEY and MODEL environment variables in Cursor's MCP settings.
CLI Setup (Claude Desktop)
If you have the claude CLI installed, you can add Mesh MCP with:
claude mcp add-json mesh-mcp '{
"command": "npx",
"args": ["-y", "meshjs-mcp"],
"env": {
"API_KEY": "your-api-key",
"MODEL": "your-preferred-model"
}
}'Manual Setup
Add this to your MCP server settings:
{
"servers": {
"mesh-mcp": {
"name": "mesh-mcp-server",
"command": "npx",
"args": ["-y", "meshjs-mcp"],
"env": {
"API_KEY": "your-api-key",
"MODEL": "your-preferred-model"
}
}
}
}Setup Notes
-
Replace your-api-key with your API key from the supported providers (OpenAI, Gemini, or Anthropic Claude).
-
Set MODEL to the model you want to use from respective provider.
-
Restart your editor after saving the config.
-
Start the server manually (restarting alone doesn't run it):
- VS Code: Open Command Palette (Cmd+Shift+P), search "MCP: List Servers", select "mesh-mcp", and choose "Run Server".
- Cursor: Similar to VS Code, use the MCP extension's list servers command to run it.
- Claude Desktop: The server should start automatically on launch if configured correctly in settings; check the MCP logs if issues arise.
-
Get help to code faster with Mesh MCP and AI editor
Example
