mcp-server
БесплатноБез исполняемых скриптовНе проверенGuide for creating new MCP server integrations
Об этом скилле
MCP Server Creation Guide
Use this skill when creating a new MCP server integration.
MCP Folder Structure
MCPs live in: ~/.cursor/projects/<project>/mcps/<server-name>/
mcps/
├── user-notion/
│ └── tools/
│ ├── API-retrieve-a-page.json
│ └── ...
├── cursor-ide-browser/
│ └── tools/
│ ├── browser_navigate.json
│ └── ...
└── user-n8n-mcp/
└── tools/
└── ...
Tool Descriptor Format
Each tool is a JSON file:
{
"name": "tool-name",
"description": "What this tool does",
"arguments": {
"type": "object",
"properties": {
"param1": { "type": "string", "description": "..." }
},
"required": ["param1"]
}
}
Usage Pattern
- Read tool descriptor before calling
- Use
CallMcpToolwith server, toolName, arguments - Handle response appropriately
Example Call
CallMcpTool:
server: "user-notion"
toolName: "API-retrieve-a-page"
arguments: { "page_id": "abc123" }
Existing MCPs Reference
| MCP | Capabilities |
|---|---|
| user-notion | Page/block CRUD, search, comments |
| cursor-ide-browser | Navigation, clicks, screenshots, console |
| user-n8n-mcp | Workflow search, details, execution |
| user-context7 | Library docs lookup |
| figma | Design specs, code generation from frames |
Creating a New MCP
- Create folder:
mcps/<server-name>/tools/ - Add tool descriptors as JSON files
- Configure server in
~/.cursor/mcp.json - Restart Cursor (Cmd+Shift+P > "Reload Window")
- Test with
CallMcpTool
Authentication Patterns
Pattern 1: API Token (env block)
For MCPs that use API keys (Notion, n8n):
"mcp-name": {
"command": "npx",
"args": ["-y", "@package/mcp-server"],
"env": {
"API_KEY": "your-token-here"
}
}
Pattern 2: URL-based (no auth)
For MCPs that connect to local servers (Figma desktop):
"mcp-name": {
"url": "http://127.0.0.1:PORT/mcp"
}
Pattern 3: OAuth (remote URL)
For MCPs that use browser OAuth (Figma remote):
"mcp-name": {
"url": "https://service.com/mcp"
}
After adding, click "Connect" in Cursor MCP settings to authorize.
Troubleshooting
Installation loops infinitely:
- Cancel and manually edit
~/.cursor/mcp.json - Add config block directly, then restart Cursor
MCP not appearing:
- Check JSON syntax is valid
- Verify package name is correct
- Restart Cursor after changes
Best Practices
- Always read tool schema before calling
- Handle errors gracefully
- Use descriptive tool names
- Document required vs optional parameters
Установить mcp-server в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл mcp-server?
Guide for creating new MCP server integrations
Как установить скилл mcp-server?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл mcp-server запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic