skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
pikakit/agent-skills1 installs

mcp-builder

Build MCP servers for AI agents with design principles and 4-phase build process. Use when creating new MCP servers, designing tool APIs, or evaluating MCP architectures. NOT for using existing MCP tools (use mcp-management).

How do I install this agent skill?

npx skills add https://github.com/pikakit/agent-skills --skill mcp-builder
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    The skill provides comprehensive guidance, design principles, and code templates for building Model Context Protocol (MCP) servers in Python and TypeScript. It follows industry standard security practices such as secret management via environment variables and input validation using Pydantic and Zod. No malicious code, obfuscation, or unauthorized data access patterns were detected.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

What does this agent skill do?

MCP Builder — Build MCP Servers for AI Agents

4 phases. Workflow over endpoints. 10-question evaluation. Context-aware output.


Prerequisites

Required: Python 3.10+ or Node.js 18+. MCP spec: https://modelcontextprotocol.io/llms-full.txt


When to Use

SituationAction
Build a new MCP serverFollow 4-phase process
Choose frameworkPython FastMCP vs TypeScript MCP SDK
Review MCP server qualityUse review checklist (4 items)
Test MCP serverCreate 10 evaluation questions
Learn MCP designRead rules/design-principles.md

System Boundaries

Owned by This SkillNOT Owned
4-phase build processMCP tool discovery (→ mcp-management)
Framework selection (2 options)API design (→ api-architect)
Review checklist (4 items)TypeScript patterns (→ typescript-expert)
Evaluation framework (10 questions)Server hosting/deployment

Expert decision skill: Produces build guidance. Does not create files or run code.


4-Phase Build Process (Fixed Order)

PhaseFocusDeliverable
1. ResearchStudy MCP spec + target APIAPI surface documented
2. ImplementBuild with selected frameworkServer code complete
3. ReviewQuality checklist passAll 4 items pass
4. Evaluate10 complex test questionsAll 10 pass

Framework Selection (Deterministic)

ConditionFramework
Team is python-heavy OR needs_asyncPython FastMCP
Team is typescript-heavy OR needs strict typingTypeScript MCP SDK
Balanced / no preferencePython FastMCP (default)

Review Checklist (4 Mandatory Items)

  • No duplicate code (DRY)
  • Error handling for all external calls
  • Full type coverage
  • All tools have detailed docstrings
# Python verification
python -m py_compile server.py

# TypeScript verification
tsc --noEmit

Evaluation Framework

Create 10 test questions that are:

CriterionRequirement
IndependentNo dependencies between questions
Read-onlyNever modify data
ComplexRequire multi-tool workflows
RealisticMatch real user scenarios
VerifiableDeterministic expected output
StableConsistent results across runs

Design Principles

PrincipleApplication
Workflow over endpointsDesign tools for agent tasks, not API mirrors
Context-aware outputSupport concise vs detailed modes
Actionable errorsError messages include recovery steps

Error Taxonomy

CodeRecoverableTrigger
ERR_INVALID_REQUEST_TYPENoRequest type not supported
ERR_INVALID_PHASEYesPhase number not 1-4
ERR_MISSING_EXPERIENCEYesTeam experience not provided
ERR_REFERENCE_NOT_FOUNDNoReference file missing

Zero internal retries. Deterministic; same context = same guidance.


Anti-Patterns

❌ Don't✅ Do
Mirror API endpoints as toolsDesign workflow-oriented tools
Skip evaluation phaseCreate 10 test questions
Omit docstrings on toolsDetailed docstrings for agent discovery
Embed API keys in tool codeUse environment variables
Skip research phaseRead MCP spec + target API first

📑 Content Map

FileDescriptionWhen to Read
design-principles.mdCore MCP conceptsPhase 1 (Research)
quickstart.mdGetting startedPhase 2 (Implement)
python-implementation.mdPython patternsPython selected
typescript-implementation.mdTypeScript patternsTypeScript selected
best-practices.mdDesign decisionsPhase 3 (Review)
evaluation.mdTesting frameworkPhase 4 (Evaluate)
engineering-spec.mdFull engineering specArchitecture review

Selective reading: Read ONLY files relevant to the current phase.


🔗 Related

ItemTypePurpose
mcp-managementSkillMCP tool discovery
api-architectSkillAPI design
typescript-expertSkillTS patterns

⚡ PikaKit v3.9.223

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/pikakit/agent-skills/mcp-builder">View mcp-builder on skillZs</a>