Skip to main content
Glama
lipey1

Cursor Agent MCP

by lipey1

cursor_agent_start

Starts a long-running prompt in the background and returns a job ID. Poll with the check tool to retrieve results.

Instructions

Start a long-running prompt in the background; returns job_id immediately. Poll with cursor_agent_check.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdNo
forceNoPass --force / --yolo so the agent can run shell without prompts. Env: CURSOR_AGENT_FORCE.
labelNo
modelNoModel id for the CLI (e.g. auto, gpt-5, composer-2). Overrides CURSOR_AGENT_MODEL.
trustNoPass --trust (default true). Env: CURSOR_AGENT_TRUST.
promptYes
api_keyNoCursor API key (crsr_…). Prefer CURSOR_API_KEY / CURSOR_AGENT_API_KEY in MCP env.
config_dirNoExplicit CURSOR_CONFIG_DIR override. Implies isolated config for this call.
executableNo
extra_argsNo
bare_configNoUse an isolated CURSOR_CONFIG_DIR (~/.cursor-agent-mcp by default) so the CLI does not load user MCPs/plugins. Much faster startup. Env: CURSOR_AGENT_BARE_CONFIG=1.
echo_promptNo
output_formatNotext
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations exist, so the description carries full burden. It discloses async behavior and polling, but lacks details on side effects, authentication needs, or rate limits. Adequate but not comprehensive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences front-load the purpose and immediate follow-up action. No wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 13 parameters and no output schema, the description is minimal. It explains the basic flow but omits usage patterns and return value details beyond 'returns job_id immediately'. Adequate but could be more complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 46%, and the tool description adds no information about parameters. The description does not compensate for the uncovered parameters, leaving gaps despite the schema itself having some descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'Start', the resource 'long-running prompt', and the key behavior: background execution with immediate job_id return. It also references a sibling tool for polling, differentiating itself.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description mentions polling with cursor_agent_check, implying asynchronous use, but does not explicitly state when to use this tool versus other siblings like cursor_agent_run or cursor_agent_chat. No when-not-to-use guidance is provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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

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