Credential Broker for Zed
io.github.sarutobisasuke8/credential-broker-mcp
Local-first credential broker: agents use gated APIs through scoped, audited requests, never keys.
client:Zed
transport:stdio
runtime:npm
Install Credential Broker in Zed
~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json
{
"context_servers": {
"credential-broker-mcp": {
"command": "npx",
"args": [
"-y",
"@sarutobi-sasuke/credential-broker-mcp"
],
"env": {
"BROKER_AGENT_ID": "<BROKER_AGENT_ID>",
"BROKER_POLICY_FILE": "<BROKER_POLICY_FILE>",
"BROKER_AUDIT_FILE": "<BROKER_AUDIT_FILE>",
"BROKER_APPROVALS_FILE": "<BROKER_APPROVALS_FILE>",
"BROKER_HOT_RELOAD": "<BROKER_HOT_RELOAD>",
"BROKER_ALLOW_KEY_REQUESTS": "<BROKER_ALLOW_KEY_REQUESTS>"
}
}
}
}
Merge this into your existing settings object — do not replace the file. Zed docs