Skip to content

MCP Tools

Start the server:

Terminal window
cargo run -p auditaur-cli -- mcp

Or with a locally installed binary:

Terminal window
auditaur mcp

Example MCP client config:

{
"mcpServers": {
"auditaur": {
"command": "auditaur",
"args": ["mcp"]
}
}
}

For source checkout usage:

{
"mcpServers": {
"auditaur": {
"command": "cargo",
"args": ["run", "-p", "auditaur-cli", "--", "mcp"],
"cwd": "C:\\path\\to\\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.

ToolRequired argumentsNotes
doctornoneAccepts optional db.
get_healthnoneReads local discovery files and reports heartbeat, database/schema, and collector capability health.
list_pending_human_gatesnoneLists pending, unexpired drill run human gate requests published beside pinned session databases for agent/UI approval. Run the MCP server with the same Auditaur data directory as the drill.
respond_human_gaterequestIdAnswers a pending gate. Optional choiceId, inputs, and responder are recorded; inputs can be an object keyed by input id.
list_sessionsnoneOptional db; uses discovery when omitted.
list_logsnoneOptional db, sessionId, traceId, limit.
list_errorsnoneOptional db, sessionId, traceId, limit. Use the CLI exceptions command when grouped issue-ready exception reports are needed.
list_tracesnoneOptional db, sessionId, limit.
get_tracetraceIdOptional db; returns spans, logs, frontend errors, IPC calls, events, and window rows.
get_related_telemetrynoneOptional db, sessionId, traceId, windowLabel, time bounds, and limit; returns correlated spans, logs, frontend errors, IPC calls, events, and windows.
explain_recent_activitynoneOptional db, sessionId, traceId, windowLabel, sinceSeconds, time bounds, and limit; returns counts and likely failure findings.
explain_failed_ipcnoneOptional db, sessionId, traceId, windowLabel, time bounds, and limit; summarizes failed IPC and related telemetry for the latest traced failure.
list_appsnoneReads local discovery files.
list_ipc_callsnoneOptional db, sessionId, traceId, limit.
list_eventsnoneOptional db, sessionId, traceId, limit.
list_windowsnoneOptional 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.