| layout | title | nav_order | has_children | format_version |
|---|---|---|---|---|
default |
MCPB Tutorial |
174 |
true |
v2 |
Learn how to use
modelcontextprotocol/mcpbto package local MCP servers into signed.mcpbbundles with manifest metadata, CLI workflows, and distribution-ready operational controls.
As MCP servers proliferate, teams need a consistent packaging format for local installation, updates, and trust validation. MCP Bundles (.mcpb) provide a portable distribution layer that packages server runtime files with a manifest-driven install contract.
This track focuses on:
- understanding the DXT -> MCPB rename and format model
- authoring high-quality
manifest.jsondefinitions - operating CLI workflows for init, validate, pack, sign, and verify
- planning secure distribution and host compatibility controls
- repository:
modelcontextprotocol/mcpb - stars: about 1.7k
- latest release:
v2.1.2(published 2025-12-04)
flowchart LR
A[Local MCP server code] --> B[manifest.json]
B --> C[mcpb validate]
C --> D[mcpb pack]
D --> E[extension.mcpb]
E --> F[mcpb sign/verify]
F --> G[Host install + runtime]
| Chapter | Key Question | Outcome |
|---|---|---|
| 01 - Getting Started and Bundle Fundamentals | What is MCPB and how do I start building bundles? | Fast onboarding |
| 02 - Manifest Model, Metadata, and Compatibility | How should manifest.json be structured for durable installs? |
Better compatibility |
| 03 - Server Configuration and Runtime Packaging | How do Node/Python/Binary/UV runtime options affect bundle design? | Safer runtime choices |
| 04 - Tools, Prompts, User Config, and Localization | How do I model capabilities and user-configurable inputs cleanly? | Higher UX quality |
| 05 - CLI Workflows: Init, Validate, and Pack | How do I standardize bundle creation pipelines? | Repeatable packaging |
| 06 - Signing, Verification, and Trust Controls | How do I ship bundles with integrity guarantees? | Stronger supply-chain posture |
| 07 - Examples, Language Patterns, and Distribution Readiness | What do practical bundle implementations look like? | Faster productionization |
| 08 - Release, Governance, and Ecosystem Operations | How do teams operate MCPB workflows at scale over time? | Durable operations |
- how to design bundle manifests that balance flexibility and compatibility
- how to choose runtime packaging strategies per language and environment
- how to run signed, verifiable distribution flows for local MCP servers
- how to implement governance controls around updates and host trust
- MCPB README
- MCPB Manifest Spec
- MCPB CLI Documentation
- MCPB Examples
- Hello World UV Example
- MCPB Contributing Guide
Start with Chapter 1: Getting Started and Bundle Fundamentals.
- Start Here: Chapter 1: Getting Started and Bundle Fundamentals
- Back to Main Catalog
- Browse A-Z Tutorial Directory
- Search by Intent
- Explore Category Hubs
- Chapter 1: Getting Started and Bundle Fundamentals
- Chapter 2: Manifest Model, Metadata, and Compatibility
- Chapter 3: Server Configuration and Runtime Packaging
- Chapter 4: Tools, Prompts, User Config, and Localization
- Chapter 5: CLI Workflows: Init, Validate, and Pack
- Chapter 6: Signing, Verification, and Trust Controls
- Chapter 7: Examples, Language Patterns, and Distribution Readiness
- Chapter 8: Release, Governance, and Ecosystem Operations
Generated by AI Codebase Knowledge Builder