SPB Git

Repository Public MIT

install-cursor.md 1.5 KB 65 lines markdown

1---2title: Install in Cursor3description: Skill directories and mcp.json entries for Cursor.4order: 125section: Install6---78# Install in Cursor910Based on the Cursor documentation as checked on 2026-11-09.1112## Skills1314Cursor discovers skills in these directories:1516| Scope | Locations |17|---|---|18| User | `~/.cursor/skills/<slug>/`, `~/.agents/skills/<slug>/` |19| Project | `.cursor/skills/<slug>/`, `.agents/skills/<slug>/` |2021```bash22skills install @<namespace>/<slug> --client cursor              # ~/.cursor/skills/<slug>23skills install @<namespace>/<slug> --client cursor --project    # .cursor/skills/<slug>24```2526By hand: download, verify and extract exactly as in the [generic instructions](/docs/install-generic), into one of the directories above.2728## MCP servers2930Cursor reads `.cursor/mcp.json` in a project and `~/.cursor/mcp.json` globally. The artifact page generates the entry.3132Local server (stdio):3334```json35{36  "mcpServers": {37    "<name>": { "type": "stdio", "command": "<command>", "args": ["…"], "env": { "API_KEY": "${env:API_KEY}" } }38  }39}40```4142Remote server:4344```json45{46  "mcpServers": {47    "<name>": { "url": "https://example.org/mcp", "headers": { "Authorization": "Bearer ${env:THEIR_TOKEN}" } }48  }49}50```5152Cursor's variable syntax is `${env:NAME}`, which differs from Claude Code's `${NAME}`. Do not copy entries between the two without adjusting it.5354## The registry's own MCP server5556```json57{58  "mcpServers": {59    "skills-registry": { "url": "https://skills.spboucher.ai/mcp" }60  }61}62```6364See [MCP reference](/docs/mcp).65
Files main
Menu

Theme