Documentation Index
Fetch the complete documentation index at: https://docs.vijil.ai/llms.txt
Use this file to discover all available pages before exploring further.
Install
Install thevijil-mcp package.
vijil-console (the CLI) as a dependency. Verify both:
Initialize the CLI
Point the CLI at your Vijil Console deployment:Login to Vijil Console
Configure Claude Code
Create a.mcp.json file in your project root:
vijil-mcp as a local subprocess and discover its tools.
Tip: AddFor global access across all projects, add to.mcp.jsonto your project’s.gitignoreif you do not want to share it, or commit it so your whole team gets the Vijil tools automatically.
~/.claude.json instead:
Verify the Setup
Start Claude Code in the directory with.mcp.json and ask:
“Check my Vijil setup”Claude will call the
vijil_status tool and confirm the CLI is configured, authenticated, and has a team selected. If anything is missing, it will tell you what to fix.
Register an Agent
Ask Claude to create an agent configuration pointing at the AI model you want to evaluate:Create a new agent called 'My Chat Agent' using gpt-4 at https://api.openai.com/v1/chat/completions with API key sk-...
agent_create with the right parameters and show you the created agent including its ID. Copy that ID for the next steps.
List Agents
List my agents
agent_list and show agent IDs, names, models, and creation dates.
List Available Harnesses
Harnesses are test suites that evaluate different trust dimensions:What harnesses are available?
harness_list and show you the test suites (safety, ethics, privacy, security, toxicity, etc.).
Run an Evaluation
Start a trust evaluation against your agent:Run a safety and security evaluation on agent a1b2c3d4-... with sample size 50, and wait for it to complete
eval_run with wait=True and report back when the evaluation finishes, including the scores.
You can also run without waiting:
Start a safety evaluation on agent a1b2c3d4-...
Check Evaluation Status
If you did not usewait, check the status:
What is the status of evaluation e5f6a7b8-...?
eval_status and show whether the evaluation is running, completed, or failed.
View Evaluation Results
Once the evaluation completes, retrieve the detailed results:Show me the detailed results for evaluation e5f6a7b8-...
eval_results_detail and present the per-Harness breakdowns and individual Probe results.
Generate a Report
Trigger on-demand report generation for the completed evaluation:Generate a report for evaluation e5f6a7b8-...
eval_report to generate the report.
Next Steps
Here are more things you can ask Claude with the Vijil MCP tools: Custom Harnesses — create test suites tailored to your use case:Create a custom harness called 'My Harness' for agent a1b2c3d4-...
Show me the persona presets
Create a persona from the 'jailbreaker' preset
List my compliance policies
Create a policy from the GDPR preset
List my Dome configurations
Create a Dome config for agent a1b2c3d4-...
What red team tools are available?
Run a garak campaign against my agent at https://my-agent.com/v1
Show me the trust dashboard
How it Works Under the Hood
When Claude calls a tool likeeval_run, here’s what happens:
-
Claude Code sends the tool call to the
vijil-mcpprocess via stdin -
vijil-mcpbuilds the CLI command:vijil eval run --agent-id ... --harness-names '["safety"]' --json --wait - The CLI sends the HTTP request to your Console API (with auth, team context, etc.)
-
The JSON response flows back: CLI ->
vijil-mcp-> Claude Code - Claude reads the JSON and presents the results in natural language
Troubleshooting
| Symptom | Fix |
|---|---|
vijil CLI not found in PATH | Run pip install vijil-console |
vijil CLI not configured | Run vijil init --url <your-url> |
| Session expired | Run vijil login |
| No team selected | Run vijil team use <team_id> |
| Tools do not appear in Claude Code | Verify .mcp.json is in the project root, then restart Claude Code |
| Claude uses Bash instead of MCP tools | Make sure vijil-mcp is in your PATH (which vijil-mcp) |