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": "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.

ToolRequired argumentsNotes
doctornoneAccepts optional db.
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, and events.
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.