Dev & Engineering ✓ Anthropic · Official mcp-servermcpbnodejspythonstdiolocal-filesystemdesktop-appsruntime-bundling

MCPB Local Server Packager

Bundle a local MCP server with its runtime into one installable file.

FollowSkills review · FSRS-2.0
Not recommended
56/ 100 5-point scale 2.8 / 5
Trust16 / 25 · 3.2/5

The skill explicitly discloses that MCPB has no sandbox and that the process runs with full user privileges. It recommends path containment, no shell injection, read/write separation, secret protection, resource limits, and confirmation for destructive calls, making major risks and data flows visible. However, these controls are guidance rather than enforced by the manifest or runtime; rollback, dependency supply-chain verification, and a complete confirmation path are absent. The path example also does not address actual symlink resolution, so points are deducted.

Reliability8 / 20 · 2.0/5

The Node/Python build commands, manifest examples, validation, packing, signing, and clean-machine testing advice make the happy path reasonably reproducible. Static files contain no committed test suite, execution results, or reproducible abnormal-input coverage; dependencies are not locked, and some security examples have implementation limitations. The score therefore remains within the static-review cap and below the happy-path maximum.

Adaptability11 / 15 · 3.7/5

The front matter gives precise triggers covering MCP packaging, MCPB files, bundled runtimes, local files, desktop applications, and OS APIs. It also states that cloud-only servers generally belong on remote HTTP and identifies non-fit scenarios. Chinese-language interaction, non-Claude Desktop hosts, and broader environment support are not documented; npm, GitHub, and Anthropic ecosystem reachability from mainland China is unverified, so points are deducted.

Convention10 / 15 · 3.3/5

The skill has a version, layered sections, manifest field tables, a minimal example, security references, build instructions, and installation notes. Repository context supplies Apache-2.0 licensing and identifies Anthropic as the internal maintainer, providing governance and attribution evidence. The skill lacks a changelog, explicit maintenance/update policy, compatibility-change process, FAQ, and dependency-locking guidance, so it is not full marks.

Effectiveness7 / 15 · 2.3/5

The material directly addresses MCPB manifests, Node/Python packaging, security boundaries, and release checks. The examples and commands are potentially directly useful with light review. Static review cannot verify that the commands produce an installable bundle on the target host, and the essential security controls remain implementer-owned; the score is capped at the static maximum of 7.

Verifiability4 / 10 · 2.0/5

The evidence consists primarily of revisioned repository documentation, reference files, repository license metadata, and related CI definitions, giving limited auditability. The CI does not show a committed test suite or execution evidence covering this skill's key build paths, and there is no independent corroboration or reproduction record. The score is therefore below the static ceiling of 5.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision b0b9f02b0581
Before you use it
  • An MCPB process normally has the user's full filesystem, process, and network privileges; manifest examples and readOnlyHint are not sandboxing or enforced permission controls.
  • Implement and test path containment including symlinks, command arguments, resource limits, and secret handling yourself; the examples are not a substitute for a security audit.
  • Before distribution, lock and review npm/pip dependencies and verify installation, startup, failure messages, upgrades, and rollback on target platforms without the development toolchain.
  • The documentation depends on npm, GitHub, and Anthropic-related services and provides no evidence of Chinese-language support or mainland-China network reachability.
Review evidence [1][2][3][4][5][6][7][8]
See the full review method →

What it does & when to use it

This skill guides developers in packaging an MCP server as an MCPB bundle, including its Node, Python, or binary runtime. It targets servers that must run on the user’s machine, such as those reading local files, controlling desktop applications, accessing localhost services, or using OS APIs. It covers manifest.json, stdio launch configuration, dependency bundling, validation, testing, and signing. MCPB provides no sandbox, so the server runs with full user privileges and must enforce its own security controls.

Explains how to create a .mcpb ZIP archive containing manifest.json, server code, dependencies, and an icon; configure Node, Python, or binary servers with stdio launch commands; use ${__dirname} and ${user_config.<key>} for bundle paths and install-time settings; package, validate, and sign bundles with npm, pip, esbuild, and @anthropic-ai/mcpb; test servers with MCP Inspector; and implement path validation, spawn allowlists, and least-privilege controls for local resources.

  1. A developer distributing a local-file MCP server to users who may not have Node or Python installed.
  2. An MCP developer building tools that read files, search directories, or watch the local filesystem.
  3. An engineer integrating an MCP server with a desktop application or operating-system API.
  4. A team shipping a localhost-connected MCP server as one drag-and-drop .mcpb file.
  5. A developer vendoring Python dependencies and preparing a local MCP server for multiple platforms.

Pros & cons

Pros
  • Bundles the runtime and dependencies so users do not need Node, Python, or a toolchain installed.
  • Covers the delivery workflow from manifest configuration through dependency handling, validation, testing, and signing.
  • Clearly distinguishes local MCPB distribution from remote HTTP server distribution.
  • Highlights concrete local-security requirements such as path validation, spawn allowlists, and least privilege.
Limitations
  • MCPB has no manifest-level sandbox or permissions block; the server runs with full user privileges.
  • Native Python extensions must be built for each target platform, increasing cross-platform packaging work.
  • The supplied material does not include an automated test suite or evidence that every target platform was tested.
  • MCPB is a poor fit for servers that only call cloud APIs; a remote server is generally more appropriate.

How to install

The skill is located at plugins/mcp-server-dev/skills/build-mcpb/SKILL.md in Anthropic’s official Claude Code Plugins Directory. In Claude Code, run /plugin install {plugin-name}@claude-plugins-official or browse /plugin > Discover; the supplied material does not specify the plugin name.

How to use

In Claude Code, ask to “package an MCP server,” “bundle an MCP,” “make an MCPB,” or “ship a local MCP server.” Follow the supplied workflow to create manifest.json and the server directory. For Node, run npm install, npx esbuild src/index.ts --bundle --platform=node --outfile=server/index.js, then npx @anthropic-ai/mcpb validate and npx @anthropic-ai/mcpb pack. You can initialize with npx @anthropic-ai/mcpb init and test with npx @modelcontextprotocol/inspector node server/index.js.

Compared to similar skills

Compared with the build-mcp-server remote HTTP path named in the source, MCPB is for servers that must access the user’s machine. For cloud-only APIs, the source recommends a remote server to avoid local packaging and security overhead.

FAQ

Do users need Node or Python installed?
No. The skill’s purpose is to bundle the runtime with the local MCP server in one installable file.
Does MCPB restrict filesystem or network permissions?
No. The source states that MCPB has no sandbox; developers must implement permission controls, path validation, and spawn allowlists.
When should I avoid MCPB?
Avoid it when the server only accesses cloud APIs; the source recommends a remote HTTP server in that case.
How should I verify a bundle before release?
Validate the manifest, test the server with MCP Inspector, and test on a machine without the development toolchain.

More skills from this repository

All from anthropics/claude-plugins-official

Productivity & Collaboration ✓ Anthropic · Official

Project Status Artifact

Turn complex, multi-stream work into a living project status page.

Design & Frontend ✓ Anthropic · Official

Distinctive Frontend Design

Build an intentional visual identity for interfaces that should not feel templated.

Dev & Engineering ✓ Anthropic · Official

MCP Interactive App Builder

Add chat-embedded forms, pickers, dashboards, and confirmation widgets to MCP servers.

Dev & Engineering ✓ Anthropic · Official

Claude Skill Template Example

A reference for understanding and creating Claude Code plugin skill templates.

Dev & Engineering ✓ Anthropic · Official

Claude Code Receipts

Turn local Claude Code sessions and Git history into a shareable impact report.

Design & Frontend ✓ Anthropic · Official

Playground Builder

Turn complex visual or structural choices into a live, self-contained HTML explorer.

Dev & Engineering ✓ Anthropic · Official

MCP Server Builder

Helps developers choose the right MCP deployment, tool pattern, framework, and authentication before writing code.

Dev & Engineering ✓ Anthropic · Official

Claude Code Agent Development Guide

Design, write, and validate autonomous agents for Claude Code plugins.

Automation & Ops ✓ Anthropic · Official

Discord Channel Access

Manage Discord pairings, allowlists, and DM or group policies through a local JSON configuration.

Dev & Engineering ✓ Anthropic · Official

CLAUDE.md Improver

Audit and precisely improve CLAUDE.md files across a repository.

Dev & Engineering ✓ Anthropic · Official

Claude Code Hook Development

Design, configure, validate, and debug event-driven hooks for Claude Code plugins.

Dev & Engineering ✓ Anthropic · Official

Skill Creator

Create, evaluate, and iteratively improve Agent Skills.

Dev & Engineering ✓ Anthropic · Official

MCP Integration for Claude Plugins

Configure MCP servers in Claude Code plugins to connect external services and expose their tools.

Dev & Engineering ✓ Anthropic · Official

Claude Code Plugin Skill Development

A practical guide to designing, writing, organizing, validating, and testing skills for Claude Code plugins.

Dev & Engineering ✓ Anthropic · Official

Claude Automation Advisor

Analyze a codebase and identify the most useful Claude Code automations for the project.

Dev & Engineering ✓ Anthropic · Official

Math Olympiad Adversarial Solver

Solve and stress-test IMO, Putnam, USAMO, and AIME problems with adversarial proof verification.

Dev & Engineering ✓ Anthropic · Official

Claude Code Plugin Blueprint

A practical guide to structuring plugins, configuring manifests, and organizing Claude Code components.

Dev & Engineering ✓ Anthropic · Official

Project Plugin Settings Pattern

Store and read configurable Claude Code plugin settings in project-local Markdown files.

Automation & Ops ✓ Anthropic · Official

M5Stack Onboarding

Detect, flash, and provision M5Stack ESP32 boards with UIFlow firmware and MicroPython apps.

Automation & Ops ✓ Anthropic · Official

Discord Channel Configurator

Save a Discord bot token and lock down channel access.

Related skills