Before publishing, you validate your manifest and pack your project into a bundle. The bundle is the artifact that gets uploaded to the registry and downloaded by users.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/superradcompany/tool-cli/llms.txt
Use this file to discover all available pages before exploring further.
Validate
tool validate checks your manifest.json for errors and warnings without producing any output file.
--strict
Promotes all warnings to errors. Useful in CI to enforce manifest quality.
--json
Outputs structured JSON — ideal for parsing results in scripts or pipelines.
--json for machine-readable output.
Pack
tool pack bundles your project into a single distributable file. It runs validation first by default, then creates the archive.
Output filename
By default,tool pack creates <name>-<version>.mcpb (or .mcpbx) in the current directory. Use -o to specify a custom path:
The
-o flag is ignored when using --multi-platform. Platform-specific filenames are generated automatically.Verbose mode
Pass-v to see every file being added to the archive:
.mcpbignore patterns are working correctly.
Skipping validation
In automated environments where you have already runtool validate separately, skip it with --no-validate:
Bundle formats
tool-cli automatically picks the right file format based on your manifest..mcpb (MCPB)
The standard MCPB format. Used for bundled servers that:- Run over stdio transport
- Have an
entry_pointandserver.type - Do not use
system_config,mcp_config.url,mcp_config.headers, ormcp_config.oauth_config
.mcpb file is a zip archive containing the manifest.json and all bundled server files.
.mcpbx (MCPBX)
The MCPBX extension format. tool-cli produces.mcpbx automatically whenever the manifest uses any feature beyond the base MCPB spec:
- Reference mode — no
entry_pointor noserver.type - HTTP transport —
server.transport: "http" - system_config present
- mcp_config extensions —
url,headers, oroauth_configpresent
tool pack and tool publish handle it for you.
Multi-platform packing
If your tool has platform-specific binaries or native addons, use--multi-platform to create one bundle per platform defined in your manifest’s platform_overrides:
server.mcp_config.platform_overrides, plus a universal fallback. See Multi-platform publishing for details.