mcp-builder

Guides building and evaluating MCP servers in Python or TypeScript.

Updated May 13, 2026
One-click install
npx skills add https://github.com/MarcoBolsa/motor-cotacoes --skill mcp-builder-marcobolsa
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: mcp-builder
Source: https://github.com/MarcoBolsa/motor-cotacoes/tree/main/.claude/skills/mcp-builder
Command: npx skills add https://github.com/MarcoBolsa/motor-cotacoes --skill mcp-builder-marcobolsa

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Building MCP servers that LLMs can actually use effectively requires careful tool design, input 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, and actionable error messages rather than simple API endpoint wrapping. - 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 questions and run automated tests against MCP servers over stdio, SSE, or HTTP transports. - Use Case: You need to expose a company's internal API to Claude. Use this Skill to plan the tools, implement the server following best practices, and verify quality with 10 complex evaluation questions. ## 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. Follow the four-phase workflow: research the API, implement shared utilities first, review code quality, then create evaluations.

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

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

What makes a good MCP tool design for LLMs?▼

Design tools around workflows rather than raw API endpoints, consolidate related operations, and return high-signal concise responses. Use snake_case names with service prefixes, provide tool annotations like readOnlyHint, and write error messages that suggest corrective next steps.

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 server.registerTool with Zod schemas and strict typing, fitting Node-based stacks.

How do I evaluate whether my MCP server works well?▼

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

Why does my MCP tool response overwhelm the LLM context?▼

Tools returning unbounded data exhaust the agent'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.