Skip to content

sitien173/cursormcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CursorMCP

FastMCP server that wraps the Cursor agent headless CLI, enabling Claude Code to call Cursor Agent via the MCP protocol.

Installation

claude mcp add cursor -s user --transport stdio -- uvx --from git+https://github.com/GuDaStudio/cursormcp.git cursormcp

Requirements

  • Python 3.12+
  • uv
  • Cursor Agent CLI (agent binary in PATH or %LOCALAPPDATA%\cursor-agent\agent.cmd)

Usage

The cursor MCP tool accepts:

Parameter Type Default Description
PROMPT str required Task instruction
workspace Path required Working directory
force bool False Allow file writes (--force)
SESSION_ID str "" Resume prior session
mode "agent"|"plan"|"ask" "agent" Execution mode
sandbox "enabled"|"disabled"|"" "" Sandbox policy
model str "" Model override
return_all_messages bool False Include raw JSONL

About

Cursor-MCP is an MCP server that encapsulates Curosr CLI tool into a standard MCP protocol interface, enabling Claude Code to invoke Curosr CLI for AI-assisted programming tasks.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages