cursor-api-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@cursor-api-mcplist my cloud agents"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
cursor-api-mcp
MCP server for the Cursor HTTP APIs.
By default the server exposes read and write tools (Cloud Agents + Team/Org Admin +
Analytics + Bugbot + AI Code Tracking + Fleet). Pass --read-only (or set
CURSOR_API_READ_ONLY=true) to register only fetch/query tools.
Install
git clone https://github.com/PhillipChaffee/cursor-api-mcp.git
cd cursor-api-mcp
uv syncCreate an API key at cursor.com/dashboard/api.
Related MCP server: cursor-mcp
Run
# Full access (read + write)
CURSOR_API_KEY=crsr_... uv run cursor-api-mcp
# Read-only (write tools are not registered)
CURSOR_API_KEY=crsr_... uv run cursor-api-mcp --read-only
# Same via env
CURSOR_API_KEY=crsr_... CURSOR_API_READ_ONLY=true uv run cursor-api-mcpCursor MCP config
Merge into ~/.cursor/mcp.json (do not replace existing servers).
Read-only (recommended default):
{
"mcpServers": {
"cursor-api": {
"command": "uv",
"args": [
"run",
"--directory",
"/ABS/PATH/TO/cursor-api-mcp",
"cursor-api-mcp",
"--read-only"
],
"env": {
"CURSOR_API_KEY": "crsr_YOUR_KEY_HERE"
}
}
}
}Full read/write — omit --read-only / CURSOR_API_READ_ONLY:
{
"mcpServers": {
"cursor-api": {
"command": "uv",
"args": [
"run",
"--directory",
"/ABS/PATH/TO/cursor-api-mcp",
"cursor-api-mcp"
],
"env": {
"CURSOR_API_KEY": "crsr_YOUR_KEY_HERE"
}
}
}
}Reload MCP in Cursor Settings → MCP after editing.
Tools
Cloud Agents (all plans, user API key)
Tool | API |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Write (disabled with --read-only):
Tool | API |
|
|
|
|
|
|
|
|
|
|
|
|
Fleet / private workers (service-account key)
Tool | API |
|
|
|
|
|
|
|
|
Team Admin (Enterprise)
Tool | API |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Write:
Tool | API |
|
|
|
|
| blocklist mutate |
| groups |
| group members |
Organization Admin (Enterprise org key)
Tool | API |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Write:
Tool | API |
|
|
|
|
|
|
Analytics (Enterprise)
Tool | API |
|
|
|
|
metric is allowlisted (e.g. agent-edits, tabs, dau, models, bugbot,
bugbot-reviews, conversation-insights, …). See tool docstrings for the full lists.
AI Code Tracking (Enterprise, alpha)
Tool | API |
|
|
|
|
|
|
|
|
|
|
Bugbot (Enterprise)
Tool | API |
|
|
Write:
Tool | API |
|
|
|
|
|
|
Safety
Prefer
--read-onlyunless you need mutations.Use the narrowest API key scope that covers your tools.
Never commit
.envor paste API keys into chat / git./v1/repositoriesis rate-limited (~1/min); avoid polling loops.create_worker_tokenredactsaccessTokenin tool results (mint raw JWTs outside MCP).stream_agent_runbuffers SSE until close/timeout — preferget_agent_runfor watches.CSV download tools return the body as
csv_text(can be large).
Development
uv sync --extra dev
uv run pytestLicense
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/PhillipChaffee/cursor-api-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server