MCP Builder
Four-phase engineering playbook for designing, implementing, and evaluating production Model Context Protocol servers.
Sample Trigger Prompts
“Use mcp-builder to scaffold a TypeScript MCP server wrapping our internal Linear and GitHub workflows.”
“Design read/write MCP tool schemas with Zod validation, pagination, and actionable error messages.”
Overview
Building a Model Context Protocol (MCP) server that merely wraps REST endpoints often fails in real agent loops because tool descriptions are ambiguous, responses overflow context windows, or errors lack recovery hints. mcp-builder codifies Anthropic’s battle-tested four-phase workflow for high-signal MCP servers.
Key Capabilities
- Agent-Centric Tool Design: Consolidates multi-step API calls into workflow-oriented tools with clear Zod/Pydantic schemas and concise JSON/Markdown response modes.
- TypeScript & Python SDK Fluency: Enforces
@modelcontextprotocol/sdkandFastMCPconventions, stdio vs. Streamable HTTP transports, and strict input sanitization. - Evaluation-Driven Verification: Generates realistic multi-hop evaluation questions (
evaluations.xml) to verify that an LLM can actually discover and compose your tools end-to-end.
Security & Permission Notes
When building MCP servers that expose filesystem, database, or SaaS credentials, follow least-privilege tool annotations (readOnlyHint, destructiveHint) and never echo raw tokens in tool outputs.
Best Paired With
- Trail of Bits Security Audit before exposing an MCP server to external clients
- Cloudflare Platform for hosting remote Streamable HTTP MCP servers on Workers
More in Coding & Agent Workflows
Browse category →Addy Osmani Agent Skills
Production-grade engineering skills spanning spec definition, incremental builds, code review, performance, and shipping.
$ npx skills add addyosmani/agent-skillsObra Superpowers
Disciplined agentic SDLC framework enforcing brainstorming, spec planning, strict TDD, and verification before completion.
$ npx skills add obra/superpowersSkill Creator
Meta-skill for authoring, validating, benchmarking, and packaging portable SKILL.md modules under the Agent Skills standard.
$ npx skills add anthropics/skills --skill skill-creator