A Model Context Protocol (MCP) server for Faultr, providing direct integration with the Faultr agentic stress-testing and compliance API. This server exposes the full Faultr API surface as tools, enabling AI IDEs and agents (Cursor, Claude Desktop, Windsurf, Claude Code, JetBrains) to seamlessly discover, run, and report on evaluations.
This MCP server communicates directly with the Faultr API (defaults to https://app.faultr.ai).
You must provide your CLI API Key via an environment variable:
FAULTR_API_KEY: Required. Your Faultr API Key.FAULTR_BASE_URL: Optional. Defaulthttps://app.faultr.ai.
You can use this package via npx locally. Update your respective IDE configurations with the following snippets:
Add to .cursor/mcp.json in your project root, or via Cursor Settings > Features > MCP.
{
"mcpServers": {
"faultr": {
"command": "npx",
"args": ["-y", "@faultr/mcp-server"],
"env": {
"FAULTR_API_KEY": "ft_pro_..."
}
}
}
}Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"faultr": {
"command": "npx",
"args": ["-y", "@faultr/mcp-server"],
"env": {
"FAULTR_API_KEY": "ft_pro_..."
}
}
}
}Use the identical format from above for any client supporting MCP via STDIO.
faultr_list_scenarios: Discover and filter the available compliance test scenarios by domain, difficulty, or protocol.faultr_get_scenario: Get comprehensive details for a specific scenario (trap conditions, criteria, mandates).faultr_evaluate: Run a complex agent trace against scenarios. Supports multi-step action traces and parses the deep JSON findings into readable text for your LLM.faultr_batch_evaluate: Convenience tool to evaluate many scenarios in parallel.faultr_generate_mandates: Automatically create protocol-compliant adversarial fixtures (e.g., AP2 Checkout state constraints).faultr_create_custom_scenario: Build a domain-specific scenario directly into your private library.faultr_generate_custom_scenario: Auto-generate a structured scenario payload from a plain English prompt.faultr_get_report: Retrieve the URL for a highly-detailed HTML compliance report.
{
"name": "faultr-mcp-server",
"description": "Integration with the Faultr compliance API for agentic stress-testing",
"vendor": "Faultr AI",
"language": "TypeScript",
"transport": ["stdio"],
"tags": ["testing", "ai", "compliance", "security", "faultr"]
}