AgentHubAgentHub

audit-ledger-mcp

MCP ServerMCP Registry官方收录

io.github.shahidh68/audit-ledger-mcp · v0.3.1

Record AI decisions to a tamper-evident audit ledger from any MCP-compatible agent.

概览

audit-ledger-mcp 是一个MCP Server,收录自 官方 MCP Registry。支持 stdio 传输。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

安装

选择你的平台查看安装方式

{
  "mcpServers": {
    "audit-ledger-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "audit-ledger-mcp"
      ]
    }
  }
}

环境变量

AUDIT_API_URL可选

Your deployed audit-ledger API endpoint (e.g. https://<api-id>.execute-api.<region>.amazonaws.com/prod). Leave unset to run in sandbox mode against the public shared tenant.

AUDIT_WRITE_KEY可选secret

Tenant write key for your deployed ledger. Required if AUDIT_API_URL is set and you want to call record_decision.

AUDIT_READ_KEY可选secret

Tenant read key for your deployed ledger. Required if AUDIT_API_URL is set and you want to call verify_decision or list_decisions.

AUDIT_TIMEOUT_MS可选

HTTP timeout in milliseconds. Defaults to 5000.

AUDIT_RETRY_ATTEMPTS可选

Number of retry attempts on transient failures. Defaults to 3.

AUDIT_HMAC_KEY可选secret

Tenant secret used to HMAC-SHA256 PII and prompts locally before sending. Generate once per tenant (e.g. node -e "console.log(require('crypto').randomBytes(32).toString('hex'))") and keep it in your environment. The key never leaves your process. If unset, the MCP falls back to plain SHA-256 for backwards compatibility and logs a one-time deprecation warning; set this to switch to keyed hashing, which regulators (ICO/EDPB) expect for pseudonymisation.

相关资源

统一 Manifest

{
  "id": "io.github.shahidh68/audit-ledger-mcp",
  "type": "mcp-server",
  "version": "0.3.1",
  "displayName": "audit-ledger-mcp",
  "description": "Record AI decisions to a tamper-evident audit ledger from any MCP-compatible agent.",
  "repository": {
    "url": "https://github.com/shahidh68/audit-ledger-mcp",
    "source": "github"
  },
  "distribution": {
    "packages": [
      {
        "registryType": "npm",
        "identifier": "audit-ledger-mcp",
        "version": "0.3.1",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "AUDIT_API_URL",
            "description": "Your deployed audit-ledger API endpoint (e.g. https://<api-id>.execute-api.<region>.amazonaws.com/prod). Leave unset to run in sandbox mode against the public shared tenant."
          },
          {
            "name": "AUDIT_WRITE_KEY",
            "description": "Tenant write key for your deployed ledger. Required if AUDIT_API_URL is set and you want to call record_decision.",
            "isSecret": true
          },
          {
            "name": "AUDIT_READ_KEY",
            "description": "Tenant read key for your deployed ledger. Required if AUDIT_API_URL is set and you want to call verify_decision or list_decisions.",
            "isSecret": true
          },
          {
            "name": "AUDIT_TIMEOUT_MS",
            "description": "HTTP timeout in milliseconds. Defaults to 5000."
          },
          {
            "name": "AUDIT_RETRY_ATTEMPTS",
            "description": "Number of retry attempts on transient failures. Defaults to 3."
          },
          {
            "name": "AUDIT_HMAC_KEY",
            "description": "Tenant secret used to HMAC-SHA256 PII and prompts locally before sending. Generate once per tenant (e.g. node -e \"console.log(require('crypto').randomBytes(32).toString('hex'))\") and keep it in your environment. The key never leaves your process. If unset, the MCP falls back to plain SHA-256 for backwards compatibility and logs a one-time deprecation warning; set this to switch to keyed hashing, which regulators (ICO/EDPB) expect for pseudonymisation.",
            "isSecret": true
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.shahidh68/audit-ledger-mcp",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.shahidh68%2Faudit-ledger-mcp/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
audit-ledger-mcp — MCP Server 安装与配置 · AgentHub