Cursor supports MCP servers just like Claude Desktop. Here's how to configure it:
The location depends on your OS:
- macOS:
~/Library/Application Support/Cursor/User/globalStorage/mcp.json - Linux:
~/.config/Cursor/User/globalStorage/mcp.json - Windows:
%APPDATA%\Cursor\User\globalStorage\mcp.json
Alternatively, you can access it through Cursor:
- Open Cursor Settings (Cmd/Ctrl + ,)
- Search for "MCP" or "Model Context Protocol"
- Look for MCP server configuration
Add your Schematic MCP server to the configuration:
{
"mcpServers": {
"schematic": {
"command": "node",
"args": ["/absolute/path/to/schematic-mcp/dist/index.js"],
"env": {
"SCHEMATIC_API_KEY": "your-api-key-here"
}
}
}
}Important: Use the absolute path to dist/index.js, not a relative path.
On macOS/Linux:
cd /Users/ryanechternacht/github/developers/schematic-mcp
pwd
# Use this path + /dist/index.jsOr use this one-liner:
echo "$(pwd)/dist/index.js"After adding the configuration, restart Cursor completely (not just reload the window).
Once configured, you can test by:
-
Open the Cursor Chat/Composer
-
Ask about available tools:
- "What MCP tools do you have available?"
- "What tools are available for Schematic?"
-
Try using the tools:
- "List all my plans in Schematic"
- "What plan is company X on?"
- "Get information about company Y"
To verify Cursor can see your server:
- Check Cursor's developer console/logs for MCP connection messages
- Try asking Cursor to list available tools
- If tools appear, the server is connected correctly
After making changes to your MCP server:
-
Rebuild the server:
npm run build
-
Try using the tool again:
- Cursor may automatically pick up the changes on the next tool call
- The server process may be restarted automatically when needed
-
If changes don't appear:
- Try reloading the Cursor window (
Cmd/Ctrl + R) - Or fully restart Cursor if needed
- Try reloading the Cursor window (
Note: Cursor may handle MCP server reloads automatically. For most code changes, just rebuilding should be enough. Only configuration changes (like adding/removing tools) might require a full Cursor restart.
- Check the path: Must be absolute, pointing to
dist/index.js - Verify build: Run
npm run buildto ensuredist/index.jsexists - Check permissions: Ensure the file is executable
- Set in config: Add
SCHEMATIC_API_KEYin theenvsection - Or use config file: Create
~/.schematic-mcp/config.jsonas fallback
- Restart Cursor: Full restart, not just reload
- Check logs: Look for MCP errors in Cursor's developer console
- Verify server starts: Test with
node dist/index.jsmanually
- Did you rebuild? Run
npm run buildafter code changes - Did you fully restart? Cursor must be completely quit and reopened
- Check the path: Make sure Cursor is pointing to the updated
dist/index.js
Some versions of Cursor may have a UI for MCP configuration:
- Open Settings (Cmd/Ctrl + ,)
- Search for "MCP" or "Model Context Protocol"
- Look for "MCP Servers" section
- Add your server through the UI if available
- Server builds successfully (
npm run build) - Configuration file created/updated
- Absolute path to
dist/index.jsis correct -
SCHEMATIC_API_KEYis set in config - Cursor restarted completely
- Tools appear when asking Cursor
- Tools can be called successfully