# 安装 build-mcpb

- 类型: Skill 技能
- 说明: This skill should be used when the user wants to "package an MCP server", "bundle an MCP", "make an MCPB", "ship a local MCP server", "distribute a local MCP", discusses ".mcpb files", mentions bundling a Node or Python runtime with their MCP server, or needs an MCP server that interacts with the local filesystem, desktop apps, or OS and must be installable without the user having Node/Python set up.
- 仓库: https://github.com/anthropics/claude-plugins-official

## 方式一 · 一键代装（复制提示词让 AI 代劳）

### Claude Code
```
请帮我安装 askskill 上的 "build-mcpb" 技能：
1. 下载 https://raw.githubusercontent.com/anthropics/claude-plugins-official/main/plugins/mcp-server-dev/skills/build-mcpb/SKILL.md
2. 保存为 ~/.claude/skills/build-mcpb/SKILL.md
3. 装好后重载技能，告诉我可以用了
```

### Codex
```
请帮我安装 askskill 上的 "build-mcpb" 技能：
1. 下载 https://raw.githubusercontent.com/anthropics/claude-plugins-official/main/plugins/mcp-server-dev/skills/build-mcpb/SKILL.md
2. 保存为 ~/.codex/skills/build-mcpb/SKILL.md
3. 装好后重载技能，告诉我可以用了
```

### Cursor
```
请帮我安装 askskill 上的 "build-mcpb" 技能：
1. 下载 https://raw.githubusercontent.com/anthropics/claude-plugins-official/main/plugins/mcp-server-dev/skills/build-mcpb/SKILL.md
2. 保存为 ~/.cursor/skills/build-mcpb/SKILL.md
3. 装好后重载技能，告诉我可以用了
```

## 方式二 · 命令行安装（原生命令与配置）

### Claude Code
```bash
mkdir -p '~/.claude/skills/build-mcpb' && curl -fsSL 'https://raw.githubusercontent.com/anthropics/claude-plugins-official/main/plugins/mcp-server-dev/skills/build-mcpb/SKILL.md' -o '~/.claude/skills/build-mcpb/SKILL.md'
```

### Codex
```bash
mkdir -p '~/.codex/skills/build-mcpb' && curl -fsSL 'https://raw.githubusercontent.com/anthropics/claude-plugins-official/main/plugins/mcp-server-dev/skills/build-mcpb/SKILL.md' -o '~/.codex/skills/build-mcpb/SKILL.md'
```

### Cursor
```bash
mkdir -p '~/.cursor/skills/build-mcpb' && curl -fsSL 'https://raw.githubusercontent.com/anthropics/claude-plugins-official/main/plugins/mcp-server-dev/skills/build-mcpb/SKILL.md' -o '~/.cursor/skills/build-mcpb/SKILL.md'
```
