mcp-builder

Guide for building high-quality Model Context Protocol (MCP) servers that allow LLMs to interact with external services. Use when creating new MCP integrations, tools, or servers for Codex or other AI systems.

5 stars

Best use case

mcp-builder is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Guide for building high-quality Model Context Protocol (MCP) servers that allow LLMs to interact with external services. Use when creating new MCP integrations, tools, or servers for Codex or other AI systems.

Teams using mcp-builder should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/mcp-builder/SKILL.md --create-dirs "https://raw.githubusercontent.com/vamseeachanta/workspace-hub/main/.agents/skills/development/mcp-builder/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/mcp-builder/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How mcp-builder Compares

Feature / Agentmcp-builderStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Guide for building high-quality Model Context Protocol (MCP) servers that allow LLMs to interact with external services. Use when creating new MCP integrations, tools, or servers for Codex or other AI systems.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Mcp Builder

## Overview

This skill teaches how to build high-quality MCP servers that allow large language models to interact with external services through well-designed tools.

## Quick Start

```bash
# Create and setup MCP server project
mkdir my-mcp-server && cd my-mcp-server
npm init -y
npm install @modelcontextprotocol/sdk zod
npm install -D typescript @types/node

# Create source directory
mkdir src
```

```typescript
// src/index.ts - Minimal MCP Server
import { Server } from "@modelcontextprotocol/sdk/server/index.js";
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
import { CallToolRequestSchema, ListToolsRequestSchema } from "@modelcontextprotocol/sdk/types.js";

const server = new Server(
  { name: "my-server", version: "1.0.0" },
  { capabilities: { tools: {} } }
);

server.setRequestHandler(ListToolsRequestSchema, async () => ({
  tools: [{
    name: "hello_world",

*See sub-skills for full details.*

## When to Use

- Creating integrations for Codex with external APIs
- Building custom tooling for AI-assisted workflows
- Extending Codex's capabilities with domain-specific tools
- Automating interactions with third-party services
- Building reusable MCP servers for team sharing

## Resources

- MCP Documentation: https://modelcontextprotocol.io
- MCP TypeScript SDK: https://github.com/modelcontextprotocol/typescript-sdk
- MCP Inspector: https://github.com/modelcontextprotocol/inspector
- Top MCP Servers: https://mcpcat.io/guides/best-mcp-servers-for-Codex/

## Related Skills

- [yaml-workflow-executor](../yaml-workflow-executor/SKILL.md) - Workflow automation
- [webapp-testing](../webapp-testing/SKILL.md) - Testing web integrations
- [git-worktree-workflow](../git-worktree-workflow/SKILL.md) - Parallel development

---

## Version History

- **1.2.0** (2026-01-02): Upgraded to SKILL_TEMPLATE_v2 format with Quick Start, Error Handling, Metrics, Execution Checklist
- **1.1.0** (2025-12-30): Added .mcp.json project config, permission wildcards, MCP_TIMEOUT, security best practices
- **1.0.0** (2025-10-15): Initial release with four-phase development process

## Sub-Skills

- [Example 1: Database Query Tool (+1)](example-1-database-query-tool/SKILL.md)
- [Do (+1)](do/SKILL.md)

## Sub-Skills

- [Error Handling](error-handling/SKILL.md)
- [Execution Checklist](execution-checklist/SKILL.md)
- [Metrics](metrics/SKILL.md)

## Sub-Skills

- [Phase 1: Deep Research and Planning (+3)](phase-1-deep-research-and-planning/SKILL.md)
- [Language Choice (+4)](language-choice/SKILL.md)
- [Pagination (+2)](pagination/SKILL.md)
- [Integration with Codex](integration-with-Codex/SKILL.md)
- [.mcp.json for Team Sharing (+2)](mcpjson-for-team-sharing/SKILL.md)
- [Security Best Practices](security-best-practices/SKILL.md)

Related Skills

rag-system-builder

5
from vamseeachanta/workspace-hub

Build Retrieval-Augmented Generation (RAG) Q&A systems with Codex or OpenAI. Use for creating AI assistants that answer questions from document collections, technical libraries, or knowledge bases.

knowledge-base-builder

5
from vamseeachanta/workspace-hub

Build searchable knowledge bases from document collections (PDFs, Word, text files). Use for creating technical libraries, standards repositories, research databases, or any large document collection requiring full-text search.

interactive-dashboard-builder

5
from vamseeachanta/workspace-hub

Create self-contained HTML/JavaScript dashboards with Chart.js, filters, and professional styling

web-artifacts-builder-self-contained-architecture

5
from vamseeachanta/workspace-hub

Sub-skill of web-artifacts-builder: Self-Contained Architecture (+1).

web-artifacts-builder-file-naming

5
from vamseeachanta/workspace-hub

Sub-skill of web-artifacts-builder: File Naming (+2).

web-artifacts-builder-common-cdn-libraries

5
from vamseeachanta/workspace-hub

Sub-skill of web-artifacts-builder: Common CDN Libraries.

web-artifacts-builder-basic-template

5
from vamseeachanta/workspace-hub

Sub-skill of web-artifacts-builder: Basic Template.

web-artifacts-builder

5
from vamseeachanta/workspace-hub

Build self-contained interactive web applications as single HTML files. Use for creating demos, prototypes, interactive tools, and standalone web experiences that work without external servers.

web-artifacts-builder-1-interactive-dashboard

5
from vamseeachanta/workspace-hub

Sub-skill of web-artifacts-builder: 1. Interactive Dashboard (+1).

interactive-menu-builder-5-confirmation-dialogs

5
from vamseeachanta/workspace-hub

Sub-skill of interactive-menu-builder: 5. Confirmation Dialogs (+1).

interactive-menu-builder-3-table-display

5
from vamseeachanta/workspace-hub

Sub-skill of interactive-menu-builder: 3. Table Display (+1).

interactive-menu-builder-2-multi-level-menu-system

5
from vamseeachanta/workspace-hub

Sub-skill of interactive-menu-builder: 2. Multi-Level Menu System.