mcp-builder
하는 일
AI가 외부 도구와 서비스를 사용할 수 있게 하는 'MCP 서버'를 만드는 방법을 알려 주는 가이드입니다. AI가 체계적인 방식으로 실제 세계와 상호작용할 수 있도록 다리를 놓는 것을 돕습니다.
사용하는 경우
- ✓AI가 온라인 서비스를 사용하도록 하고 싶을 때(정보 가져오기 또는 데이터 보내기 등).
- ✓AI가 다른 도구와 통신해야 하는 시스템을 개발할 때.
- ✓AI가 특정 디지털 작업을 수행할 수 있도록 '다리'를 만들 때.
스킬 링크
https://github.com/anthropics/skills/blob/main/skills/mcp-builder/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“AI가 제 웹사이트에서 정보를 가져올 수 있도록 MCP 서버를 어떻게 만들 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
가이드는 4단계 과정을 설명합니다. 조사 및 계획, 코드 구현, 검토 및 테스트, 평가 만들기입니다. TypeScript나 Python 같은 언어를 사용하고, 도구를 체계적으로 구성하고 설명하는 모범 사례를 따르라고 제안합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
MCP Server Development Guide
Overview
Create MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. The quality of an MCP server is measured by how well it enables LLMs to accomplish real-world tasks.
Process
🚀 High-Level Workflow
Creating a high-quality MCP server involves four main phases:
Phase 1: Deep Research and Planning
1.1 Understand Modern MCP Design
API Coverage vs. Workflow Tools: Balance comprehensive API endpoint coverage with specialized workflow tools. Workflow tools can be more convenient for specific tasks, while comprehensive coverage gives agents flexibility to compose operations. Performance varies by client—some clients benefit from code execution that combines basic tools, while others work better with higher-level workflows. When uncertain, prioritize comprehensive API coverage.
Tool Naming and Discoverability:
Clear, descriptive tool names help agents find the right tools quickly. Use consistent prefixes (e.g., github_create_issue, github_list_repos) and action-oriented naming.
Context Management: Agents benefit from concise tool descriptions and the ability to filter/paginate results. Design tools that return focused, relevant data. Some clients support code execution which can help agents filter and process data efficiently.
Actionable Error Messages: Error messages should guide agents toward solutions with specific suggestions and next steps.
1.2 Study MCP Protocol Documentation
Navigate the MCP specification:
Start with the sitemap to find relevant pages: https://modelcontextprotocol.io/sitemap.xml
Then fetch specific pages with .md suffix for markdown format (e.g., https://modelcontextprotocol.io/specification/draft.md).
Key pages to review:
- Specification overview and architecture
- Transport mechanisms (streamable HTTP, stdio)
- Tool, resource, and prompt definitions
1.3 Study Framework Documentation
Recommended stack:
- Language: TypeScript (high-quality SDK support and good compatibility in many execution environments e.g. MCPB. Plus AI models are good at generating TypeScript code, benefiting from its broad usage, static typing and good linting tools)
- Transport: Streamable HTTP for remote servers, using stateless JSON (simpler to scale and maintain, as opposed to stateful sessions and streaming responses). stdio for local servers.
Load framework documentation:
- MCP Best Practices: 📋 View Best Practices - Core guidelines
For TypeScript (recommended):
- TypeScript SDK: Use WebFetch to load
https://raw.githubusercontent.com/modelcontextprotocol/typescript-sdk/main/README.md - ⚡ TypeScript Guide - TypeScript patterns and examples
For Python:
- Python SDK: Use WebFetch to load
https://raw.githubusercontent.com/modelcontextprotocol/python-sdk/main/README.md - 🐍 Python Guide - Python patterns and examples
1.4 Plan Your Implementation
Understand the API: Review the service's API documentation to identify key endpoints, authentication requirements, and data models. Use web search and WebFetch as needed.
Tool Selection: Prioritize comprehensive API coverage. List endpoints to implement, starting with the most common operations.
Phase 2: Implementation
2.1 Set Up Project Structure
See language-specific guides for project setup:
- ⚡ TypeScript Guide - Project structure, package.json, tsconfig.json
- 🐍 Python Guide - Module organization, dependencies
2.2 Implement Core Infrastructure
Create shared utilities:
- API client with authentication
- Error handling helpers
- Response formatting (JSON/Markdown)
- Pagination support
2.3 Implement Tools
For each tool:
Input Schema:
- Use Zod (TypeScript) or Pydantic (Python)
- Include constraints and clear descriptions
- Add examples in field descriptions
Output Schema:
- Define
outputSchemawhere possible for structured data - Use
structuredContentin tool responses (TypeScript SDK feature) - Helps clients understand and process tool outputs
Tool Description:
- Concise summary of functionality
- Parameter descriptions
- Return type schema
Implementation:
- Async/await for I/O operations
…
자주 묻는 질문
'MCP 서버'란 무엇인가요?
AI가 도구와 서비스를 효율적이고 안전하게 사용할 수 있도록 정리하는 특별한 종류의 서버입니다.
왜 TypeScript나 Python을 쓰나요?
이 언어들은 좋은 개발 도구(SDK)를 갖추고 있고, AI가 이해하고 코드를 생성하기 쉬워 개발 속도를 높여 주기 때문에 추천됩니다.
이 맥락에서 '도구'란 무엇인가요?
AI가 MCP 서버를 통해 호출해 데이터를 가져오거나 메시지를 보내는 등 특정 작업을 수행하는 '명령' 또는 '함수'와 같습니다.
상세 정보
작성자의 원본 설명
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
repo: anthropics/skills
인기도
- GitHub 스타
- 181k
- 순위
- #645
- 라이선스
- —
- 업데이트
- 2026. 10. 9.
댓글
- …
이 저장소의 다른 스킬
academy-guide
181k에이전트가 Claude 사용법을 배울 수 있는 강좌와 튜토리얼을 추천합니다. Claude나 관련 제품에 대해 질문이 있을 때 유용합니다.
algorithmic-art
181k에이전트가 코드를 사용해 독창적인 이미지를 만드는 예술 작품을 생성하도록 돕습니다. 컴퓨터로 만든 원본 예술을 원할 때 유용합니다.
brand-guidelines
181k에이전트가 Anthropic의 브랜드 색상과 시각 스타일을 자료에 적용하도록 돕습니다. 여러 프로젝트에서 회사의 시각 정체성을 유지할 때 유용합니다.
canvas-design
181k에이전트가 파일 안에 아름다운 시각 예술을 만들도록 돕습니다. 포스터, 예술 작품 또는 정적인 디자인을 요청할 때 유용합니다.
비슷한 스킬
add-model-provider
394k에이전트가 안전한 설정 명령으로 새 AI 모델 제공자를 OpenClaw에 연결하고, API 키를 평문으로 두지 않으며, 실시간 테스트를 실행하도록 돕습니다.
acp-router
394k에이전트가 OpenClaw를 통해 Claude Code나 Cursor 같은 코딩 도우미에 작업을 전달해, 작업이 그 도구에서 실행되도록 돕습니다.
browser-automation
394k에이전트가 로그인, 탭, 페이지 응답이 멈췄을 때의 복구를 포함해 웹 페이지를 단계별로 조작하도록 가르칩니다.