Docs Β· MCP
MCP integration
Connect Claude Code to your test data using the Model Context Protocol (MCP). Five consolidated tools (down from 24) with an efficient router pattern, 24 queryable datasets, and built-in mock API management.
What's New in v2.1
- π§ AI Vector Search - Semantic search & failure clustering using Jina v3 embeddings + Cohere reranking
- 24 queryable datasets - Including clustered_failures, semantic_search, mock APIs, org_suites, suite_tests, inactive_tests, and setup_guide
- find_similar action - Find similar failures across current or historical runs
- 5 tools instead of 24 - Router pattern with ~83% token reduction
- HTTP Streamable transport - More reliable than legacy SSE
- Semantic definitions - Metric formulas prevent AI hallucinations
Installation
1Quick Start (OAuth - Recommended)
One command to connect Claude Code to Exolar : authenticates via browser:
claude mcp add exolar-qa --transport http https://exolar.agentical.work/api/mcp/mcp -s userWhen prompted, select "Authenticate" β browser opens β log in β done!
claude mcp list to see "exolar-qa" connected2Alternative: Manual Token
If OAuth doesn't work, get a token from /settings/mcp:
claude mcp add exolar-qa --transport http https://exolar.agentical.work/api/mcp/mcp -s user \
--header "Authorization: Bearer YOUR_TOKEN_HERE"π€AI-Guided CI/CD Setup
After connecting, ask Claude Code:
"Help me integrate Exolar with my Playwright tests"Claude uses an Integration Engineer persona to guide you through GitHub Actions setup with step-by-step instructions.
Architecture: Router Pattern
Instead of 24 individual tools, the MCP server uses a two-level router pattern:
- β’ explore (discovery)
- β’ query (data retrieval)
- β’ action (heavy ops)
- β’ definition (semantics)
- β’ config (setup)
- β’ executions, failures
- β’ flaky_tests, trends
- β’ mock_interfaces, mock_routes
- β’ org_suites, suite_tests
- β’ compare, classify, reembed
- β’ metric formulas
- β’ CI/CD snippets
Benefits
- 83% fewer tokens - Tool definitions reduced from ~3,000 to ~500 tokens
- Unified filters - Consistent interface across all datasets
- Better discovery - explore_exolar_index shows what's available
- Flexible routing - Easy to add new datasets
Available Tools (5 Total)
All tools support organization-scoped access with automatic filtering.
explore_exolar_indexDiscovery tool - call FIRST to learn what data exists. Lists datasets, branches, suites, or metrics with optional search filtering.
query_exolar_dataUniversal data retrieval router. Retrieves data from any of the 24 available datasets using a unified filter interface.
perform_exolar_actionExecute heavy operations: compare executions, generate reports, classify failures, find similar failures, re-embed tests, or manage mock APIs.
get_semantic_definitionGet metric definitions to prevent AI hallucinations. Returns formula, thresholds, unit, and related tools for any metric.
get_installation_configGet CI/CD integration code snippets and setup instructions. Returns ready-to-use config for Playwright reporter, GitHub Actions, and environment variables.
Available Datasets (24 Total)
Use query_exolar_data with these datasets:
Migration from v1.0
If you were using the previous 24-tool version, here's how to migrate:
| Old Tool | New Tool | Parameters |
|---|---|---|
list_branches | explore_exolar_index | { category: "branches" } |
get_executions | query_exolar_data | { dataset: "executions" } |
get_flaky_tests | query_exolar_data | { dataset: "flaky_tests" } |
compare_executions | perform_exolar_action | { action: "compare" } |
| See full mapping in documentation | ||
Usage Examples
After connecting, you can ask Claude things like:
Conversational CI/CD Setup
The get_installation_config tool uses an Integration Engineer persona that guides you through setup step-by-step.
Discovery
Claude asks about your CI provider (GitHub Actions recommended), monorepo structure, and existing tests
Adaptation
Receives CI-specific instructions with exact secrets management steps for GitHub Actions
Validation
Gets dry run commands to verify integration before pushing to CI
Example Conversation
Key Benefits
- β’ No guessing where to put the EXOLAR_API_KEY
- β’ Clear instructions: MERGE vs REPLACE config files
- β’ GitHub Actions-specific secrets management path
- β’ Monorepo-aware guidance (where to place reporters, per-package config)
- β’ Built-in validation commands (dry run locally before CI push)
Router Pattern Alternative
You can also use the router pattern to get pre-filtered configuration programmatically:
query_exolar_data({
dataset: "setup_guide",
filters: {
ci_provider: "github", // or "local" (v2.1)
framework: "playwright",
monorepo: false, // or true
section: "all" // or specific section
}
})Output Formats
Markdown (Default)
- β’ CLI-friendly tables
- β’ ~70% fewer tokens than JSON
- β’ Human-readable
- β’ Easier to scan
JSON
- β’ Structured data
- β’ Programmatic parsing
- β’ Full details
- β’ API integration
Security
- JWT tokens verified using Neon Auth JWKS
- All data automatically scoped to your organization
- Database-level RLS policies for additional protection
- HTTPS-only communication (encrypted in transit)
- No cross-tenant access - users only see their org's data
Troubleshooting
βInvalid or expired tokenβ
Visit /settings/mcp to generate a new token. Tokens expire after 30 days.
βUser not foundβ
Ensure you're logged into the dashboard and have an organization assigned. Generate a new token from /settings/mcp after logging in.
βTool not foundβ
You may be using old tool names. Use the 5 consolidated tools: explore_exolar_index, query_exolar_data, perform_exolar_action, get_semantic_definition, get_installation_config.
Connection fails
Check: (1) Dashboard is accessible, (2) NEON_AUTH_JWKS_URL is set in Vercel, (3) URL is correct (/api/mcp/mcp not /api/mcp).
Additional Resources
- β’ Settings Page - Get your configuration
- β’ Claude Code Docs - Official Claude Code documentation
- β’ MCP Specification - Model Context Protocol spec