kh - KeeperHub CLI
Command-line interface for KeeperHub, the Web3 automation platform.
Install
Homebrew:
brew install keeperhub/tap/kh
Go install:
go install github.com/keeperhub/cli/cmd/kh@latest
Binary download:
Download from GitHub Releases.
Auth
kh auth login
For CI/CD, set KH_API_KEY instead of running the browser flow.
Common Commands
kh workflow list # List all workflows
kh workflow run <id> --wait # Run a workflow and wait for completion
kh run status <run-id> # Check a run's status
kh run logs <run-id> # Stream run logs
kh execute contract-call ... # Execute a protocol action directly
kh protocol list # Browse available protocols
MCP Server Mode
kh serve --mcp
Starts an MCP server that exposes KeeperHub actions as tools to AI assistants such as Claude Desktop. See docs/quickstart.md for setup instructions.
Documentation
License
MIT