Skip to main content
Glama

Cursor Agent MCP Server

by sailay1996

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
cursor_agent_chat

Chat with cursor-agent using a prompt and optional model/force/output_format.

cursor_agent_edit_file

Edit a file with an instruction. Prompt-based wrapper; no CLI subcommand required.

cursor_agent_analyze_files

Analyze one or more paths; optional prompt. Prompt-based wrapper.

cursor_agent_search_repo

Search repository code with include/exclude patterns. Prompt-based wrapper.

cursor_agent_plan_task

Generate a plan for a goal with optional constraints. Prompt-based wrapper.

cursor_agent_raw

Advanced: provide raw argv array to pass after common flags (e.g., ["search","--query","foo"]).

cursor_agent_run

Run cursor-agent with a prompt and desired output format (legacy single-shot).

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

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