CLI Comparison
CLI Comparison
Section titled “CLI Comparison”This page maps Arxo CLI commands to their MCP equivalents for the tools available in the MCP server.
Quick Reference
Section titled “Quick Reference”| CLI Command | MCP Equivalent | Notes |
|---|---|---|
arxo analyze | analyze_architecture({ "project_path": "." }) | Run agent and OpenClaw architecture analysis |
arxo analyze --config file.yaml | analyze_architecture({ "project_path": ".", "config_path": "file.yaml" }) | Run with custom config |
arxo init | N/A | CLI only; then use MCP config tools |
arxo cache clear | N/A | Restart MCP server instead |
| Config help | arxo_config_help | Schema, metrics, policy, examples |
| Config validate | arxo_config_validate | Validate arxo.yaml or inline YAML |
| Config suggest | arxo_config_suggest | Generate suggested config for project |
Analysis
Section titled “Analysis”Run analysis
Section titled “Run analysis”CLI:
arxo analyzeMCP:
analyze_architecture({ "project_path": "." })Output: MCP always returns JSON with results, findings, and violations.
Analysis with custom config
Section titled “Analysis with custom config”CLI:
arxo analyze --config custom-config.yamlMCP:
analyze_architecture({ "project_path": ".", "config_path": "/path/to/custom-config.yaml"})Configuration
Section titled “Configuration”Config help
Section titled “Config help”MCP:
arxo_config_help({})Optional section: all, data, metrics, policy, report, examples.
Validate config
Section titled “Validate config”MCP:
arxo_config_validate({ "project_path": "." })Or pass config_yaml to validate inline YAML.
Suggest config
Section titled “Suggest config”MCP:
arxo_config_suggest({ "project_path": "." })Returns a suggested arxo.yaml for the project.
CLI: arxo cache clear
MCP: Restart the MCP server. The cache is in-memory and cleared on restart.
Related Pages
Section titled “Related Pages”- Tools — MCP tool reference
- Workflows — Example workflows
- CLI Reference — Full CLI documentation
- Troubleshooting — Debugging MCP issues