mcp-server-builder

Solid

Step-by-step guidance for creating a new MCP server with FastMCP or the TypeScript SDK — tool definitions, resource handlers, error responses, and usage examples.

AI & Automation 9 stars 1 forks Updated 6 days ago MIT

Install

View on GitHub

Quality Score: 85/100

Stars 20%
33
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# MCP Server Builder ## What this skill does This skill walks you through building a Model Context Protocol (MCP) server from scratch. MCP servers expose tools, resources, and prompts to AI agents (Claude, Cursor, Cline, etc.). This skill covers both Python (FastMCP) and TypeScript (official SDK) implementations, with production-ready patterns for error handling, input validation, and tool description writing. ## How to use ### Claude Code / Cline Copy this file to `.agents/skills/mcp-server-builder/SKILL.md` in your project root. Then ask: - *"Use the MCP Server Builder to create a server that exposes our internal database as tools."* - *"Build an MCP server in Python that wraps our REST API."* Provide: - What capabilities you want to expose (tools, resources, or both) - Language preference (Python or TypeScript) - Whether it will run locally (stdio) or as a remote server (HTTP) - What systems it needs to connect to ### Cursor / Codex Describe the tools you want to expose alongside these instructions. ## The Prompt / Instructions for the Agent When asked to build an MCP server, produce the following: ### Step 1 — Choose transport | Use case | Transport | |---|---| | Local tool for one developer | stdio (local process) | | Team-shared server | Streamable HTTP (remote) | | Claude Desktop integration | stdio | | Multi-user / production | HTTP with auth | ### Step 2a — Python implementation (FastMCP) ```python # Install: pip install fastmcp from fastmcp import Fas...

Details

Author
Notysoty
Repository
Notysoty/openagentskills
Created
5 months ago
Last Updated
6 days ago
Language
JavaScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category