Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CURSOR_API_KEYYesUser API key, required for all operations
CURSOR_MCP_HOSTNoHTTP bind address127.0.0.1
CURSOR_MCP_PORTNoHTTP port11000
CURSOR_INBOX_DIRNoMessage drop directory~/.cursor-mcp/inbox/
CURSOR_USAGE_EMAILNoFilter spend by email
CURSOR_ADMIN_API_KEYNoTeam admin API key, optional but required for spend/events endpoints
CURSOR_RUNNING_AGENTS_WARNNoParallel agents warning count3
CURSOR_ON_DEMAND_WARN_CENTSNoOn-demand spend warning threshold in cents2000
CURSOR_HOURLY_SPEND_WARN_CENTSNoHourly spend warning threshold in cents300

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
cursor_usageA

Cursor billing and spend guardrails (read-only).

Requires CURSOR_API_KEY. Admin endpoints also accept CURSOR_ADMIN_API_KEY (crsr_ team key). Use alert_check on a schedule (e.g. Fritz every 2h) instead of manual dashboard checks.

cursor_cloudA

List and inspect Cursor cloud agents (read-first; cancel is gated).

Runaway spend often correlates with many parallel cloud agents — list often.

cursor_docsB

Return fleet-curated Cursor documentation snippets.

cursor_sdkA

Fleet-curated @cursor/sdk / cursor-sdk guidance (read-only, no agent spawn).

Jun 2026 SDK release: custom tools, auto-review, JSONL stores, nested subagents. Use before writing new headless automation — complements cursor_docs topics.

cursor_inboxA

Inter-agent message drop for Cursor agents.

Any process writes a message to the shared inbox dir (CURSOR_INBOX_DIR). The Cursor agent calls cursor_inbox to poll, read, and acknowledge.

Typical flow:

  • Claude Desktop / meta_mcp / a script calls 'post' to leave a heads-up.

  • Cursor agent calls 'list' at task start to check for waiting messages.

  • Cursor agent calls 'read' for detail, then 'ack' when handled.

  • Periodic 'purge' to clean old acked messages.

No daemon, no network — pure filesystem. Default dir: ~/.cursor-mcp/inbox/ Override with CURSOR_INBOX_DIR env var.

cursor_helpA

List cursor-mcp tools and setup.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/sandraschi/cursor-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server