arga CLI gives you a local entry point into Arga. You can use it to:
- authenticate your machine with Arga
- start URL and PR validations from the terminal
- install Arga’s MCP server into supported coding agents
Install the CLI
Installarga-cli with your preferred Python tool:
Authenticate from the terminal
Use device login to authorize the CLI:arga login opens the browser so you can approve the device. arga whoami confirms the saved credential and prints the current GitHub login and workspace.
To remove the local credential later:
arga login creates a device-scoped key. Arga stores that credential at:
Start validations from the CLI
Validate a deployed URL
Usearga test url for a one-off run against a deployed app:
validate namespace:
--email and --password together, or leave both out.
Validate a pull request
Usearga validate pr to start a PR validation run:
Install Arga MCP into your IDE
Once you are logged in, install MCP with:arga-context MCP server entry.
Supported targets
~/.cursor/mcp.json~/.claude/mcp.json~/.config/codex/mcp.json
What gets installed
Arga configures an MCP server that points at:mcpServers entries and merges in the Arga server definition.
Use a custom API URL
By default, the CLI targetshttps://api.argalabs.com.
To point it at a different environment, pass --api-url:
ARGA_API_URL:
When to use the CLI vs the app
- Use the web app when you want to browse runs, configure repositories, or work in the full Validate UI.
- Use the CLI when you want to kick off validations quickly from a terminal or install MCP into your coding agent.
- Use MCP when you want Cursor, Claude Code, or Codex to query Arga directly from your editor.