Skip to main content
Glama
lipey1

Cursor Agent MCP

by lipey1

cursor_agent_raw

Execute Cursor Agent CLI with raw arguments for advanced repository-aware tasks such as search, analysis, and code changes without prompts.

Instructions

Advanced: raw argv after common flags (e.g. ["--help"]). print defaults to false.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdNo
argvYes
forceNoPass --force / --yolo so the agent can run shell without prompts. Env: CURSOR_AGENT_FORCE.
modelNoModel id for the CLI (e.g. auto, gpt-5, composer-2). Overrides CURSOR_AGENT_MODEL.
printNo
trustNoPass --trust (default true). Env: CURSOR_AGENT_TRUST.
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
Behavior2/5

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

No annotations are present, so the description must fully disclose behavior. It only mentions that 'print defaults to false' and gives an example of argv. There is no information about side effects, return values, or what happens with the provided arguments.

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

Conciseness3/5

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

The description is extremely concise (one sentence), but it sacrifices clarity and completeness. While brevity is good, critical information is missing.

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

Completeness1/5

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

Given the tool's complexity (13 parameters, no output schema, no annotations), the description is grossly incomplete. It does not explain how to construct the argv, what the tool outputs, or handle errors. This is inadequate for effective tool selection and use.

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

Parameters1/5

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

Schema description coverage is 46%, meaning the schema describes 6 of 13 parameters. The description adds almost no value beyond the schema, only noting that 'print defaults to false'. For a tool with many parameters, this is insufficient.

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

Purpose3/5

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

The description states it's an 'Advanced' tool for passing raw argv after common flags, and mentions a default for 'print'. However, it does not clearly differentiate from sibling tools like cursor_agent_chat or cursor_agent_run, leaving ambiguity about its specific purpose.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives. The description lacks any context about appropriate use cases, prerequisites, or when not to use it.

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