MCP server for Cursor's Background Agents API.
- Install dependencies:
bun install- Create a
.envfile and set your API key:
echo "CURSOR_API_KEY=your-api-key-here" > .envAdd to your Cursor MCP settings:
{
"mcpServers": {
"cursor": {
"command": "node",
"args": ["run", "/path/to/cursor-mcp-server/index.js"],
"envFile": ".env"
}
}
}MIT