Skip to main content

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 an MCPB package directory. Reports errors and warnings found in manifest.json and the surrounding project structure without modifying any files. Validation runs automatically before tool pack and tool publish, but you can run it independently at any time.

Synopsis

tool validate [PATH] [OPTIONS]

Options

path
string
Path to the tool directory to validate. Defaults to the current directory.
--strict
boolean
Treat warnings as errors. The command exits with a non-zero status code if any warnings are found, not just errors. Useful in CI to enforce a clean manifest.
--json
boolean
Output results as JSON instead of formatted text. Useful for piping into other tools or CI scripts.
-q, --quiet
boolean
Show only errors — suppress warnings and informational output.

Examples

# Validate the current directory
tool validate

# Validate a specific path
tool validate ./my-tool

# Treat warnings as errors (strict mode)
tool validate --strict

# JSON output for CI/CD
tool validate --json

# Quiet mode — errors only
tool validate -q

Notes

tool pack and tool publish both run validation automatically before proceeding. Pass --no-validate to tool pack or --dry-run to tool publish if you want to control when validation happens.
Use tool validate --json in CI pipelines to parse the results programmatically. The exit code is 0 on success and non-zero on failure, making it easy to gate deployments.

Build docs developers (and LLMs) love