This skill guides building high-quality MCP servers enabling LLMs to safely interact with external services through thoughtful tool design.
npx playbooks add skill s-hiraoku/harnesses-factory --skill mcp-builder
Build MCP servers that enable LLMs to interact with external services through thoughtfully designed tools.
Key Principle: Don't simply wrap API endpoints—build thoughtful, high-impact workflow tools.
| Type | Transport | Use Case |
|------|-----------|----------|
| stdio | Process pipes | Local custom servers |
| HTTP | REST | Cloud-hosted servers |
| SSE | Server-Sent Events | Real-time updates |
| WebSocket | Bidirectional | Real-time communication |
// Good: Workflow-oriented
async function analyzeAndSummarize(url: string) {
// Fetches, parses, and summarizes in one call
}
// Avoid: Simple API wrapper
async function fetchPage(url: string) {
// Just wraps fetch()
}
import { Server } from "@modelcontextprotocol/sdk/server/index.js";
const server = new Server({
name: "my-server",
version: "1.0.0"
}, {
capabilities: { tools: {} }
});
from mcp.server.fastmcp import FastMCP
mcp = FastMCP("my-server")
@mcp.tool()
def my_tool(param: str) -> str:
"""Tool description."""
return result
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.