cursor-mcp
Installation
SKILL.md
cursor-mcp
MCP servers expose tools to the agent. Configure them on AgentOptions.mcpServers (or SendOptions.mcpServers for per-run override) as Record<string, McpServerConfig> — the key is the server name.
Transports
- [[references/stdio]] —
command,args,env,cwd - [[references/http]] —
url,headers,auth - [[references/sse]] —
urlwith SSE transport
Configuration patterns
- [[references/inline-config]] —
mcpServersonAgent.create - [[references/per-run-override]] —
mcpServersonagent.send(replaces, doesn't merge) - [[references/file-config]] —
.cursor/mcp.jsonandsettingSources - [[references/persistence]] — inline servers are not persisted across
Agent.resume