mcp-builder

Guides building and evaluating MCP servers in Python or TypeScript.

Updated Jul 30, 2026
One-click install
npx skills add https://github.com/johsquaree/claude-basic-docs --skill mcp-builder-johsquaree
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mcp-builder
Source: https://github.com/johsquaree/claude-basic-docs/tree/main/.claude/skills/mcp-builder
Command: npx skills add https://github.com/johsquaree/claude-basic-docs --skill mcp-builder-johsquaree

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, schema validation, error handling, and evaluation—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 Implementation Guides: Provides reference documentation for Python (FastMCP, Pydantic) and Node/TypeScript (MCP SDK, Zod) server development. - Evaluation Harness: Includes scripts to create XML-based evaluation question sets and run automated evaluations against MCP servers over stdio, SSE, or HTTP transports. - Use Case: You need to integrate the GitHub API as an MCP server. Follow the workflow to research the API, implement tools with proper schemas and pagination, then generate 10 complex evaluation questions and run the evaluation script to measure how well an LLM can use your server. ## Quick Start Ask the AI to help you build an MCP server for your chosen external API using the mcp-builder workflow, 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. Follow the four-phase workflow: research the API, implement shared utilities first, then tools, then create evaluations.

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

MCP servers are long-running processes that wait on stdio or HTTP, so running them directly blocks your terminal. Use the evaluation harness script which manages the server lifecycle, run the server in tmux, or use a timeout command like 'timeout 5s python server.py'.

What makes a good MCP tool design for LLMs?

Design tools around workflows rather than raw API endpoints, return concise high-signal data with configurable detail levels, and write error messages that suggest corrective actions. Use snake_case names with service prefixes like 'github_create_issue' and add annotations such as readOnlyHint.

Should I use Python or TypeScript for an MCP server?

Both are fully supported by official SDKs. Python uses FastMCP with Pydantic validation and suits data-heavy integrations, while TypeScript uses the MCP SDK with Zod schemas and strict typing, fitting Node.js ecosystems.

How do I evaluate whether my MCP server works well?

Create 10 complex, read-only questions with stable verifiable answers in an XML file, then run scripts/evaluation.py against your server via stdio, SSE, or HTTP. The harness reports accuracy, tool call counts, and agent feedback on tool quality.

Why does my MCP server return too much data to the LLM?

Tools that return unbounded results overwhelm the LLM's context window. Set a CHARACTER_LIMIT constant around 25,000 characters, implement pagination with limit and offset parameters, and truncate responses with clear guidance on filtering.