Skip to content

Connect Cursor & VS Code

~/.cursor/mcp.json, or .cursor/mcp.json in a repository:

{
"mcpServers": {
"<name>": { "url": "https://<name>-mcp.deemwar.com/mcp" }
}
}

.vscode/mcp.json:

{
"servers": {
"<name>": { "type": "http", "url": "https://<name>-mcp.deemwar.com/mcp" }
}
}

On the same machine (dmcp terminal serve, no –publish)

Section titled “On the same machine (dmcp terminal serve, no –publish)”

Add a header to the same entry:

{ "url": "http://127.0.0.1:8765/mcp", "headers": { "Authorization": "Bearer <local token>" } }

(VS Code keeps "type": "http" in the entry.)

The local token comes from dmcp token --local. dmcp terminal connect --client cursor prints these lines with your values filled in.