SkillsReviewed · anthropics

build-mcpb

build-mcpb is an assistant skill for developers packaging local AI tool servers, but its security examples need corrections before reuse. It explains MCPB manifests, Node and Python packaging, configuration and distribution. The supplied recipes also leave installation without a separately installed runtime unproven.

Researched 16 Nov 2026

In short.

build-mcpb is an assistant skill for developers distributing local AI tool servers, but its examples need security corrections before reuse. It provides MCPB manifest guidance, packaging commands and references for configuration and local security. Its strongest use case is software that needs access to local files, desktop applications or operating-system services. The examples leave path-containment and memory-limit gaps, while runtime-free installation remains unproven. Nothing was executed, so packaging, installation, signing and host compatibility were not tested.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes the complete supplied build-mcpb skill folder: SKILL.md, references/local-security.md and references/manifest-schema.md at revision b5b01ac4f889fec0c4c6bb89f27ca7c8574473f6, plus the repository-level and enclosing plugin-level LICENSE files. The original files remain suitable for unchanged source distribution with their notices. The wider plugin, linked sibling skills, external documentation, actual schema implementation and packaging CLI source are outside this evidence. No commands or examples were executed; runtime inclusion, installation, signing, security enforcement and platform compatibility remain unverified.

The overview

identity

build-mcpb is a version 0.1.0 assistant skill in the mcp-server-dev plugin within Anthropic's claude-plugins-official repository. It consists of SKILL.md and two references covering the MCPB manifest and local security. It guides an assistant through packaging a Model Context Protocol server, which exposes tools to an AI host; it is not itself a ready-made server or packaged application.

assessment

The skill is useful as a packaging guide for a developer who already understands their server's tools and dependencies. It connects manifests, configuration, dependency packaging and installation in one place. Its examples require engineering review: the introductory file server does not enforce its configured directory boundary, and the security reference overstates what its Node path helper protects against. Treat it as guidance rather than a production-ready implementation.

users

The intended users are developers whose MCP servers need to read local files, control desktop applications, contact localhost services or call operating-system APIs. Beginners get an explanation of the bundle structure and configuration fields, but need additional help with server implementation, dependency management and security. Experienced developers get concrete launch settings and build recipes. The skill recommends remote servers when an integration only calls cloud APIs.

capabilities

The material provides a manifest version 0.4 template, a TypeScript stdio server example, a Node/esbuild build recipe, Python dependency-vendoring instructions and commands for initialization, inspection, validation, packing and signing.

Its manifest reference covers install-time settings, directory and file pickers, sensitive values, explicit environment-variable mappings and compatibility declarations. The security reference discusses directory boundaries, host-provided roots, process launching, separating read and write tools, output limits and secrets. UI widgets are mentioned, but their implementation is delegated to a different skill whose contents are not included.

Using it

requirements

Developers need a local stdio MCP server, its dependencies and a host capable of installing the resulting bundle. The documented build commands use npm/npx, including for Python packaging; the Python recipe also requires pip. The TypeScript example imports the MCP SDK and zod. Python native extensions require builds for each target platform.

The documents do not establish minimum versions for the packaging CLI or SDK. Claude Desktop >=1.0.0 and Node >=20 appear in example compatibility declarations, not demonstrated compatibility results. Declaring darwin, win32 or linux in a manifest does not establish actual host support.

mechanism

An MCPB file is described as a ZIP archive containing manifest.json, server code and dependencies, with optional assets such as an icon. The host reads the manifest and starts the configured server, exchanging MCP messages through standard input and output.

The actual launch comes from server.mcp_config.command, args and env; the reference describes server.type and entry_point as informational. Bundle-relative paths use ${__dirname}, while ${user_config.<key>} substitutes installation settings. Environment names must be wired explicitly, with no automatic prefix. Compatibility fields describe installation gates, but there is no manifest-level filesystem, network or process sandbox.

setup

Instructions for installing or enabling the skill itself are not supplied. For a server built with its guidance, the proposed sequence is to create a manifest with npx @anthropic-ai/mcpb init, prepare code and dependencies, inspect the stdio server, validate the manifest, pack the directory and sign the resulting bundle.

The Node recipe uses esbuild or copied node_modules. The Python recipe vendors dependencies into server/vendor and requires the entry script to add that directory to sys.path. Installation is described as dragging the .mcpb file onto Claude Desktop. The skill calls for a final installation check on a machine without the development toolchain; no such result is provided.

example

The included local-files example illustrates giving an AI host tools to list and read documents. A rootDir directory setting defaults to the user's Documents folder and is mapped to ROOT_DIR. The server registers list_files and read_file with readOnlyHint annotations.

The example joins incoming paths to ROOT without validating containment, so its directory setting is not an enforced boundary. The annotations describe intended behavior rather than implementing access control. This is illustrative source code; no tool output or successful installation result is supplied.

Assessment & evidence

limitations

The server runs with the user's privileges, with access boundaries left to its implementation. The security reference's Node safeJoin helper uses resolve and relative, which check lexical paths without resolving filesystem symlinks. It therefore does not establish the symlink containment claimed by the surrounding text. Host-provided roots likewise need enforcement in each relevant tool handler.

The file-size example reads the whole file before checking MAX_BYTES. It limits returned content after allocation, rather than bounding the initial read or memory use.

The opening description promises a bundled runtime, but the shown manifest launches node and the recipes package application code and dependencies without showing runtime inclusion. How the runtime is supplied, whether installation succeeds without Node or Python, and whether signing works are unverified.

reasoning

The strongest reason to use this skill is a requirement for local access combined with a desire to simplify recipient installation. Its value comes from explaining the manifest and packaging work around an ordinary stdio server. That benefit depends on actually supplying compatible dependencies and runtime support. The documents do not establish that packaging improves security, performance or reliability; those properties depend on the server and its distribution.

alternatives

For cloud-only integrations, the skill recommends a remote HTTP MCP server and points to build-mcp-server and [https://claude.com/docs/connectors/building/what-to-build]. Those resources are referenced but their contents are not supplied.

Because the documented server uses ordinary stdio MCP, retaining a conventional local-server installation is another possible route when recipients can manage its runtime and dependencies. This is an inference from the described architecture; installation effort has not been compared. Widget authoring is referred to build-mcp-app, outside this skill's supplied files.

evidence

The original resource is the build-mcpb folder in Anthropic's repository [https://github.com/anthropics/claude-plugins-official/tree/main/plugins/mcp-server-dev/skills/build-mcpb]. The supplied source includes SKILL.md, references/local-security.md and references/manifest-schema.md, together with repository and plugin license notices.

The version-specific skill text is available at [https://raw.githubusercontent.com/anthropics/claude-plugins-official/b5b01ac4f889fec0c4c6bb89f27ca7c8574473f6/plugins/mcp-server-dev/skills/build-mcpb/SKILL.md]. Findings concern these documents and their visible examples. No CLI implementation, independently checked schema, execution logs or completed bundle is supplied.

Access & freshness

costs

The source carries a no-charge Apache 2.0 license grant. The supplied documents do not establish host subscription prices, model-service charges, signing costs or a total operating cost; those amounts remain unknown. Practical effort includes dependency packaging, security implementation and platform-specific native builds. No measured development time, bundle size or resource-consumption figures are provided.

rights

Both the repository and enclosing plugin include Apache License 2.0 notices. The license permits reproduction, modification and redistribution, including commercial use, subject to its conditions. Redistributors must supply the license, retain applicable notices, identify modified files and preserve relevant NOTICE attributions if such a file accompanies the work.

The license disclaims warranties and does not grant general trademark rights. These notices do not establish the licenses of dependencies added to a resulting server bundle or the terms of hosted services. The plugin-level notice is available at [https://raw.githubusercontent.com/anthropics/claude-plugins-official/b5b01ac4f889fec0c4c6bb89f27ca7c8574473f6/plugins/mcp-server-dev/LICENSE].

freshness

The supplied files are pinned to source revision b5b01ac4f889fec0c4c6bb89f27ca7c8574473f6 and were captured on 2026-11-16 at 12:38:00.954 UTC. SKILL.md declares skill version 0.1.0, while the manifest reference targets schema version 0.4. These are separate version identifiers. Publication and modification dates, subsequent changes and compatibility with current host, SDK and CLI releases are unknown.

actions

First establish why the server needs to run locally. Before reusing the examples, implement directory containment that accounts for real filesystem targets, bounded file reads, separate write operations and explicit configuration mappings. Review process arguments and prevent secrets from entering tool results.

For distribution, establish exactly how the runtime and dependencies reach each supported machine. Then validate the manifest, inspect the server's stdio behavior and check installation on clean target systems with adversarial paths and large files. Confirm current host and CLI requirements separately; the supplied commands and compatibility values have not been tested.

Evidence for this report

LICENSEnotice · checked 2026-11-16
plugins/mcp-server-dev/LICENSEnotice · checked 2026-11-16