/mcp-server-dev:build-mcp-serverfrom mcp-server-dev
Build, refactor, review, or release an MCP server; choose Go, TypeScript, Python, or Rust; define tools and schemas; select remote HTTP or local stdio; design auth; add optional MCP Apps UI; or validate MCP 2026-07-28 and client portability.
Ships in mcp-server-dev. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This is the front door for MCP server work.
The default greenfield architecture is a Go server using the official Go SDK,
stateless Streamable HTTP at /mcp, and TypeScript only for optional MCP App
UI. The current verified baseline is Go 1.27.0 with the SDK pinned to
v1.7.0; keep Go 1.25 as the minimum SDK floor when broader build-toolchain
compatibility matters.
Do not replace a healthy existing stack merely to follow the default.
Read these first:
For current product behavior, fetch the live documentation before making version-sensitive claims.
Before proposing code:
AGENTS.md, dependency files, transport, auth, tools, tests, deployment, and release processChoose one primary shape.
| Shape | Use when |
|---|---|
| Remote tool-only | Shared API, database, or service integration without custom UI |
| Remote MCP App | Shared server plus inline UI |
| Local stdio | Filesystem, desktop app, localhost, or OS integration |
| Local MCPB | A target host needs one-file local installation |
| Hybrid | A shared remote core plus a separate local adapter is genuinely required |
Do not use MCPB for a normal cloud integration.
For every tool define:
Use this when...additionalPropertiesreadOnlyHint, destructiveHint, idempotentHint, and openWorldHintcontentstructuredContent_metaPrefer a small stable surface. Split reads from writes. Use standard search and fetch shapes when the server is connector-like or intended for knowledge retrieval.
Use tool-design.md.
Use the first matching rule:
Do not choose Rust merely for theoretical performance. Do not choose TypeScript merely because OpenAI examples use it.
/mcp endpoint2026-07-28For the pinned Go SDK v1.7.0, set:
&mcp.StreamableHTTPOptions{Stateless: true}
Do not use MCP session identifiers for business state. Store durable state by authenticated principal in an external store.
Use stdio. Build a normal executable. Package as MCPB only when the target distribution requires it.
Keep these layers separate:
domain
service
upstream adapters
MCP adapter
HTTP or stdio transport
optional UI build
Domain and service packages must not import MCP SDK types.
Put authentication middleware before MCP handling. Put authorization inside the service boundary or immediately before service calls. Keep secrets outside source control.
Start with:
Use remote-http-scaffold.md for a Go remote baseline.
Add tools only after the first slice passes.
Use auth.md.
Rules:
Hand off to build-mcp-app when inline UI adds real value.
The tool-only path must remain useful. The server can remain Go while the UI is TypeScript.
Use the full validation playbook.
At minimum:
2026-07-28 request pathDo not claim protocol support from process startup or a successful legacy initialize alone.
Use portable-release-checklist.md.
Prefer:
When implementing or reviewing, report:
For direct implementation requests, do not stop at a plan. Make the changes and run the available checks.
agents/openai.yaml (opens in a new tab)references/apps-sdk-deploy-track.md (opens in a new tab)references/auth.md (opens in a new tab)references/chatgpt-connect-and-debug.md (opens in a new tab)references/client-safe-architecture.md (opens in a new tab)references/deploy-cloudflare-workers.md (opens in a new tab)references/elicitation.md (opens in a new tab)references/host-compatibility.md (opens in a new tab)references/portable-release-checklist.md (opens in a new tab)references/remote-http-scaffold.md (opens in a new tab)references/resources-and-prompts.md (opens in a new tab)references/server-capabilities.md (opens in a new tab)references/tool-design.md (opens in a new tab)references/versions.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub mylesmcook/mcook-plugins --plugin mcp-server-dev3 skills in this plugin
/build-mcp-appUse when an MCP server needs optional inline UI, an interactive MCP App, a chart or dashboard, a picker, a review or confirmation surface, or a standards-first bridge between a Go MCP backend and a TypeScript component. Preserve a useful tool-only path and keep ChatGPT-specific capabilities optional./build-mcpbUse when a local stdio MCP server must be distributed as a one-click MCP Bundle for desktop hosts. Default new Go servers to self-contained binary bundles, use the current stable MCPB manifest, and keep the ordinary executable usable outside MCPB.