CLI Reference
Complete reference for the mcptrust command-line interface.
The mcptrust CLI is the primary interface for managing MCP server capabilities, signatures, and policies.
Installation
go install github.com/mcptrust/mcptrust/cmd/mcptrust@latestGlobal Flags
| Flag | Description |
|---|---|
--verbose, -v | Enable verbose logging |
--help, -h | Show help for command |
Commands
- scan - Inspect a server's tools
- lock - Create a lockfile from a server
- keygen - Generate Ed25519 signing keys
- sign - Sign a lockfile
- verify - Verify lockfile integrity
- diff - Check for drift between lockfile and live server
- policy - Check compliance with CEL policies
- bundle - Create a release artifact