This is a comprehensive guide for building MCP servers that let LLMs interact with external APIs and services. It walks you through a four phase process starting with deep research into agent centric design principles (like building for workflows instead of just wrapping endpoints), studying the MCP protocol docs, then implementing tools systematically in either Python with FastMCP or TypeScript with the MCP SDK. The standout bit is the emphasis on designing for limited context windows and writing error messages that actually help agents figure out what to do next. It includes specific best practices for input validation with Pydantic or Zod, response formatting, and pagination handling.

skills.sh installs
315
GitHub stars
2.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add mrgoonie/claudekit-skills --skill mcp-builder --agent claude-code

Installs into .claude/skills of the current project.

Files

MCP Server Development Guide

Overview

To create high-quality MCP (Model Context Protocol) servers that enable LLMs to effectively interact with external services, use this skill. An MCP server provides tools that allow LLMs to access external services and APIs. The quality of an MCP server is measured by how well it enables LLMs to accomplish real-world tasks using the tools provided.


Process

🚀 High-Level Workflow

Creating a high-quality MCP server involves four main phases:

Phase 1: Deep Research and Planning

1.1 Understand Agent-Centric Design Principles

Before diving into implementation, understand how to design tools for AI agents by reviewing these principles:

Build for Workflows, Not Just API Endpoints:

  • Don't simply wrap existing API endpoints - build thoughtful, high-impact workflow tools
  • Consolidate related operations (e.g., schedule_event that both checks availability and creates event)
  • Focus on tools that enable complete tasks, not just individual API calls
  • Consider what workflows agents actually need to accomplish

Sponsors

Details

Repository
github.com/mrgoonie/claudekit-skills
Categories
Documentation, Code Review & Quality, AI & Agent Building, Python
First seen
Jun 3, 2026

More from mrgoonie/claudekit-skills

All 28
1nicepkg avatarskill-creatornicepkg/ai-workflowGuide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabil315skills.sh installs
2bmad-code-org avatarbmad-agent-tech-writerbmad-code-org/bmad-methodTechnical documentation specialist and knowledge curator. Use when the user asks to talk to Paige or requests the tech writer.314skills.sh installs
3davila7 avatarcreate-prdavila7/claude-code-templatesCreate pull requests following Sentry conventions. Use when opening PRs, writing PR descriptions, or preparing changes for review. Follows Sentry's code review 314skills.sh installs
4ios-agent avatarmetal-gpuios-agent/iosagent.devWrite, explain, and debug Metal GPU code including shaders (vertex, fragment, compute), render pipelines, compute pipelines, buffer/texture management, and Meta314skills.sh installs
5julianobarbosa avatarobsidian-vault-managementjulianobarbosa/claude-code-skillsCreates, edits, and manages Obsidian vault content including notes, templates, daily notes, and dataview queries. Use when working with markdown files in an Obs311skills.sh installs
6leonardomso avatarwrite-conceptleonardomso/33-js-conceptsWrite or review JavaScript concept documentation pages for the 33 JavaScript Concepts project, following strict structure and quality guidelines308skills.sh installs