cursor-mcp-server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@cursor-mcp-serverImplement a login form with validation"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Cursor Agent MCP Server
An MCP (Model Context Protocol) server that wraps the Cursor CLI agent, enabling Claude Code and other MCP clients to delegate tasks to Cursor's AI agent.
Features
cursor_agent - Execute tasks with full Cursor agent capabilities (file writing, bash commands, etc.)
cursor_plan - Read-only planning mode to design approaches before coding
cursor_ask - Read-only Q&A mode for questions about the codebase
cursor_status - Check Cursor agent authentication status
cursor_resume - Resume previous Cursor agent conversations
Related MCP server: vscode-mcp
Prerequisites
Install the Cursor CLI agent:
curl https://cursor.com/install -fsS | bashAuthenticate:
agent loginInstall Python dependencies:
pip install fastmcp
Usage
With Claude Code
Add to your Claude Code MCP configuration (~/.claude.json or project settings):
{
"mcpServers": {
"cursor-agent": {
"command": "python",
"args": ["/path/to/cursor_mcp_server.py"],
"env": {
"CURSOR_WORKSPACE_PATH": "/path/to/your/workspace"
}
}
}
}Environment Variables
Variable | Description | Default |
| Default working directory for agent tasks |
|
| Path to the cursor agent executable |
|
| Default timeout in seconds |
|
| Default model for agent tasks |
|
Running Standalone
python cursor_mcp_server.pyTool Reference
cursor_agent
Execute tasks with full agent capabilities.
cursor_agent(
prompt="Implement a login form with validation",
workspace="/path/to/project", # optional
force=True, # allow file modifications
timeout=300, # seconds
model="gpt-5.2-codex" # optional model override
)cursor_plan
Design an approach before implementing.
cursor_plan(
prompt="How should I refactor the authentication system?",
workspace="/path/to/project"
)cursor_ask
Ask questions about the codebase.
cursor_ask(
prompt="What does the DatabaseManager class do?",
workspace="/path/to/project"
)cursor_resume
Resume a previous conversation.
cursor_resume(
prompt="Continue with the next step",
session_id="abc123", # optional, omit for latest session
workspace="/path/to/project"
)License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityFmaintenanceAn MCP server that orchestrates AI coding assistants (Claude Code CLI and Gemini CLI) to perform complex programming tasks autonomously, allowing remote control of your local development environment from anywhere.Last updated16142MIT
- FlicenseAqualityDmaintenanceAn MCP server that gives Claude IDE capabilities inside VS Code and Cursor, enabling file operations, shell commands, and workspace management via natural language.Last updated12
- AlicenseAqualityDmaintenanceMCP server that bridges OpenAI's Agents SDK with Claude Code, enabling web search, file search, and computer use capabilities directly in your development environment.Last updated291MIT

babelwrap-mcpofficial
Alicense-qualityDmaintenanceAn MCP server that gives AI agents web browsing superpowers via the BabelWrap API. It works with Claude Desktop, Cursor, Claude Code, and any MCP-compatible client.Last updated43MIT
Related MCP Connectors
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Real-time chat hub for AI agents — Claude Code, Cursor, Cline, Codex over MCP or REST.
Real-time chat hub for AI agents — Claude Code, Cursor, Cline, Codex over MCP or REST.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/bbarney7/cursor-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server