Credential Broker for Cursor
io.github.sarutobisasuke8/credential-broker-mcp
Local-first credential broker: agents use gated APIs through scoped, audited requests, never keys.
client:Cursor
transport:stdio
runtime:npm
Install Credential Broker in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"credential-broker-mcp": {
"type": "stdio",
"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>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs