MCPcopy Index your code
hub / github.com/ericzakariasson/cursor-mcp-server

github.com/ericzakariasson/cursor-mcp-server @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
3 symbols 12 edges 4 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Cursor Background Agents MCP Server

MCP server for Cursor's Background Agents API.

Setup

  1. Install dependencies:
bun install
  1. Create a .env file and set your API key:
echo "CURSOR_API_KEY=your-api-key-here" > .env

Configure in Cursor

Add to your Cursor MCP settings:

{
  "mcpServers": {
    "cursor": {
      "command": "node",
      "args": ["run", "/path/to/cursor-mcp-server/index.js"],
      "envFile": ".env"
    }
  }
}

License

MIT

Core symbols most depended-on inside this repo

makeCursorApiRequest
called by 14
src/api-client.ts
main
called by 1
src/index.ts
createMCPServer
called by 1
src/server.ts

Shape

Function 3

Languages

TypeScript100%

Modules by API surface

src/server.ts1 symbols
src/index.ts1 symbols
src/api-client.ts1 symbols

For agents

$ claude mcp add cursor-mcp-server \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact