MCP Tools
Start the server:
cargo run -p auditaur-cli -- mcpOr with a locally installed binary:
auditaur mcpExample MCP client config:
{ "mcpServers": { "auditaur": { "command": "auditaur", "args": ["mcp"] } }}For source checkout usage:
{ "mcpServers": { "auditaur": { "command": "cargo", "args": ["run", "-p", "auditaur-cli", "--", "mcp"], "cwd": "D:\\projects\\auditaur" } }}The server speaks stdio JSON-RPC and does not write non-MCP content to stdout. Tool responses are JSON serialized as MCP text content and are bounded.
| Tool | Required arguments | Notes |
|---|---|---|
doctor | none | Accepts optional db. |
list_sessions | none | Optional db; uses discovery when omitted. |
list_logs | none | Optional db, sessionId, traceId, limit. |
list_errors | none | Optional db, sessionId, traceId, limit. Use the CLI exceptions command when grouped issue-ready exception reports are needed. |
list_traces | none | Optional db, sessionId, limit. |
get_trace | traceId | Optional db; returns spans, logs, frontend errors, IPC calls, and events. |
list_apps | none | Reads local discovery files. |
list_ipc_calls | none | Optional db, sessionId, traceId, limit. |
list_events | none | Optional db, sessionId, traceId, limit. |
list_windows | none | Optional db, sessionId, limit; returns latest stored window states. |
For the dogfood app, tools can use discovery automatically while exactly one active readable session is present. Pass db when multiple sessions are active.