Observed since 20 Oct, 21:31 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
agent-audit-trail-mcp
Immutable audit logging for AI agents — hash-chained event log, integrity verification, EU AI Act compliance
Immutable audit logging for AI agents with hash-chained event logs, integrity verification, and EU AI Act compliance reporting.
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:
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.
pip install agent-audit-trail-mcp
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"]
}
}
}
| Tool | Description |
|---|---|
log_event | Log an immutable audit event with timestamp and hash chain |
get_trail | Retrieve audit trail for an agent (newest first) |
verify_integrity | Verify the hash chain is intact (no tampering) |
export_report | Export audit trail as compliance report (JSON or text) |
search_events | Search across all audit events by keyword |
get_statistics | Get audit statistics (events/day, error rate, top actions) |
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 entryMIT
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
mcpEnvironment{
"extras": "cli",
"marker": null,
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | mcp[cli]>=1.0.0 | runtime |
bdist_wheel · 8.9 KB · Python py3
sdist · 7.09 KB · Python source
Shared repository data · GitHub
Observed since 20 Oct, 21:31 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:480f01674072d3ecab7fac874c2bc17c622c12c4e674f8318fe19d3ee38d452d