Cursor mcp
Agent skills for the Cursor TypeScript SDK, the agent CLI, and .cursor/ project config (rules, skills, hooks, mcp). Skill-graph format with [[wikilinks]].
npx -y skills add HKTITAN/cursor-sdk --skill cursor-mcpAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Configure MCP servers on Cursor SDK agents — stdio subprocess, HTTP, and SSE transports, inline vs file-based config, and per-run overrides. Use when extending an agent's tools beyond the built-ins.
SKILL.md
1.4 KB, as published. Nobody here has run it
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
Auth
- [[references/oauth]] —
auth.CLIENT_ID/CLIENT_SECRET/scopesfor HTTP/SSE
Cross-links
- Tool calls in the stream → [[../cursor-runs/references/sdk-message-types]]
- Subagent-scoped MCP → [[../cursor-subagents/references/agent-definition]]
- Hooks for tool gating → [[../cursor-hooks/SKILL]]
IntegrationNotConnectedError→ [[../cursor-errors/references/integration-not-connected]]