mcp-builder

Guides building MCP servers in Python or TypeScript with evaluation tooling.

8|3|Updated Oct 20, 2025
One-click install
npx skills add https://github.com/chongdashu/claude-code-skills-demo --skill mcp-builder-chongdashu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mcp-builder
Source: https://github.com/chongdashu/claude-code-skills-demo/tree/main/.claude/skills/mcp-builder
Command: npx skills add https://github.com/chongdashu/claude-code-skills-demo --skill mcp-builder-chongdashu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires anthropic, mcp, and includes scripts (resource) and references (resource) components.

What problem does it solve? Building MCP (Model Context Protocol) servers that LLMs can actually use effectively requires careful tool design, input validation, error handling, and testing—this Skill provides a structured four-phase workflow covering research, implementation, review, and evaluation. ## Core Features & Use Cases - Agent-Centric Design Guidance: Teaches workflow-oriented tool design, context optimization, actionable error messages, and naming conventions for MCP tools. - Language-Specific References: Includes implementation guides for Python (FastMCP, Pydantic) and Node/TypeScript (MCP SDK, Zod) with quality checklists. - Evaluation Harness: Ships scripts to create XML-based evaluation question sets and run automated tests measuring how well an LLM can use your MCP server via stdio, SSE, or HTTP transports. - Use Case: You want to expose your company's internal API to Claude. Use this Skill to plan the tools, implement the server following best practices, and generate 10 evaluation questions to verify LLMs can complete real tasks with it. ## Quick Start Ask the AI to help you build an MCP server for your chosen API, specifying whether you want a Python or TypeScript implementation.

Frequently Asked Questions about mcp-builder

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build an MCP server in Python?

Use the MCP Python SDK with FastMCP to register tools via decorators, define Pydantic v2 models for input validation, and use async/await for all I/O. The Skill's Python implementation guide covers server initialization, tool registration, and a quality checklist.

How do I test an MCP server without hanging my terminal?

MCP servers are long-running processes, so running them directly blocks your process. Use the provided evaluation harness which manages the server lifecycle for stdio transport, run the server in tmux, or use a timeout like 'timeout 5s python server.py'.

What is the difference between stdio, SSE, and HTTP transports for MCP?

Stdio runs the server as a local subprocess for single-client CLI use, HTTP supports multiple remote clients with request-response patterns, and SSE enables server-to-client streaming for real-time updates. Choose based on deployment needs and client count.

How do I evaluate whether my MCP server works well with LLMs?

Create an XML file with 10 complex, read-only questions having single verifiable answers, then run scripts/evaluation.py against your server. The harness reports accuracy, tool call counts, and agent feedback on tool design.

What makes a good MCP tool design for AI agents?

Design tools around complete workflows rather than raw API endpoints, return concise high-signal data respecting context limits, and write error messages that suggest corrective actions. Use service-prefixed snake_case names like github_create_issue and add annotations such as readOnlyHint.