본문으로 건너뛰기
cccskills
무료GitHub에 공개한국어 소개

mcp-builder

Python이나 TypeScript로 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).

AI 평가90점/ 100설치 방법 보기

이럴 때 유용합니다

  • 외부 API용 MCP 서버 개발
  • 에이전트 작업에 맞는 도구 설계
  • 입력 검증과 오류 처리 검토
  • MCP 서버 평가 문항 작성

한국어 소개

할 수 있는 일

AI 에이전트가 외부 서비스를 조작할 수 있도록 MCP 서버 개발을 돕습니다. MCP는 AI와 외부 도구를 연결하는 공통 방식입니다. Python의 FastMCP나 Node/TypeScript의 MCP SDK를 사용해 조사와 설계부터 구현, 검토, 평가 문항 작성까지 진행합니다. 입력값 검증, 인증, 페이지 나누기, 오류 처리와 응답에 담을 정보량도 살펴봅니다.

이럴 때 유용합니다

에이전트가 외부 API를 사용하도록 만들려는 개발자에게 적합합니다. 여러 작업을 하나의 도구로 묶거나, 실패 후 에이전트가 다음 행동을 판단하기 쉬운 응답을 설계할 때도 도움이 됩니다.

사용 예시

  • “이 API를 사용하는 MCP 서버를 Python으로 설계해 주세요.”
  • “TypeScript 구현의 입력 검증과 오류 처리를 검토해 주세요.”
  • “도구를 여러 번 호출해야 하는 평가 문항 10개를 만들어 주세요.”

주의 사항

구현에는 선택한 언어의 SDK 등이 필요합니다. 연결할 API의 인증 요건과 사용 제한도 확인합니다. 서버가 계속 실행되므로 평가용 체계와 시간 제한을 둔 테스트도 안내합니다. 라이선스 상세 내용은 LICENSE.txt에 있습니다.

이 소개문은 공개된 SKILL.md를 바탕으로 AI(OpenAI Codex)가 작성했습니다. 정확한 사양은 아래 원문을 확인하세요.

객관 평가

AI가 SKILL.md의 내용만을 근거로 4가지 관점에서 판정했습니다. 스타 수나 인기도는 판정에 넣지 않았습니다.

지시의 명확성언제 쓰고 무엇을 하는지 알 수 있는가
A양호외부 API 연결용 MCP 서버 개발을 용도로 제시하고 조사부터 구현까지 설명합니다.
절차의 구체성절차·입출력·예시가 구체적으로 적혀 있는가
A양호단계별 절차와 Pydantic 또는 Zod 입력 검증, JSON과 Markdown 출력 형식을 지정합니다.
안전성전송·삭제·명령 실행 등을 명시하고 있는가
B일부 부족인증 관리와 파괴적 작업 표시를 다루지만 외부 작업 전 확인 절차는 명시하지 않습니다.
도입의 용이성필요한 도구나 API 키가 적고 적혀 있는가
A양호언어별 SDK, Pydantic과 Zod, 프로젝트 구성 및 설정 참고 자료를 제시합니다.

총점은 각 항목을 A=25점, B=15점, C=5점으로 더한 값입니다. 2026년 10월 23일 기준으로 AI(OpenAI Codex)가 판정했습니다. 참고용이므로 설치 전에 원문도 확인해 주세요.

평가가 다르다고 생각되면 재검토를 요청하기

어느 항목이 왜 다르다고 생각하는지 적어 주세요. 로그인은 필요 없습니다. SKILL.md와 대조해 평가를 다시 만들고 이곳에 반영합니다.

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

포함된 파일(10)

  • SKILL.md13.2 KB
  • LICENSE.txt11.1 KB
  • reference/evaluation.md21.2 KB
  • reference/mcp_best_practices.md28.2 KB
  • reference/node_mcp_server.md26.1 KB
  • reference/python_mcp_server.md25.6 KB
  • scripts/connections.py4.8 KB
  • scripts/evaluation.py12.3 KB
  • scripts/example_evaluation.xml1.2 KB
  • scripts/requirements.txt29 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

MCP Server Development Guide

Overview

To create high-quality MCP (Model Context Protocol) servers that enable LLMs to effectively interact with external services, use this skill. An MCP server provides tools that allow LLMs to access external services and APIs. The quality of an MCP server is measured by how well it enables LLMs to accomplish real-world tasks using the tools provided.


Process

🚀 High-Level Workflow

Creating a high-quality MCP server involves four main phases:

Phase 1: Deep Research and Planning

1.1 Understand Agent-Centric Design Principles

Before diving into implementation, understand how to design tools for AI agents by reviewing these principles:

Build for Workflows, Not Just API Endpoints:

  • Don't simply wrap existing API endpoints - build thoughtful, high-impact workflow tools
  • Consolidate related operations (e.g., schedule_event that both checks availability and creates event)
  • Focus on tools that enable complete tasks, not just individual API calls
  • Consider what workflows agents actually need to accomplish

Optimize for Limited Context:

  • Agents have constrained context windows - make every token count
  • Return high-signal information, not exhaustive data dumps
  • Provide "concise" vs "detailed" response format options
  • Default to human-readable identifiers over technical codes (names over IDs)
  • Consider the agent's context budget as a scarce resource

Design Actionable Error Messages:

  • Error messages should guide agents toward correct usage patterns
  • Suggest specific next steps: "Try using filter='active_only' to reduce results"
  • Make errors educational, not just diagnostic
  • Help agents learn proper tool usage through clear feedback

Follow Natural Task Subdivisions:

  • Tool names should reflect how humans think about tasks
  • Group related tools with consistent prefixes for discoverability
  • Design tools around natural workflows, not just API structure

Use Evaluation-Driven Development:

  • Create realistic evaluation scenarios early
  • Let agent feedback drive tool improvements
  • Prototype quickly and iterate based on actual agent performance

1.3 Study MCP Protocol Documentation

Fetch the latest MCP protocol documentation:

Use WebFetch to load: https://modelcontextprotocol.io/llms-full.txt

This comprehensive document contains the complete MCP specification and guidelines.

1.4 Study Framework Documentation

Load and read the following reference files:

For Python implementations, also load:

  • Python SDK Documentation: Use WebFetch to load https://raw.githubusercontent.com/modelcontextprotocol/python-sdk/main/README.md
  • 🐍 Python Implementation Guide - Python-specific best practices and examples

For Node/TypeScript implementations, also load:

  • TypeScript SDK Documentation: Use WebFetch to load https://raw.githubusercontent.com/modelcontextprotocol/typescript-sdk/main/README.md
  • ⚡ TypeScript Implementation Guide - Node/TypeScript-specific best practices and examples

1.5 Exhaustively Study API Documentation

To integrate a service, read through ALL available API documentation:

  • Official API reference documentation
  • Authentication and authorization requirements
  • Rate limiting and pagination patterns
  • Error responses and status codes
  • Available endpoints and their parameters
  • Data models and schemas

To gather comprehensive information, use web search and the WebFetch tool as needed.

1.6 Create a Comprehensive Implementation Plan

Based on your research, create a detailed plan that includes:

Tool Selection:

  • List the most valuable endpoints/operations to implement
  • Prioritize tools that enable the most common and important use cases
  • Consider which tools work together to enable complex workflows

Shared Utilities and Helpers:

  • Identify common API request patterns
  • Plan pagination helpers
  • Design filtering and formatting utilities
  • Plan error handling strategies

Input/Output Design:

  • Define input validation models (Pydantic for Python, Zod for TypeScript)
  • Design consistent response formats (e.g., JSON or Markdown), and configurable levels of detail (e.g., Detailed or Concise)
  • Plan for large-scale usage (thousands of users/resources)
  • Implement character limits and truncation strategies (e.g., 25,000 tokens)

Error Handling Strategy:

  • Plan graceful failure modes
  • Design clear, actionable, LLM-friendly, natural language error messages which prompt further action
  • Consider rate limiting and timeout scenarios
  • Handle authentication and authorization errors

Phase 2: Implementation

Now that you have a comprehensive plan, begin implementation following language-specific best practices.

2.1 Set Up Project Structure

For Python:

  • Create a single .py file or organize into modules if complex (see 🐍 Python Guide)
  • Use the MCP Python SDK for tool registration
  • Define Pydantic models for input validation

For Node/TypeScript:

  • Create proper project structure (see ⚡ TypeScript Guide)
  • Set up package.json and tsconfig.json
  • Use MCP TypeScript SDK
  • Define Zod schemas for input validation

2.2 Implement Core Infrastructure First

To begin implementation, create shared utilities before implementing tools:

  • API request helper functions
  • Error handling utilities
  • Response formatting functions (JSON and Markdown)
  • Pagination helpers
  • Authentication/token management

2.3 Implement Tools Systematically

For each tool in the plan:

Define Input Schema:

  • Use Pydantic (Python) or Zod (TypeScript) for validation
  • Include proper constraints (min/max length, regex patterns, min/max values, ranges)
  • Provide clear, descriptive field descriptions
  • Include diverse examples in field descriptions

Write Comprehensive Docstrings/Descriptions:

  • One-line summary of what the tool does
  • Detailed explanation of purpose and functionality
  • Explicit parameter types with examples
  • Complete return type schema
  • Usage examples (when to use, when not to use)
  • Error handling documentation, which outlines how to proceed given specific errors

Implement Tool Logic:

  • Use shared utilities to avoid code duplication
  • Follow async/await patterns for all I/O
  • Implement proper error handling
  • Support multiple response formats (JSON and Markdown)
  • Respect pagination parameters
  • Check character limits and truncate appropriately

Add Tool Annotations:

  • readOnlyHint: true (for read-only operations)
  • destructiveHint: false (for non-destructive operations)
  • idempotentHint: true (if repeated calls have same effect)
  • openWorldHint: true (if interacting with external systems)

2.4 Follow Language-Specific Best Practices

At this point, load the appropriate language guide:

For Python: Load 🐍 Python Implementation Guide and ensure the following:

  • Using MCP Python SDK with proper tool registration
  • Pydantic v2 models with model_config
  • Type hints throughout
  • Async/await for all I/O operations
  • Proper imports organization
  • Module-level constants (CHARACTER_LIMIT, API_BASE_URL)

For Node/TypeScript: Load ⚡ TypeScript Implementation Guide and ensure the following:

  • Using server.registerTool properly
  • Zod schemas with .strict()
  • TypeScript strict mode enabled
  • No any types - use proper types
  • Explicit Promise<T> return types
  • Build process configured (npm run build)

Phase 3: Review and Refine

After initial implementation:

3.1 Code Quality Review

To ensure quality, review the code for:

  • DRY Principle: No duplicated code between tools
  • Composability: Shared logic extracted into functions
  • Consistency: Similar operations return similar formats
  • Error Handling: All external calls have error handling
  • Type Safety: Full type coverage (Python type hints, TypeScript types)
  • Documentation: Every tool has comprehensive docstrings/descriptions

3.2 Test and Build

Important: MCP servers are long-running processes that wait for requests over stdio/stdin or sse/http. Running them directly in your main process (e.g., python server.py or node dist/index.js) will cause your process to hang indefinitely.

Safe ways to test the server:

  • Use the evaluation harness (see Phase 4) - recommended approach
  • Run the server in tmux to keep it outside your main process
  • Use a timeout when testing: timeout 5s python server.py

For Python:

  • Verify Python syntax: python -m py_compile your_server.py
  • Check imports work correctly by reviewing the file
  • To manually test: Run server in tmux, then test with evaluation harness in main process
  • Or use the evaluation harness directly (it manages the server for stdio transport)

For Node/TypeScript:

  • Run npm run build and ensure it completes without errors
  • Verify dist/index.js is created
  • To manually test: Run server in tmux, then test with evaluation harness in main process
  • Or use the evaluation harness directly (it manages the server for stdio transport)

3.3 Use Quality Checklist

To verify implementation quality, load the appropriate checklist from the language-specific guide:


Phase 4: Create Evaluations

After implementing your MCP server, create comprehensive evaluations to test its effectiveness.

Load ✅ Evaluation Guide for complete evaluation guidelines.

4.1 Understand Evaluation Purpose

Evaluations test whether LLMs can effectively use your MCP server to answer realistic, complex questions.

4.2 Create 10 Evaluation Questions

To create effective evaluations, follow the process outlined in the evaluation guide:

  1. Tool Inspection: List available tools and understand their capabilities
  2. Content Exploration: Use READ-ONLY operations to explore available data
  3. Question Generation: Create 10 complex, realistic questions
  4. Answer Verification: Solve each question yourself to verify answers

4.3 Evaluation Requirements

Each question must be:

  • Independent: Not dependent on other questions
  • Read-only: Only non-destructive operations required
  • Complex: Requiring multiple tool calls and deep exploration
  • Realistic: Based on real use cases humans would care about
  • Verifiable: Single, clear answer that can be verified by string comparison
  • Stable: Answer won't change over time

4.4 Output Format

Create an XML file with this structure:

<evaluation>
  <qa_pair>
    <question>Find discussions about AI model launches with animal codenames. One model needed a specific safety designation that uses the format ASL-X. What number X was being determined for the model named after a spotted wild cat?</question>
    <answer>3</answer>
  </qa_pair>
<!-- More qa_pairs... -->
</evaluation>

Reference Files

📚 Documentation Library

Load these resources as needed during development:

Core MCP Documentation (Load First)

  • MCP Protocol: Fetch from https://modelcontextprotocol.io/llms-full.txt - Complete MCP specification
  • 📋 MCP Best Practices - Universal MCP guidelines including:
    • Server and tool naming conventions
    • Response format guidelines (JSON vs Markdown)
    • Pagination best practices
    • Character limits and truncation strategies
    • Tool development guidelines
    • Security and error handling standards

SDK Documentation (Load During Phase 1/2)

  • Python SDK: Fetch from https://raw.githubusercontent.com/modelcontextprotocol/python-sdk/main/README.md
  • TypeScript SDK: Fetch from https://raw.githubusercontent.com/modelcontextprotocol/typescript-sdk/main/README.md

Language-Specific Implementation Guides (Load During Phase 2)

  • 🐍 Python Implementation Guide - Complete Python/FastMCP guide with:

    • Server initialization patterns
    • Pydantic model examples
    • Tool registration with @mcp.tool
    • Complete working examples
    • Quality checklist
  • ⚡ TypeScript Implementation Guide - Complete TypeScript guide with:

    • Project structure
    • Zod schema patterns
    • Tool registration with server.registerTool
    • Complete working examples
    • Quality checklist

Evaluation Guide (Load During Phase 4)

  • ✅ Evaluation Guide - Complete evaluation creation guide with:
    • Question creation guidelines
    • Answer verification strategies
    • XML format specifications
    • Example questions and answers
    • Running an evaluation with the provided scripts

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

-21risk-automation

무료요약 있음AI 평가 90점

Rube MCP를 통해 21risk의 일상 작업을 자동화합니다. 사용 가능한 도구와 최신 입력 형식을 검색하고 연결 상태를 확인한 뒤 요청한 작업을 실행합니다.

  • 21risk에서 가능한 작업 확인
  • 연결 확인 후 작업 실행
  • 여러 작업 일괄 실행
ComposioHQ/awesome-claude-skills7.8만2026년 9월 18일 업데이트

-2chat-automation

무료요약 있음AI 평가 90점

Rube MCP를 통해 2chat 작업을 자동화합니다. Composio에서 지원 도구를 찾고 연결 상태와 최신 입력 요건을 확인한 뒤 해당 작업을 실행합니다.

  • 2chat에서 지원하는 작업 찾기
  • 실행 전 연결 상태 확인하기
  • 지원하는 여러 작업을 한꺼번에 실행하기
ComposioHQ/awesome-claude-skills7.8만2026년 9월 18일 업데이트

ably-automation

무료요약 있음AI 평가 90점

Rube MCP로 Ably 작업을 자동화합니다. 목적에 맞는 도구와 최신 입력 요건을 검색하고 연결 상태를 확인한 뒤 개별 작업이나 일괄 처리를 실행합니다.

  • Ably 작업을 지원하는 도구를 찾을 때
  • 연결을 확인한 뒤 작업을 실행할 때
  • 여러 Ably 작업을 일괄 처리할 때
ComposioHQ/awesome-claude-skills7.8만2026년 9월 18일 업데이트

abstract-automation

무료요약 있음AI 평가 80점

Rube MCP를 통해 AI 에이전트가 Abstract 작업을 수행합니다. 도구 검색으로 연결과 최신 입력 요구 사항을 확인하고, 여러 페이지의 결과도 이어서 가져옵니다.

  • Abstract에서 지원하는 작업을 찾습니다
  • 에이전트를 통해 작업을 실행합니다
  • 여러 페이지의 결과를 가져옵니다
ComposioHQ/awesome-claude-skills7.8만2026년 9월 18일 업데이트

abuselpdb-automation

무료요약 있음AI 평가 90점

Rube MCP를 통해 Abuselpdb 작업을 자동화합니다. 사용 가능한 도구와 최신 입력 형식을 찾고 연결 상태를 확인한 뒤 작업을 실행합니다.

  • Abuselpdb에서 지원하는 작업 조회
  • 실행 전 연결 상태 확인
  • Abuselpdb 반복 작업 자동화
ComposioHQ/awesome-claude-skills7.8만2026년 9월 18일 업데이트

abyssale-automation

무료요약 있음AI 평가 80점

Rube MCP로 Abyssale의 사용 가능한 도구와 최신 입력 규격을 찾습니다. 연결 상태를 확인한 뒤 검색된 규격에 따라 에이전트가 작업을 실행합니다.

  • Abyssale에서 가능한 작업 확인하기
  • 실행 전 Abyssale 연결 점검하기
  • Abyssale 작업을 에이전트에 맡기기
ComposioHQ/awesome-claude-skills7.8만2026년 9월 18일 업데이트

ComposioHQ의 스킬 모두 보기

이 스킬의 문제 신고