Cursor MCP server

SandBase in Cursor. One command, then /sandbase.

The SandBase CLI adds an MCP server entry to Cursor after you approve a browser sign-in. Cursor can then discover, inspect and run models and APIs from one balance.

Set up in three steps.

Needs Node.js 20 or newer. You approve the sign-in in your browser. Never paste an API key into the chat.

What the setup changes.

The CLI edits only the entry it owns and leaves an existing sandbase entry it did not create untouched.

The config entry
A sandbase server in ~/.cursor/mcp.json that starts a local Node bridge. It holds no API key.
Cursor CLI
cursor-agent reads the same ~/.cursor/mcp.json. Connect it with --client cursor-cli and check it with cursor-agent mcp list.
Your credential
Stored separately under ~/.sandbase by the CLI sign-in, not in mcp.json.
Cost
Connecting, discovering and inspecting are free. sandbase_run is billed at the price the inspect step shows, and failed calls are not charged.
Remove it
Run sandbase unregister --client cursor. It removes only the managed entry.

Related.

Questions people ask.

How do I add an MCP server to Cursor?

For SandBase, run npx -y @sandbaseai/cli@latest connect --client cursor, approve the sign-in in your browser, and restart Cursor. The CLI writes a sandbase entry to ~/.cursor/mcp.json.

Where is the Cursor MCP config file?

The user-level file is ~/.cursor/mcp.json. Cursor CLI (cursor-agent) reads the same file.

Does it cost anything?

Connecting, discovering and inspecting are free. Only running a model or API is billed, and failed calls are not charged.

Is my API key written to mcp.json?

No. The entry starts a local bridge that reads its credential from a separate file under ~/.sandbase.

Give Cursor the catalog.

Connect once, then ask for the data or media you need.

Get API key

SandBase is not affiliated with Anysphere. Cursor is a trademark of its owner. Behavior was checked against the SandBase CLI source on 2026-11-24 (UTC) and may change.