Mandare
v0.1.0Verify an agent fleet's tamper-evident ledger, check budgets, kill a runaway agent.
Values you need
| Variable | What it is | |
|---|---|---|
MANDARE_LEDGER_DB | required | Path to the Mandare ledger database this MCP server verifies and kills against |
MANDARE_MCP_HOME | optional | Directory where issued artifacts (mandates, credentials, token grant files) are written (default ~/.mandare/mcp) |
MANDARE_WITNESS_URL | optional | Witness server URL — enables truncation/rewrite checks and certificate export |
MANDARE_WITNESS_PUBLIC_KEY | optional | The witness's Ed25519 public key (64 hex chars), obtained out-of-band |
MANDARE_GATEWAY_URL | optional | Running gateway base URL — enables the gateway health tool |
MANDARE_MCP_ALLOW_REINSTATE | optional | 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-mcpAdd 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
- Ask the user for: MANDARE_LEDGER_DB. Never invent or guess these values; secrets go into the client config, not into chat logs.
- 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).
- Restart or reload the client so it starts the server.
- 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.
- 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