MCP Server
MCP
io.github.shahidh68/audit-ledger-mcp
Record AI decisions to a tamper-evident audit ledger from any MCP-compatible agent.
Install
npx -y [email protected]
Configuration Example
{
"remotes": [],
"packages": [
{
"registryType": "npm",
"identifier": "audit-ledger-mcp",
"version": "0.3.1",
"transport": {
"type": "stdio"
},
"environmentVariables": [
{
"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.",
"format": "string",
"name": "AUDIT_API_URL"
},
{
"description": "Tenant write key for your deployed ledger. Required if AUDIT_API_URL is set and you want to call record_decision.",
"format": "string",
"isSecret": true,
"name": "AUDIT_WRITE_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.",
"format": "string",
"isSecret": true,
"name": "AUDIT_READ_KEY"
},
{
"description": "HTTP timeout in milliseconds. Defaults to 5000.",
"format": "string",
"name": "AUDIT_TIMEOUT_MS"
},
{
"description": "Number of retry attempts on transient failures. Defaults to 3.",
"format": "string",
"name": "AUDIT_RETRY_ATTEMPTS"
},
{
"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.",
"format": "string",
"isSecret": true,
"name": "AUDIT_HMAC_KEY"
}
]
}
]
}
mcp
model-context-protocol
npm
By
Comments
Sign in to leave a comment