본문으로 건너뛰기
cccskills
무료GitHub에 공개

ls-mcp-server-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 building MCP servers to integrate external APIs or services, whether in Python (MCPServer) or Node/TypeScript (MCP SDK).

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구OpenAI
설치 방법 보기

포함된 파일(17)

  • SKILL.md5.0 KB
  • assets/example_emulation.json339 B
  • assets/example_evaluation.xml1.2 KB
  • assets/smoke_emulation.json107 B
  • assets/smoke_eval.xml146 B
  • LICENSE.txt11.1 KB
  • references/evaluation.md21.0 KB
  • references/mcp_best_practices.md28.3 KB
  • references/node_mcp_server.md24.9 KB
  • references/python_mcp_server.md25.3 KB
  • scripts/connections.py5.0 KB
  • scripts/evaluation.py12.7 KB
  • scripts/llm_providers/__init__.py1.9 KB
  • scripts/llm_providers/claude.py4.7 KB
  • scripts/llm_providers/emulation.py3.0 KB
  • scripts/llm_providers/openai_compat.py6.7 KB
  • scripts/llm_providers/serialization.py2.2 KB

SKILL.md(원문)

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

MCP Server Development Guide

Use this skill when designing, implementing, or evaluating an MCP server for an external API or service. Keep the main workflow short, then load the detailed reference that matches the implementation language or evaluation task.

Load First

  • MCP protocol: fetch https://modelcontextprotocol.io/llms-full.txt
  • MCP best practices
  • Python SDK docs: fetch https://raw.githubusercontent.com/modelcontextprotocol/python-sdk/main/README.md
  • TypeScript SDK docs: fetch https://raw.githubusercontent.com/modelcontextprotocol/typescript-sdk/main/README.md

Workflow

1. Research and Plan

  • Read the target service API docs: auth, rate limits, pagination, errors, endpoints, schemas, and destructive operations.
  • Design workflow-level tools instead of thin endpoint wrappers.
  • Prefer high-signal outputs, stable human-readable IDs, and explicit concise or detailed response modes.
  • Plan shared request helpers, pagination, formatting, input validation, authentication, and actionable error messages before writing tools.
  • Mark read-only, destructive, idempotent, and open-world behavior with MCP tool annotations where supported.

2. Implement

For Python, load Python implementation guide. Use the MCP Python SDK, Pydantic models, type hints, async I/O for external calls, shared helpers, and clear module-level constants.

For Node/TypeScript, load TypeScript implementation guide. Use the MCP TypeScript SDK, strict TypeScript, Zod schemas, explicit return types, and a working build script.

For every tool:

  • Use schema validation with useful constraints and examples.
  • Write descriptions that explain when to use the tool, expected inputs, output shape, and recovery steps for common errors.
  • Keep tool outputs bounded and predictable; paginate or summarize large data.
  • Return errors as actionable tool results when the agent can recover.

3. Review and Test

  • Check for duplicated code, inconsistent output formats, weak validation, and generic exceptions.
  • Do not run long-lived stdio MCP servers directly in the main terminal without a timeout or harness.
  • Python smoke checks: python -m py_compile server.py, then run the evaluation harness or a short timeout test.
  • TypeScript smoke checks: npm run build, confirm dist/ output, then run the evaluation harness or a short timeout test.
  • Use the quality checklist in the language guide before handing off.

4. Evaluate

Load evaluation guide to create read-only, verifiable questions and run the bundled harness.

Run the harness with its dependencies from the skill directory:

uv run --with 'mcp>=2,<3' --with 'anthropic>=0.39.0' --with 'openai>=1.0.0' -- python scripts/evaluation.py --help

Provider examples:

# Claude provider
ANTHROPIC_API_KEY=... uv run --with 'mcp>=2,<3' --with 'anthropic>=0.39.0' --with 'openai>=1.0.0' -- python scripts/evaluation.py \
  -t stdio -c python -a my_server.py evaluation.xml

# OpenAI-compatible provider
OPENAI_API_KEY=... uv run --with 'mcp>=2,<3' --with 'anthropic>=0.39.0' --with 'openai>=1.0.0' -- python scripts/evaluation.py --provider openai \
  -t stdio -c python -a my_server.py evaluation.xml

# Emulation provider, no LLM key
uv run --with 'mcp>=2,<3' -- python scripts/evaluation.py --provider emulation \
  --emulation-script assets/smoke_emulation.json \
  -t stdio -c python -a my_server.py assets/smoke_eval.xml

The evaluation XML format is:

<evaluation>
  <qa_pair>
    <question>Question that requires read-only tool use.</question>
    <answer>Stable expected answer.</answer>
  </qa_pair>
</evaluation>

Reference Library

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

Guide accessibility reviews for UI, documents, and workflows. Use for WCAG-oriented audits, keyboard review, semantics, contrast, and remediation planning.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

CruxExperts/LocalSetup62026년 10월 21일 업데이트

Use when choosing a LocalSetup Agent-* lane for exploration, research, bounded implementation, or review. Consult the static capability matrix; do not probe account or network availability.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

CruxExperts/LocalSetup62026년 10월 21일 업데이트

Guide agent email inbox workflows with prompt-injection defenses. Use for inbound email processing, webhooks, routing, and safety review.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

CruxExperts/LocalSetup62026년 10월 21일 업데이트

Navigate and understand codebases using agentlens hierarchical documentation. Use when exploring new projects, finding modules, locating symbols in large files, finding TODOs/warnings, or understanding code structure.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

CruxExperts/LocalSetup62026년 10월 21일 업데이트

Use for Agent Q signed encrypted file-drop or mail ship and ingest, private registry v2 setup, queue status, and transport maintenance.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

CruxExperts/LocalSetup62026년 10월 21일 업데이트

Inventory wrapper for the alirezarezvani Claude skills bundle. Use when triaging its broad skill catalog and large script surface before any targeted import.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

CruxExperts/LocalSetup62026년 10월 21일 업데이트

CruxExperts의 스킬 모두 보기

이 스킬의 문제 신고