mcp-builder

Build MCP servers enabling LLMs to interact with external services.

Updated Dec 21, 2025
One-click install
npx skills add https://github.com/s-hiraoku/claude-code-harnesses-factory --skill mcp-builder-s-hiraoku
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mcp-builder
Source: https://github.com/s-hiraoku/claude-code-harnesses-factory/tree/main/.claude/skills/mcp-builder
Command: npx skills add https://github.com/s-hiraoku/claude-code-harnesses-factory --skill mcp-builder-s-hiraoku

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill guides building high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through thoughtfully designed tools.

Core Features & Use Cases

  • Four-Phase Development: Research & Planning, Implementation, Review & Refine, Create Evaluations.
  • Tool Design: Emphasizes workflow-oriented tools and avoids simple API wrappers.
  • Implementation Standards: TypeScript and Python examples; JSON Schema validation; security and error handling.

Quick Start

Create an MCP server skeleton following the four-phase approach and start with a basic tool.

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 that lets Claude interact with external services?

Build an MCP server by designing workflow-oriented tools with JSON Schema validation, implementing secure input handling, and choosing a transport protocol—stdio, HTTP, SSE, or WebSocket. Follow the four-phase approach: research your service's API, implement tool handlers in TypeScript or Python, review for security and error handling, then evaluate with test cases.

What's the difference between stdio, HTTP, SSE, and WebSocket MCP servers?

Stdio servers run as subprocesses with stdin/stdout communication, ideal for local tools. HTTP servers handle request-response over standard web protocols. SSE servers use server-sent events for streaming. WebSocket servers enable bidirectional real-time communication. Choose based on your integration's latency, state management, and deployment requirements.

Do I need JSON Schema validation when building MCP tool interfaces?

Yes. JSON Schema validation is required to define tool parameters, ensure type safety, and provide Claude with precise input constraints. This prevents malformed requests, improves error messages, and enables robust security-first input validation across all tool definitions.

How do I handle errors and edge cases in MCP servers?

MCP servers require comprehensive error handling with explicit error messages, configurable detail levels for debugging, and security-conscious input validation. Anticipate service failures, rate limits, and invalid requests; return structured errors that Claude can interpret and retry appropriately.

Can I use TypeScript and Python together in a single MCP server?

The skill supports both TypeScript and Python implementations independently. Choose one language for your server codebase to maintain consistency. However, you can reference examples in both languages to understand design patterns and apply them to your chosen implementation.

What makes a workflow-oriented tool better than a simple API wrapper?

Workflow-oriented tools solve specific user problems by combining multiple API calls and business logic into cohesive actions, rather than exposing raw endpoints. They reduce Claude's decision complexity, handle authentication and state transparently, and deliver meaningful results with fewer round trips.