MCP Builder
Guides creation of high-quality MCP (Model Context Protocol) servers for integrating external APIs and services with LLMs using Python or TypeScript.
npx degit LangbaseInc/agent-skills/mcp-builder my-mcp-builder
Build MCP servers that expose external tools, resources, and APIs to Claude and other LLMs through the Model Context Protocol standard.
- Server Scaffolding - Generate MCP server structure
- Tool Integration - Expose APIs as LLM-callable tools
- Resource Management - Provide file and data resources
- Schema Definition - Define tool parameters and validation
- Error Handling - Robust error handling patterns
- Testing - Test MCP servers with Claude
Python
- Uses
mcpPython package - Type hints for tool definitions
- Async/await support
TypeScript
- Uses
@modelcontextprotocol/sdk - Full TypeScript type safety
- Modern async patterns
Tools
Expose functions that Claude can call:
- Function definition and parameters
- Input validation
- Return value formatting
Resources
Provide data and files:
- File reading
- API data fetching
- Database queries
Prompts
Pre-defined prompt templates:
- Reusable prompts
- Parameter substitution
- Context injection
- Plan Server - Define tools and resources
- Scaffold - Generate server structure
- Implement Tools - Add tool logic
- Test Locally - Validate with Claude Code
- Deploy - Package and distribute
- Define clear tool schemas
- Validate inputs thoroughly
- Handle errors gracefully
- Document tool usage
- Test with real LLM calls
- Version your server
- Provide examples
- API integration (GitHub, Stripe, etc.)
- Database access
- File system operations
- Custom business logic
- Third-party service integration
- Data transformation tools