mcpField
A
agent-audit-mcp

agent-audit-mcp

Local
github.com/RumblingbSecurity3Updated 13w ago

About agent-audit-mcp

agent-audit-mcp is a local MCP server for recording and reviewing agent activity. Its SHA-256-linked event history makes tampering detectable and supports compliance triage.

Key features

  1. 01Append events to a SHA-256 hash chain
  2. 02Retrieve agent histories with timestamps
  3. 03Search by agent, type, severity, or date
  4. 04Verify chain integrity per event
  5. 05Review severity and activity statistics

Use cases

  1. 01Keep an ordered record of agent actions
  2. 02Investigate suspected audit-log tampering
  3. 03Filter events for compliance review

MCP support

Exposes audit logging, retrieval, search, verification, and statistics tools to MCP clients. Data is stored locally, and the server makes no network requests.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

AgentPay

AgentAudit MCP

Your agent now has an immutable, tamper-evident log of every action it takes — each event cryptographically linked to the previous one so any modification breaks the chain and is immediately detectable.

What your agent can do

  • Log any of 16 event types (payments, tasks, disputes, identity checks, messages) with a SHA-256 hash that includes the previous event's hash
  • Retrieve the full history of any agent by ID — every action, in order, with timestamps
  • Search across the audit trail by agent, event type, severity level, or date range
  • Verify chain integrity between any two events and get a per-event pass/fail breakdown showing exactly which link was tampered
  • Track five severity levels — info, notice, warning, error, critical — for compliance triage
  • Get statistics across the entire audit trail: events by type, by severity, and most active agents

Installation

Requires: Python 3.10+, mcp and fastmcp packages.

pip install mcp fastmcp

Claude Desktop — add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "agent-audit": {
      "command": "python",
      "args": ["/absolute/path/to/agent-audit-mcp/server.py"]
    }
  }
}

Cursor — add to .cursor/mcp.json in your project root:

{
  "mcpServers": {
    "agent-audit": {
      "command": "python",
      "args": ["/absolute/path/to/agent-audit-mcp/server.py"]
    }
  }
}

Data is stored locally at ~/.agentaudit/chain.json. No data leaves your machine.

Tool Reference

ToolDescriptionKey params
audit_logLog an event and append it to the hash chainevent_type (one of 16), agent_id, severity, details_json
audit_get_eventRetrieve full event details by IDevent_id
audit_searchFilter events by agent, type, severity, or date rangeagent_id, event_type, severity, from_date, to_date, max_results
audit_get_agent_historyAll events for one agent, newest firstagent_id, max_events
audit_verify_chainCheck SHA-256 chain integrity between two events; returns per-event PASS/FAILfrom_event_id, to_event_id
audit_statsSummary: total events, breakdown by type/severity, top 5 active agents—

Supported event types: task_created, task_assigned, task_completed, task_failed, payment_sent, payment_received, payment_refunded, dispute_raised, dispute_resolved, identity_verified, capability_used, agent_registered, agent_rated, agent_offline, message_sent, message_received

Security

Audit data is written atomically (write-to-temp, then os.replace) to prevent partial writes from corrupting the chain. The hash covers every field including the previous event's hash — you cannot insert, delete, or modify any event without breaking all subsequent hashes. audit_verify_chain recomputes each hash from scratch rather than trusting stored values.

All data is stored locally. No network requests are made by this server.

Pricing

PlanPriceIncluded
Pro$19/monthUnlimited audit events, full chain verification

Subscribe via Stripe

License

Proprietary — see subscription terms. Source: github.com/Rumblingb/agent-audit-mcp

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.