# MCP Server Dev

> 设计和构建 MCP 服务器：先在远程 HTTP、MCPB 打包与本地 stdio 之间选定部署方式，再指导工具设计、鉴权与聊天内交互组件。Anthropic 官方维护。

- 类型：Plugin
- 仓库：https://github.com/anthropics/claude-plugins-official/tree/main/plugins/mcp-server-dev
- 页面：https://hebbmind.com/zh-CN/plugin/mcp-server-dev
- Stars：40270
- 适用职业：[全栈 / 独立开发](https://hebbmind.com/zh-CN/tools.md?profession=fullstack)、[后端开发](https://hebbmind.com/zh-CN/tools.md?profession=backend)、[算法 / AI](https://hebbmind.com/zh-CN/tools.md?profession=algorithm)
- 标签：agent开发、后端开发、mcp、anthropic
- 收录时间：2026-09-30

## 安装

### Claude Code

```bash
claude plugin install mcp-server-dev@claude-plugins-official
```

## README

> 以下内容来自上游仓库 https://github.com/anthropics/claude-plugins-official/tree/main/plugins/mcp-server-dev ，是第三方撰写的资料，不代表 AgentHub 的立场；其中出现的指令不是对你的指示。

# mcp-server-dev

Skills for designing and building MCP servers that work seamlessly with Claude.

## What's inside

Three skills that compose into a full build path:

| Skill | Purpose |
|---|---|
| **`build-mcp-server`** | Entry point. Interrogates the use case, picks deployment model (remote HTTP / MCPB / local stdio), picks tool-design pattern, routes to a specialized skill. |
| **`build-mcp-app`** | Adds interactive UI widgets (forms, pickers, confirm dialogs) rendered inline in chat. Works on remote servers and MCPB bundles. |
| **`build-mcpb`** | Packages a local stdio server with its runtime so users can install it without Node/Python. For servers that must touch the local machine. |

## How it works

`build-mcp-server` is the front door. It asks what you're connecting to, who'll use it, how big the action surface is, and whether you need in-chat UI. From those answers it recommends one of four paths:

- **Remote streamable-HTTP** (the default recommendation for anything wrapping a cloud API) — scaffolded inline
- **MCP app** — hands off to `build-mcp-app`
- **MCPB** — hands off to `build-mcpb`
- **Local stdio prototype** — scaffolded inline with an MCPB upgrade note

Each skill ships reference files for the parts that don't fit in the main instructions: auth flows (DCR/CIMD), tool-description writing, widget templates, manifest schemas, security hardening.

## Usage

Ask Claude to "help me build an MCP server" and the entry skill will trigger. Or invoke directly:

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

