Skip to main content
Glama

Cursor Agent MCP Server

by sailay1996

cursor_agent_run

Execute cursor-agent commands with specified prompts and output formats to optimize repository analysis, code search, and file editing, reducing token usage and enhancing task efficiency.

Instructions

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

Input Schema

NameRequiredDescriptionDefault
cwdNo
executableNo
extra_argsNo
forceNo
modelNo
output_formatNotext
promptYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "cwd": { "type": "string" }, "executable": { "type": "string" }, "extra_args": { "items": { "type": "string" }, "type": "array" }, "force": { "type": "boolean" }, "model": { "type": "string" }, "output_format": { "default": "text", "enum": [ "text", "json", "markdown" ], "type": "string" }, "prompt": { "minLength": 1, "type": "string" } }, "required": [ "prompt" ], "type": "object" }

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