MCP server overview
Brunel's Model Context Protocol server lets AI agents like Claude Code, Cursor, VS Code and Windsurf analyze repositories and read their security findings as tools.
Brunel speaks the Model Context Protocol: any MCP client can use Brunel's tools, with an API key.
Connection
| URL | https://api.brunel.cloud/mcp (also https://brunel.cloud/api/mcp) |
| Transport | Streamable HTTP, stateless: every POST gets one JSON answer, no session, no event stream |
| Authentication | Authorization: Bearer <API key> on every request |
| Protocol | JSON-RPC 2.0 |
Protocol versions: 2025-11-25, 2025-06-18, 2025-03-26, 2024-11-05. The server answers with the version the client asks for when it knows it, else the newest.
Tools
| Tool | Does |
|---|---|
whoami | The account behind the key: login, plan and key scope |
list_projects | Your analyses, most recent first |
analyze_repository | Read a repository without running it: security check with evidence, facts and services |
get_analysis | An analysis: status, commit, facts, services and security findings |
Full parameters: Tool reference. Read-only keys can call the read-only tools.
The flow agents follow
The server tells clients how to use it: analyze_repository, then get_analysis to read it again. Agents are told to quote findings with their evidence, to say that a clean result does not prove the absence of vulnerabilities, and to link the analysis.
Try it by hand
curl -s https://api.brunel.cloud/mcp \
-H "Authorization: Bearer $BRUNEL_API_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'The console's MCP server page has a playground with history, timing and explained errors.
Metering
Every tool call is recorded in your request logs with the tool name, and counts against your plan like the app. A tool error is still an HTTP 200 in MCP; the log records its real status.