← Claude Code Hub
Jul 20, 2026 · 4 min read ✦ Tip #140

Describe your use case, Claude builds the MCP server

You've spent months connecting MCP servers with `claude mcp add`. What if the one you need doesn't exist? An official Anthropic plugin has Claude build it for you, start to finish, from your use case.

From use case to MCP server: the plugin picks the architecture for you

TL;DR Install the mcp-server-dev plugin, run /mcp-server-dev:build-mcp-server, and describe what you want to connect. Claude asks you the design questions the spec normally forces on you (transport, tool shape, framework, auth), picks the architecture, and scaffolds the server. You bring the use case, it brings the spec.

Update, November 1, 2026: installing the plugin from /plugin now activates it when you close the panel, so the /reload-plugins step is no longer needed and I've removed it.

Every MCP tip we've written teaches you to consume servers: you add them with claude mcp add and Claude gains tools. This goes the other way. mcp-server-dev is an official Anthropic plugin that has Claude build one for you.

It's not a template generator. It's a skill that interviews your use case and makes the calls that normally send you into the MCP spec: whether the server runs remote or local, how to split the tools, which framework to use, how to handle auth. Then it scaffolds the project.

When you launch it, the conversation goes roughly like this (it's an interactive flow, not fixed output):

> /mcp-server-dev:build-mcp-server

What does it connect to?    A cloud API (Notion-style REST)
Who will use it?            Anyone who installs it
How many actions?           About 6

Recommendation
  Deployment   Remote HTTP (streamable)  · zero install, OAuth-ready
  Tools        one per action (6 tools)
  Framework    TypeScript SDK
  Scaffolding project...

How to use it

1. Install the plugin

It ships as a plugin, so you install it like any other:

/plugin install mcp-server-dev@claude-plugins-official

If it says the marketplace isn't found, add it with /plugin marketplace add anthropics/claude-plugins-official and retry. When you close the panel it's active, no /reload-plugins or restart needed.

2. Start the build skill

/mcp-server-dev:build-mcp-server

Or just ask in plain language ("help me build an MCP server") and the skill triggers on its own.

3. Describe the use case

This is the trick. Instead of writing code, you answer five questions: what it connects to, who will use it, how many actions it exposes, whether any tool needs to ask you for input mid-run, and what auth the service uses. From that, Claude picks the architecture for you, instead of leaving that decision (the most expensive one to undo) to guesswork.

4. Let it scaffold (and hand off if needed)

For a remote server with no UI, the skill scaffolds the project itself (Express or FastMCP, or the express lane with Cloudflare Workers). Need interactive widgets in the chat? It hands off to build-mcp-app. Server has to live on your machine bundled with its runtime? It hands off to build-mcpb.

5. Test it and ship it

Once it runs, you test against real Claude by adding it as a connector, run the review checklist, and optionally submit it to Anthropic's Directory. The skill links each step.

The five paths (and when each wins)

Deployment When
Remote HTTP (streamable) The default. Wrapping a cloud API. Zero install for users, OAuth handled properly.
Elicitation A tool just needs you to confirm or fill a short form. No UI code.
MCP app You need rich in-chat widgets (searchable pickers, charts, dashboards). Hands off to build-mcp-app.
MCPB The server has to touch your machine (files, desktop apps). Bundled with its runtime. Hands off to build-mcpb.
Local stdio Quick personal prototype. Not recommended for distribution.

The plugin's three skills

Skill What it does
build-mcp-server The front door. Interviews you and picks the architecture.
build-mcp-app Adds interactive UI (forms, pickers, dialogs) inside the chat.
build-mcpb Bundles a local server with its runtime so it installs without Node or Python.

Official docs: Find and build MCP servers

Requirements

The plugin runs in Claude Code with plugin support. The server you generate will need Node (TypeScript SDK) or Python (FastMCP), depending on the framework you pick.

Found this useful? See more of wmedia.es in your Google results.

Add wmedia.es as a preferred source on Google
FREE GUIDE

Approve less, but better.

Ten minutes in, you're hitting yes without reading. That's not review, that's prayer. A 10-page guide with the five levers in order of risk.

  • 1. Rules the first match wins
  • 2. Mode a dial, not a switch
  • 3. Auto mode a classifier approves for you
  • 4. Sandbox a fence the OS puts up
  • 5. Bypass only inside a container
Are you a professional Web developer?

You'll receive the guide by email · You join the Gravitas newsletter · Unsubscribe anytime

of 10
#

Wmedia · 10 pages
FREE GUIDE · 10 pages · 5 levers

Approve less, but better.

Ten minutes in, you're hitting yes without reading. That's not review, that's prayer. A 10-page guide with the five levers in order of risk.

Are you a professional Web developer? · Unsubscribe anytime
How I use AI

My Claude Code workflow.

The skills, agents and instructions I use as a professional Software Engineer. It's called Craft, and it's a plugin you can install.

See the skills

Tired of approving permissions without reading?