mcp-builder

mcp-builder is a skill for Claude Code from alebgl77/claude-inc. It costs 108 tokens per session (978 once invoked), scanned A, original, MIT.

A guide for building Model Context Protocol servers in Python or TypeScript. These servers expose clearly described tools that let an AI model perform jobs through an API, database, or other service.

In plain words
What is it for?
Use it to create or improve an MCP server for services such as GitHub, Jira, databases, or internal APIs, and to connect that server to an MCP-compatible client.
Why use it?
It helps turn a confusing collection of API endpoints into a small set of understandable model actions, with useful input schemas, examples, pagination, tests, and actionable errors.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Part of the claude-inc plugin — 50 skills, 3 commands, 8 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/alebgl77/claude-inc/mcp-builder
Any agent
npx skills add alebgl77/claude-inc --skill mcp-builder
Clone the repo
git clone --depth 1 https://github.com/alebgl77/claude-inc

Made for: Claude Code.

Or install claude-inc, the plugin that ships this one along with the rest of its 50 skills, 3 commands, 8 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mcp-builder

README.md
[![agentmods](https://agentmods.dev/badge/skills/alebgl77/claude-inc/mcp-builder.svg)](https://agentmods.dev/skills/alebgl77/claude-inc/mcp-builder)
Your own site
<a href="https://agentmods.dev/skills/alebgl77/claude-inc/mcp-builder"><img src="https://agentmods.dev/badge/skills/alebgl77/claude-inc/mcp-builder.svg" alt="Measured on agentmods" height="20"></a>
Per session 108 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 978 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00108 $0.00978
Opus 5 $0.00054 $0.00489
Sonnet 5 $0.00022 $0.00196
Haiku 4.5 $0.00011 $0.00098

Measured 5d ago against content hash 8cf25e89a415, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

mcp-builder scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/mcp-builder/SKILL.md · 72 lines

How it starts

The opening of the file, as written. The whole thing — 72 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MCP Builder — Tool Wright

"Wire up MCP servers"

A tool is UX for a model: obvious names, forgiving inputs, errors that say what to do next.

When to use

  • "Build an MCP server for " — GitHub, Jira, a database, an internal REST API
  • "Wrap this API so Claude can call it" / "connect Claude to our ticketing system"
  • Adding, renaming, or hardening tools on an existing server
  • A server's tools confuse the model — vague names, loose schemas, cryptic errors
  • Choosing Python vs TypeScript for a new integration

Workflow

  1. Pick the stack. Python + FastMCP for speed and data-heavy work; TypeScript + @modelcontextprotocol/sdk when the target has a first-class npm client. Match the host repo's language when embedding.
  2. Design around workflows, not endpoints. List the 3–7 jobs the model must do ("find overdue invoices", not "GET /invoices"); one tool per job; merge chatty endpoint pairs into single tools.
  3. Name and specify. verb_noun tool names. Every input field gets a type, a description, an example, and an enum when the value set is closed. Required vs optional is explicit.
  4. Write errors that teach. Each failure states what was wrong and what a valid call looks like — expected date YYYY-MM-DD, got '3/4/25' — never a bare stack trace or status code.
  5. Paginate every list. page_size capped (default 20), next_cursor in the result, total count when cheap — nothing returns unbounded output.
  6. Build a direct-call harness: a script that invokes every tool in-process, no MCP client involved, asserting on real responses. Run until green.
  7. Wire it in — project .mcp.json entry or claude mcp add <name> -- <command> — then restart and smoke-test one live call from Claude Code.
  8. Ship a README: tool list with one-line jobs, auth env vars, config snippet.
  9. Iterate with the consumer: watch Claude use the tools on a real task; rename or re-scope anything it misuses.

Output format

invoice-server/
├── server.py          # FastMCP app — one @mcp.tool per workflow
├── harness.py         # direct-call tests: uv run harness.py
├── pyproject.toml
├── .env.example       # INVOICE_API_TOKEN=
└── README.md          # tools, auth, config snippet

TypeScript variant: src/index.ts + tsconfig.json; wire with "command": "node", "args": ["dist/index.js"]

.mcp.json:
{
  "mcpServers": {
    "invoice-server": {
      "command": "uv",
      "args": ["run", "--directory", "./invoice-server", "server.py"],
      "env": { "INVOICE_API_TOKEN": "${INVOICE_API_TOKEN}" }
    }
  }
}

Read the full file on GitHub · 72 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 72 lines · 108 tokens per session scan A 8cf25e89a415

Subscribe to this mod's changes

mcp-builder is a skill published in the GitHub repository alebgl77/claude-inc (14 stars, last pushed 3d ago), licensed MIT. It adds 108 tokens to every session and 978 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

pytorch-patterns

PyTorch deep learning patterns and best practices for building robust, efficient, and reproducible training pipelines, model architectures, and data loading.

affaan-m/ECC · 32 tokens

accelerate

Run PyTorch training across GPUs with minimal changes.

NousResearch/hermes-agent · 13 tokens

content-hash-cache-pattern

Cache expensive file processing results using SHA-256 content hashes — path-independent, auto-invalidating, with service layer separation.

affaan-m/ECC · 30 tokens

sensitive-logging-audit

Audit and fix sensitive-data exposure through Python runtime logging in openai-agents-python. Use when reviewing logging, print, warnings, stderr, traceback, MCP names, model or tool exceptions, redaction flags, or any diagnostic path that may retain user data.

openai/openai-agents-python · 59 tokens

dask

Distributed computing for larger-than-RAM pandas/NumPy workflows. Use when you need to scale existing pandas/NumPy code beyond memory or across clusters. Best for parallel file processing, distributed ML, integration with existing pandas code. For out-of-core analytics on single machine use vaex; for in-memory speed…

K-Dense-AI/scientific-agent-skills · 69 tokens

optimize-for-gpu

GPU-accelerates scientific Python on NVIDIA hardware and verifies that the result is correct and faster. Use for CUDA/GPU optimization; CPU-bound NumPy, SciPy, pandas, scikit-learn, NetworkX, scikit-image, vector-search, image-processing, graph, simulation, or file-I/O workloads; CuPy, cuDF, cuML, cuGraph, cuVS…

K-Dense-AI/scientific-agent-skills · 151 tokens