mcp-developer
Что он делает
Этот скилл ведёт ИИ-агента в создании серверов и клиентов Model Context Protocol, которые связывают ИИ-системы с инструментами и источниками данных. Он нужен разработчикам, которым нужно, чтобы их ИИ-приложения использовали внешние сервисы.
Когда использовать
- ✓Когда хотите создать сервер MCP, который даёт ИИ-инструменту доступ к вашим данным.
- ✓Когда сервер MCP не проходит проверки протокола или возвращает неверные ответы.
- ✓Когда нужно настроить транспорт stdio, HTTP или SSE для сервера MCP.
Ссылка на скилл
https://github.com/Jeffallan/claude-skills/blob/main/skills/mcp-developer/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Создай сервер MCP, который позволит моему ИИ-ассистенту искать заказы в нашей базе данных.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Агент создаёт каркас проекта с SDK на TypeScript или Python, описывает схемы инструментов с Zod или Pydantic и регистрирует обработчики. Затем он тестирует сервер инспектором MCP.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
MCP Developer
Senior MCP (Model Context Protocol) developer with deep expertise in building servers and clients that connect AI systems with external tools and data sources.
Core Workflow
- Analyze requirements — Identify data sources, tools needed, and client apps
- Initialize project —
npx @modelcontextprotocol/create-server my-server(TypeScript) orpip install mcp+ scaffold (Python) - Design protocol — Define resource URIs, tool schemas (Zod/Pydantic), and prompt templates
- Implement — Register tools and resource handlers; configure transport (stdio/SSE/HTTP)
- Test — Run
npx @modelcontextprotocol/inspectorto verify protocol compliance interactively; confirm tools appear, schemas accept valid inputs, and error responses are well-formed JSON-RPC 2.0. Feedback loop: if schema validation fails → inspect Zod/Pydantic error output → fix schema definition → re-run inspector. If a tool call returns a malformed response → check transport serialisation → fix handler → re-test. - Deploy — Package, add auth/rate-limiting, configure env vars, monitor
Reference Guide
Load detailed guidance based on context:
| Topic | Reference | Load When |
|---|---|---|
| Protocol | references/protocol.md |
Message types, lifecycle, JSON-RPC 2.0 |
| TypeScript SDK | references/typescript-sdk.md |
Building servers/clients in Node.js |
| Python SDK | references/python-sdk.md |
Building servers/clients in Python |
| Tools | references/tools.md |
Tool definitions, schemas, execution |
| Resources | references/resources.md |
Resource providers, URIs, templates |
Minimal Working Example
TypeScript — Tool with Zod Validation
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
import { z } from "zod";
const server = new McpServer({ name: "my-server", version: "1.1.0" });
// Register a tool with validated input schema
server.tool(
"get_weather",
"Fetch current weather for a location",
{
location: z.string().min(1).describe("City name or coordinates"),
units: z.enum(["celsius", "fahrenheit"]).default("celsius"),
},
async ({ location, units }) => {
// Implementation: call external API, transform response
const data = await fetchWeather(location, units); // your fetch logic
return {
content: [{ type: "text", text: JSON.stringify(data) }],
};
}
);
// Register a resource provider
server.resource(
"config://app",
"Application configuration",
async (uri) => ({
contents: [{ uri: uri.href, text: JSON.stringify(getConfig()), mimeType: "application/json" }],
})
);
const transport = new StdioServerTransport();
await server.connect(transport);
Python — Tool with Pydantic Validation
from mcp.server.fastmcp import FastMCP
from pydantic import BaseModel, Field
mcp = FastMCP("my-server")
class WeatherInput(BaseModel):
location: str = Field(..., min_length=1, description="City name or coordinates")
units: str = Field("celsius", pattern="^(celsius|fahrenheit)$")
@mcp.tool()
async def get_weather(location: str, units: str = "celsius") -> str:
"""Fetch current weather for a location."""
data = await fetch_weather(location, units) # your fetch logic
return str(data)
@mcp.resource("config://app")
async def app_config() -> str:
"""Expose application configuration as a resource."""
return json.dumps(get_config())
if __name__ == "__main__":
mcp.run() # defaults to stdio transport
Expected tool call flow:
Client → { "method": "tools/call", "params": { "name": "get_weather", "arguments": { "location": "Berlin" } } }
Server → { "result": { "content": [{ "type": "text", "text": "{\"temp\": 18, \"units\": \"celsius\"}" }] } }
Constraints
MUST DO
- Implement JSON-RPC 2.0 protocol correctly
- Validate all inputs with schemas (Zod/Pydantic)
- Use proper transport mechanisms (stdio/HTTP/SSE)
- Implement comprehensive error handling
- Add authentication and authorization
- Log protocol messages for debugging
- Test protocol compliance thoroughly
- Document server capabilities
MUST NOT DO
- Skip input validation on tool inputs
- Expose sensitive data in resource content
- Ignore protocol version compatibility
- Mix synchronous code with async transports
- Hardcode credentials or secrets
- Return unstructured errors to clients
- Deploy
Частые вопросы
Какие SDK он использует?
SDK MCP для TypeScript и Python.
Как он тестирует сервер MCP?
Он запускает инспектор MCP, чтобы убедиться, что инструменты видны, схемы принимают правильный ввод и ошибки возвращаются верно.
Какие транспорты он поддерживает?
Он поддерживает транспорты stdio, HTTP и SSE.
Подробности
Оригинальное описание автора
Use when building, debugging, or extending MCP servers or clients that connect AI systems with external tools and data sources. Invoke to implement tool handlers, configure resource providers, set up stdio/HTTP/SSE transport layers, validate schemas with Zod or Pydantic, debug protocol compliance issues, or scaffold complete MCP server/client projects using TypeScript or Python SDKs.
repo: Jeffallan/claude-skills
Популярность
- Звёзды на GitHub
- 12k
- Место в рейтинге
- #11436
- Лицензия
- MIT
- Обновлён
- 30.10.2026
Комментарии
- …
Другие скиллы из этого репозитория
angular-architect
12kПомогает агенту создавать приложения на Angular 17+: автономные компоненты, ленивая маршрутизация, состояние NgRx, RxJS и настройка производительности.
api-designer
12kПомогает агенту проектировать REST или GraphQL API и писать спецификации OpenAPI 3.1 с правилами для ресурсов, пагинации, форматов ошибок и версий.
architecture-designer
12kПомогает агенту проектировать архитектуру системы, сравнивать шаблоны и технологии и писать Architecture Decision Records, которые объясняют каждый выбор.
atlassian-mcp
12kПомогает агенту искать и обновлять задачи Jira и страницы Confluence через MCP, включая запросы JQL и CQL, спринты и синхронизацию документации.
Похожие скиллы
mcporter
394kПомогает агенту выводить список, вызывать и проверять серверы MCP и их инструменты по HTTP или stdio, а также управлять настройками входа.
fastmcp
260kПомогает агенту создать, проверить и развернуть MCP-сервер на Python, который даёт ИИ-ассистентам доступ к API, базе или файлам.
mcp-oauth-remote-gateway
260kПомогает агенту вручную пройти вход OAuth для удалённого MCP-сервера, если Hermes работает на сервере и обычный вход через браузер не работает.