CLI
armoriq validate
Verify config, API key, and MCP connectivity
armoriq validate
Checks that your armoriq.yaml is well-formed, your API key is accepted by the
proxy, and every MCP server in the config is reachable and reports its tools.
Run this before armoriq register.
Usage
armoriq validate
armoriq validate --config path/to/config.yamlFlags
| Flag | Default | Description |
|---|---|---|
--config | armoriq.yaml | Config file to validate |
What it checks
- Schema — the YAML parses and matches the expected shape.
- API key — hits the proxy's
/healthendpoint with your key. - MCP discovery — for each MCP server, lists tools to confirm it's reachable.
- Policy — checks that every tool referenced in policy rules exists in the MCPs.
Exit codes
0— all checks passed1— one or more checks failed; details printed to stdout
Example
$ armoriq validate
✓ armoriq.yaml schema
✓ API key validated at https://proxy.armoriq.ai
✓ data-mcp — 12 tools
✓ analytics-mcp — 4 tools
✓ policy rules reference only known tools