Agent Audit Trail MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Agent Audit Trail MCP ServerLog a decision event for agent abc123: 'approved loan application'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Agent Audit Trail MCP Server
Immutable audit logging for AI agents with hash-chained event logs, integrity verification, and EU AI Act compliance reporting.
Why This Matters
The EU AI Act (effective August 2026) requires high-risk AI systems to maintain detailed logs of their operations. Article 12 mandates automatic recording of events for the entire lifecycle of high-risk AI systems.
This MCP server provides:
Tamper-proof logging — Each event includes the SHA-256 hash of the previous entry, forming an unbreakable chain
Integrity verification — Detect if any log entries have been modified, deleted, or reordered
Compliance reports — Export audit trails in JSON or human-readable format for regulators
Cross-agent search — Search events across all agents by keyword, type, or agent ID
Statistics — Event rates, error rates, and action frequency analysis
Related MCP server: DCL Evaluator
How Hash Chain Integrity Works
Entry 1: { data, prev_hash: "000...000", hash: "abc123..." }
Entry 2: { data, prev_hash: "abc123...", hash: "def456..." }
Entry 3: { data, prev_hash: "def456...", hash: "ghi789..." }If any entry is modified, its hash changes, breaking the chain for all subsequent entries. The verify_integrity tool detects this immediately.
Installation
pip install agent-audit-trail-mcpConfiguration
Add to your MCP client config (e.g. Claude Desktop):
{
"mcpServers": {
"audit-trail": {
"command": "audit-trail-server"
}
}
}Or with uvx (no install needed):
{
"mcpServers": {
"audit-trail": {
"command": "uvx",
"args": ["agent-audit-trail-mcp"]
}
}
}Tools
Tool | Description |
| Log an immutable audit event with timestamp and hash chain |
| Retrieve audit trail for an agent (newest first) |
| Verify the hash chain is intact (no tampering) |
| Export audit trail as compliance report (JSON or text) |
| Search across all audit events by keyword |
| Get audit statistics (events/day, error rate, top actions) |
Data Storage
Audit logs are stored in ~/.agent-audit-trail/ as append-only JSONL files (one per agent). Each line is a JSON object with:
timestamp— ISO 8601 UTC timestampagent_id— Which agent performed the actionevent_type— Category (decision, action, error, access, data_processing)action— What was donedetails— Full descriptionoutcome— Result of the actionprev_hash— SHA-256 hash of the previous entryhash— SHA-256 hash of this entry
More MCP Servers by AiAgentKarl
Category | Servers |
🔗 Blockchain | |
🌍 Data | Weather · Germany · Agriculture · Space · Aviation · EU Companies |
🔒 Security | |
🤖 Agent Infra | Memory · Directory · Hub · Reputation |
🔬 Research |
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Register every AI agent, log every action, prove it. EU AI Act compliance built in.
Bitcoin-anchored, tamper-evident audit log for AI agents — record, disclose and verify actions.
Signed, publicly logged records of what your AI agent did, with proofs anyone can check offline.
Checks AI agent actions before they run. Signed, RFC 3161 timestamped evidence for audits.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables AI agents to sign decisions with post-quantum cryptographic proofs and maintain secure audit trails for compliance. It provides tools for stamping events, verifying chain integrity, and exporting audit data across industries like finance and healthcare.425 npmMIT
- FlicenseNot gradedqualityFmaintenanceSuperseded. Earlier version of the DCL product (MCP endpoint at /sse with API key, plus an offline desktop audit trail). Not the current path for agents. Use the hosted DCL Trust Oracle: https://github.com/Fronesis-Labs/dcl-webhook (MCP endpoint https://mcp.fronesislabs.com/mcp, Streamable HTTP, x402 payment, no API key).-
- AlicenseNot gradedqualityDmaintenanceEnables step-debugging, deterministic replay, and signed audit evidence for AI agents, compliant with EU AI Act.79 PyPIMIT
- AlicenseNot gradedqualityDmaintenanceProvides an immutable, tamper-evident audit trail for AI agents, enabling event logging with cryptographic chaining, search, verification, and statistics.3MIT