hktitan/cursor-sdk · Archived

cursor-mcp

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.

First seen May 3, 2026

Installation

$ npx skills add hktitan/cursor-sdk --skill cursor-mcp

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from hktitan/cursor-sdk · top by installs.

npx skills add hktitan/cursor-sdk

Browse all from hktitan/cursor-sdk

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 1
License LICENSE
Default branch main
Open issues 0
Status Archived

Skill metadata

Parsed from SKILL.md frontmatter.

Declared agents cursor
More metadata
internal
source
https://cursor.com/docs/sdk/typescript

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,481 B
  • docs SUMMARY.md 218 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 4 installs

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]] — url with SSE transport

Configuration patterns

  • [[references/inline-config]] — mcpServers on Agent.create
  • [[references/per-run-override]] — mcpServers on agent.send (replaces, doesn't merge)
  • [[references/file-config]] — .cursor/mcp.json and settingSources
  • [[references/persistence]] — inline servers are not persisted across Agent.resume

Auth

  • [[references/oauth]] — auth.CLIENTID / CLIENTSECRET / scopes for 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]]