AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified MIT Self-run

Agent Audit Trail Mcp

mcp-aiagentkarl-agent-audit-trail-mcp · by AiAgentKarl

Immutable audit logging for AI agents — hash-chained event log, integrity verification, EU AI Act compliance

No reviews yet
0 installs
28 views
0.0% view→install

Install

$ agentstack add mcp-aiagentkarl-agent-audit-trail-mcp

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-aiagentkarl-agent-audit-trail-mcp)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
5mo ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Agent Audit Trail Mcp? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

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

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-mcp

Configuration

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_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) |

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 timestamp
  • agent_id — Which agent performed the action
  • event_type — Category (decision, action, error, access, data_processing)
  • action — What was done
  • details — Full description
  • outcome — Result of the action
  • prev_hash — SHA-256 hash of the previous entry
  • hash — SHA-256 hash of this entry

More MCP Servers by AiAgentKarl

| Category | Servers | |----------|---------| | 🔗 Blockchain | Solana | | 🌍 Data | Weather · Germany · Agriculture · Space · Aviation · EU Companies | | 🔒 Security | Cybersecurity · Policy Gateway · Audit Trail | | 🤖 Agent Infra | Memory · Directory · Hub · Reputation | | 🔬 Research | Academic · LLM Benchmark · Legal |

→ Full catalog (40+ servers)

License

MIT

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.