ArmorIQ LogoArmorIQ SDK
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.yaml

Flags

FlagDefaultDescription
--configarmoriq.yamlConfig file to validate

What it checks

  1. Schema — the YAML parses and matches the expected shape.
  2. API key — hits the proxy's /health endpoint with your key.
  3. MCP discovery — for each MCP server, lists tools to confirm it's reachable.
  4. Policy — checks that every tool referenced in policy rules exists in the MCPs.

Exit codes

  • 0 — all checks passed
  • 1 — 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

On this page