Mandare

v0.1.0
com.mandarelabs/mandare Checked 14 hours ago Published 2 months ago

Verify an agent fleet's tamper-evident ledger, check budgets, kill a runaway agent.

Values you need

VariableWhat it is
MANDARE_LEDGER_DBrequired Path to the Mandare ledger database this MCP server verifies and kills against
MANDARE_MCP_HOMEoptional Directory where issued artifacts (mandates, credentials, token grant files) are written (default ~/.mandare/mcp)
MANDARE_WITNESS_URLoptional Witness server URL — enables truncation/rewrite checks and certificate export
MANDARE_WITNESS_PUBLIC_KEYoptional The witness's Ed25519 public key (64 hex chars), obtained out-of-band
MANDARE_GATEWAY_URLoptional Running gateway base URL — enables the gateway health tool
MANDARE_MCP_ALLOW_REINSTATEoptional Set to 1 to expose the reinstate tool (off by default; kills only close doors)

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add mandare -e 'MANDARE_LEDGER_DB=<MANDARE_LEDGER_DB>' -- npx -y --package=@mandarelabs/mcp-server@0.1.0 mandare-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mandare": {
      "args": [
        "-y",
        "--package=@mandarelabs/mcp-server@0.1.0",
        "mandare-mcp"
      ],
      "command": "npx",
      "env": {
        "MANDARE_LEDGER_DB": "<MANDARE_LEDGER_DB>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mandare": {
      "args": [
        "-y",
        "--package=@mandarelabs/mcp-server@0.1.0",
        "mandare-mcp"
      ],
      "command": "npx",
      "env": {
        "MANDARE_LEDGER_DB": "<MANDARE_LEDGER_DB>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "MANDARE_LEDGER_DB",
      "id": "mandare-ledger-db",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "mandare": {
      "args": [
        "-y",
        "--package=@mandarelabs/mcp-server@0.1.0",
        "mandare-mcp"
      ],
      "command": "npx",
      "env": {
        "MANDARE_LEDGER_DB": "${input:mandare-ledger-db}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mandare]
command = "npx"
args = ["-y", "--package=@mandarelabs/mcp-server@0.1.0", "mandare-mcp"]
env = { "MANDARE_LEDGER_DB" = "<MANDARE_LEDGER_DB>" }

For AI agents

  1. Ask the user for: MANDARE_LEDGER_DB. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: mandare_verify, mandare_budget_status, mandare_issue_passport, mandare_issue_mandate, mandare_issue_token, mandare_kill, mandare_certify, mandare_gateway_health.
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json