MCP directory

Credential Broker

by github.com/SarutobiSasuke8 · v0.1.2 · updated Nov 9, 2026

Local-first credential broker: agents use gated APIs through scoped, audited requests, never keys.

npm

Run it locally

Install the package and point your AI client at it.

npm

npx -y @sarutobi-sasuke/[email protected]

Environment variables

  • BROKER_AGENT_IDrequired

    Which agent identity this process is. Must be provisioned in the policy file.

  • BROKER_POLICY_FILE

    Path to the policy YAML (version 2). Defaults to config/broker.yaml.

  • BROKER_AUDIT_FILE

    Path to the content-free audit log. Defaults to data/audit.jsonl.

  • BROKER_APPROVALS_FILE

    Path to the approvals file. Defaults to config/approvals.json.

  • BROKER_HOT_RELOAD

    Set to 1 to pick up key manager changes without a restart. Off by default.

  • BROKER_ALLOW_KEY_REQUESTS

    Set to 1 to let this agent ask the operator for a key through the key manager. Off by default.

More from github.com/SarutobiSasuke8

More MCP servers