build-mcp-server
This skill should be used when the user asks to "build an MCP server", "create an MCP", "make an MCP integration", "wrap an API for Claude", "expose tools to…
Skill by w0rp
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/w0rp-build-mcp-server
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, backend, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/build-mcp-server
What's inside
- Skill name
build-mcp-server- Description
- This skill should be used when the user asks to "build an MCP server", "create an MCP", "make an MCP integration", "wrap an API for Claude", "expose tools to Claude", "make an MCP app", or discusses building something with the Model Context Protocol. It is the entry point for MCP server development — it interrogates the user about their use case, determines the right deployment model (remote HTTP, MCPB, local stdio), picks a tool-design pattern, and hands off to specialized skills.
- License
- Unlicense
- Instructions
- 217 lines in SKILL.md · view on GitHub
Files (9)
- SKILL.md
- auth.md · references/
- deploy-cloudflare-workers.md · references/
- elicitation.md · references/
- remote-http-scaffold.md · references/
- resources-and-prompts.md · references/
- server-capabilities.md · references/
- tool-design.md · references/
- versions.md · references/
SKILL.md (first lines)
# Build an MCP Server You are guiding a developer through designing and building an MCP server that works seamlessly with Claude. MCP servers come in many forms — picking the wrong shape early causes painful rewrites later. Your first job is **discovery, not code**. **Load Claude-specific context first.** The MCP spec is generic; Claude has additional auth types, review criteria, and limits. Before answering questions or scaffolding, fetch `https://claude.com/docs/llms-full.txt` (the full export of the Claude connector docs) so your guidance reflects Claude's actual constraints. Do not start scaffolding until you have answers to the questions in Phase 1. If the user's opening message already answers them, acknowledge that and skip straight to the recommendation. --- ## Phase 1 — Interrogate the use case Ask these questions conversationally (batch them into one message, don't interrogate one-at-a-time). Adapt wording to what the user has already told you. ### 1. What does it connect to? | If it connects to… | Likely direction | |---|---| | A cloud API (SaaS, REST, GraphQL) | Remote HTTP server | | A local process, filesystem, or desktop app | MCPB or local stdio | | Hardware, OS-level APIs, or user-specific state | MCPB | | Nothing external — pure logic / computation | Either — default to remote | ### 2. Who will use it? - **Just me / my team, on our machines** → Local stdio is acceptable (easiest to prototype) - **Anyone who installs it** → Remote HTTP (strongly preferred) or MCPB (if it *must* be local) - **Users of Claude desktop who want UI widgets** → MCP app (remote or MCPB) ### 3. How many distinct actions does it expose? This determines the tool-design pattern — see Phase 3. - **Under ~15 actions** → one tool per action - **Dozens to hundreds of actions** (e.g. wrapping a large API surface) → search + execute pattern ### 4. Does a tool need mid-call user input or rich display? - **Simple structured input** (pick from list, enter a value, confirm) → **Elicitation** — spec-native, zero UI code. *Host support is rolling out* (Claude Code ≥2.1.76) — always pair with a capability check and fallback. See `references/elicitation.md`. - **Rich/visual UI** (charts, custom pickers with search, live dashboards) → **MCP app widgets** — iframe-based, needs `@modelcontextprotocol/ext-apps`. See `build-mcp-app` skill. - **Neither** → plain tool returning text/JSON. ### 5. What auth does the upstream service use? - None / API key → straightforward - OAuth 2.0 → you'll need a remote server with CIMD (preferred) or DCR support; see `references/auth.md` --- ## Phase 2 — Recommend a deployment model Based on the answers, recommend **one** path. Be opinionated. The ranked options: ### ⭐ Remote streamable-HTTP MCP server (default recommendation) A hosted service speaking MCP over streamable HTTP. This is the **recommended path** for anything wrapping a cloud API. **Why it wins:** - Zero install friction — users add a URL, done - One deployment serves all users; you control upgrades - OAuth flows work properly (the server can handle redirects, DCR, token storage) - Works across Claude desktop, Claude Code, Claude.ai, and third-party MCP hosts **Choose this unless** the server *must* touch the user's local machine. → **Fastest deploy:** Cloudflare Workers — `references/deploy-cloudflare-workers.md` (zero to live URL in two commands) → **Portable Node/Python:** `references/remote-http-scaffold.md` (Express or FastMCP, runs on any host) ### Elicitation (structured input, no UI build) If a tool just needs the user to confirm, pick an option, or fill a short form, **elicitation** does it with zero UI code. The server sends a flat JSON schema; the host renders a native form. Spec-native, no extra packages. **Caveat:** Host support is new (Claude Code shipped it in v2.1.76; Desktop unconfirmed). The SDK throws if the client doesn't advertise the capability. Always check `clientCapabilities.elicitation` first and have a fallback — see `references/elicitation.md` for the canonical pattern. This is the right spec-correct approach; host coverage will catch up. Escalate to `build-mcp-app` widgets when you need: nested/complex data, scrollable/searchable lists, visual previews, live updates. ### MCP app (remote HTTP + interactive UI) Same as above, plus **UI resources** — interactive widgets rendered in chat. Rich pickers with search, charts, live dashboards, visual previews. Built once, renders in Claude *and* ChatGPT. **Choose this when** elicitation's flat-form constraints don't fit — you need custom layout, large searchable lists, visual content, or live updates. Usually remote, but can be shipped as MCPB if the UI needs to drive a local app. → Hand off to the **`build-mcp-app`** skill. ### MCPB (bundled local server) A local MCP server **packaged with its runtime** so users don't need Node/Python installed. The sanctioned way to ship local servers. **Choose this when** the server *must* run on the user's machine — it reads local files, drives a desktop app, talks to localhost services, or needs OS-level access. → Hand off to the **`build-mcpb`** skill. ### Local stdio (npx / uvx) — *not recommended for distribution* A script launched via `npx` / `uvx` on the user's machine. Fine for **personal tools and prototypes**. Painful to distribute: users need the right runtime, you can't push updates, and the only distribution channel is Claude Code plugins. Recommend this only as a stepping stone. If the user insists, scaffold it but note the MCPB upgrade path. --- ## Phase 3 — Pick a tool-design pattern Every MCP server exposes tools. How you carve them matters more than most people expect — tool schemas land directly in Claude's context window. ### Pattern A: One tool per action (small surface) When the action space is small (< ~15 operations), give each a dedicated tool with a tight description and schema. ``` create_issue — Create a new issue. Params: title, body, labels[] update_issue — Update an existing issue. Params: id, title?, body?, state? search_issues — Search issues by query string. Params: query, limit? add_comment — Add a comment to an issue. Params: issue_id, body ``` **Why it works:** Claude reads the tool list once and knows exactly what's possible. No discovery round-trips. Each tool's schema validates inputs precisely.
From w0rp/claude-code-config, Unlicense.
More from w0rp/claude-code-config
- 0.592score
claude-automation-recommender
w0rp
Analyze a codebase and recommend Claude Code automations (hooks, subagents, skills, plugins, MCP servers).
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
solo
w0rp
Work on one hard mathematics problem in this session yourself, with no sub-agents: reason in stages, record each settled step in a notes file so that nothing…
SkillAFreshness: A★ 1Claude Code +9 - 0.583score
siege
w0rp
Work on one hard mathematics problem in rounds: each round a judge writes a few self-contained questions, independent workers answer them, and the judge keeps…
SkillAFreshness: A★ 1Claude Code +9 - 0.583score
claude-security
w0rp
Claude Security: scan the codebase (the whole repository or a scoped part of it), scan changes (this branch's or a pull request's diff, or one commit), or…
SkillAFreshness: A★ 1Claude Code +9 - 0.497score
cardputer-buddy
w0rp
Iterate on the Cardputer-Adv MicroPython app bundle (Claude Buddy, Snake, Hello) after the device is already provisioned via m5-onboard.
SkillCFreshness: C★ 1Claude Code +9 - 0.493score
m5-onboard
w0rp
End-to-end onboarding for a freshly-plugged-in M5Stack ESP32 device (Cardputer, Cardputer-Adv, Core, CoreS3, Stick) — detect on USB, flash UIFlow 2.0…
SkillCFreshness: C★ 1Claude Code +9 - 0.477score
build-mcp-app
w0rp
This skill should be used when the user wants to build an "MCP app", add "interactive UI" or "widgets" to an MCP server, "render components in chat", build…
SkillCFreshness: C★ 1Claude Code +9 - 0.437score
claude-md-improver
w0rp
Audit and improve CLAUDE.md files in repositories.
SkillDFreshness: D★ 1Claude Code +9 - 0.437score
math-olympiad
w0rp
Solve competition math problems (IMO, Putnam, USAMO, AIME) with adversarial verification that catches the errors self-verification misses.
SkillDFreshness: D★ 1Claude Code +9 - 0.428score
configure
w0rp
Check iMessage channel setup and review access policy.
SkillDFreshness: D★ 1Claude Code +9 - 0.428score
configure
w0rp
Set up the Discord channel — save the bot token and review access policy.
SkillDFreshness: D★ 1Claude Code +9 - 0.402score
example-skill
w0rp
This skill should be used when the user asks to "demonstrate skills", "show skill format", "create a skill template", or discusses skill development patterns.
SkillDFreshness: D★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Apr 22, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Unlicense
- Repository
- github.com/w0rp/claude-code-config
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.324score
build-mcp-server
godnexusia-sketch
This skill should be used when the user asks to "build an MCP server", "create an MCP", "make an MCP integration", "wrap an API for Claude", "expose tools to…
SkillAFreshness: AClaude Code +9 - 0.300score
build-mcp-server
SEARO1
This skill should be used when the user asks to "build an MCP server", "create an MCP", "make an MCP integration", "wrap an API for Claude", "expose tools to…
SkillBFreshness: BClaude Code +9 - 0.283score
build-mcp-server
Dparamet
This skill should be used when the user asks to "build an MCP server", "create an MCP", "make an MCP integration", "wrap an API for Claude", "expose tools to…
SkillCFreshness: C★ 1Claude Code +9 - 0.270score
build-mcp-server
Ashutosh6393
This skill should be used when the user asks to "build an MCP server", "create an MCP", "make an MCP integration", "wrap an API for Claude", "expose tools to…
SkillCFreshness: CClaude Code +9 - 0.270score
build-mcp-server
khelil
This skill should be used when the user asks to "build an MCP server", "create an MCP", "make an MCP integration", "wrap an API for Claude", "expose tools to…
SkillCFreshness: CClaude Code +9 - 0.225score
build-mcp-server
Wizarck
This skill should be used when the user asks to "build an MCP server", "create an MCP", "make an MCP integration", "wrap an API for Claude", "expose tools to…
SkillDFreshness: DClaude Code +9
More from w0rp
- 0.592score
claude-automation-recommender
w0rp
Analyze a codebase and recommend Claude Code automations (hooks, subagents, skills, plugins, MCP servers).
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
solo
w0rp
Work on one hard mathematics problem in this session yourself, with no sub-agents: reason in stages, record each settled step in a notes file so that nothing…
SkillAFreshness: A★ 1Claude Code +9 - 0.583score
claude-security
w0rp
Claude Security: scan the codebase (the whole repository or a scoped part of it), scan changes (this branch's or a pull request's diff, or one commit), or…
SkillAFreshness: A★ 1Claude Code +9 - 0.583score
siege
w0rp
Work on one hard mathematics problem in rounds: each round a judge writes a few self-contained questions, independent workers answer them, and the judge keeps…
SkillAFreshness: A★ 1Claude Code +9 - 0.497score
cardputer-buddy
w0rp
Iterate on the Cardputer-Adv MicroPython app bundle (Claude Buddy, Snake, Hello) after the device is already provisioned via m5-onboard.
SkillCFreshness: C★ 1Claude Code +9 - 0.493score
m5-onboard
w0rp
End-to-end onboarding for a freshly-plugged-in M5Stack ESP32 device (Cardputer, Cardputer-Adv, Core, CoreS3, Stick) — detect on USB, flash UIFlow 2.0…
SkillCFreshness: C★ 1Claude Code +9
Cite this page
build-mcp-server skill. Agent Mart. https://agentmart.dev/skills/w0rp-build-mcp-server (last updated 2026-10-24)