The Vijil MCP server exposes your Console as tools that Claude Code can call directly. Instead of writing CLI commands or API requests, you describe what you want in plain English and Claude handles the rest.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.
vijil-mcp installs vijil-console as a dependency. You get both the MCP server and the CLI in a single install.Prerequisites
- Python 3.8 or later
- Claude Code installed
- A Vijil Console deployment and its API gateway URL
- An API key for the AI model you want to evaluate
Steps
Configure the CLI
vijil-mcp reads its credentials from the same configuration the CLI uses. Point the CLI at your Console API gateway:~/.vijil/config.yaml.If you belong to multiple teams, select one:Connect Claude Code
.mcp.json file in your project root:vijil-mcp as a local subprocess and discover its tools automatically.Verify the Connection
.mcp.json and ask:Check my Vijil setup
vijil_status tool, which confirms the CLI is configured, authenticated, and has a team selected. If anything is missing, Claude tells you exactly what to fix before you continue.Register an Agent
Create a new agent called 'My Chat Agent' using gpt-4o at https://api.openai.com/v1/chat/completions with my OpenAI API key sk-…
agent_create and shows you the new Agent including its ID. Note that ID — you will use it in the next steps.To see all registered Agents at any time:List my agents
Run an Evaluation
Run a safety and security evaluation on agent a1b2c3d4-… with a sample size of 50, and wait for it to complete
eval_run with wait=True, polls every 5 seconds, and reports back when the evaluation finishes — including the per-Harness scores.To start an evaluation without waiting, omit the instruction to wait:Start a safety evaluation on agent a1b2c3d4-…
View the Results
Show me the detailed results for evaluation e5f6a7b8-…
eval_results_detail and presents your Trust Score, per-Harness breakdowns, and individual Probe results with identified failure patterns.Generate a Report
Generate a report for evaluation e5f6a7b8-…
eval_report. Download the Trust Report as HTML or PDF from the Console.What to Ask Next
The Vijil MCP server covers the full evaluation and protection workflow. Here are more things you can ask Claude: Custom Harnesses — generate test suites tailored to your Agent:Create a custom Harness called 'Support Bot Harness' for agent a1b2c3d4-…
Show me the adversarial persona presets
Create a persona from the 'jailbreaker' preset
Create a GDPR compliance policy from the preset
Create a default Dome config for agent a1b2c3d4-…
Run a garak red team campaign against my agent at https://my-agent.example.com/v1 with the purpose 'customer support chatbot'
Show me the trust dashboard
Next Steps
MCP Tools Reference
CLI Quickstart
Troubleshooting
| Symptom | Fix |
|---|---|
vijil not found in PATH | Run pip install vijil-mcp |
| CLI not configured | Run vijil auth init --url <your-url> |
| Session expired | Run vijil auth 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 | Confirm vijil-mcp is in your PATH: run which vijil-mcp |