Skip to content
mcp
Install guide · Cursor

Install mcp for Cursor

Cursor reads ~/.cursor/mcp.json. A project can also commit .cursor/mcp.json.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

  1. Open ~/.cursor/mcp.json on macOS, %USERPROFILE%\.cursor\mcp.json on Windows, or ~/.cursor/mcp.json on Linux.

  2. Paste the JSON config below.

  3. Replace placeholder secrets, then restart the client if it does not reload on its own.

~/.cursor/mcp.json
{  "mcpServers": {    "extensiondev-mcp": {      "command": "npx",      "args": [        "-y",        "@extension.dev/mcp@12.0.0"      ],      "env": {        "EXTENSION_DEV_FEATURES": "local",        "EXTENSION_DEV_NO_SHIP": "",        "EXTENSION_DEV_PROJECT": "",        "EXTENSION_DEV_TOKEN": "YOUR_EXTENSION_DEV_TOKEN",        "EXTENSION_DEV_API_URL": "",        "EXTENSION_DEV_NO_AUTO_OPEN": "",        "EXTENSION_DEV_NO_SKILL": "",        "EXTENSION_DEV_NO_TELEMETRY": "",        "DO_NOT_TRACK": "",        "EXTENSION_MCP_CLI_VERSION": "",        "EXTENSION_MCP_ENGINE_DIR": "",        "EXTENSION_MCP_ENGINE_BIN": "",        "EXTENSION_HEADLESS": "",        "EXTENSION_BROWSER_FLAGS": "",        "EXT_BROWSERS_CACHE_DIR": "",        "EXTENSION_MCP_SESSION_DIR": "",        "EXTENSION_TRY_DIR": "",        "EXTENSION_ISOLATED_DIR": "",        "EXTENSION_KEEP_SOCKET_PROCESS": ""      }    }  }}

Where the config lives

SystemPath
macOS~/.cursor/mcp.json
Windows%USERPROFILE%\.cursor\mcp.json
Linux~/.cursor/mcp.json