Local credential gateway for coding agents: agents get handles instead of raw secrets, and approved commands get credentials injected locally.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add s-gw -- npx -y @s-gw/s-gw~/.codex/config.toml
[mcp_servers.s-gw]
command = "npx"
args = ["-y", "@s-gw/s-gw"]
# codex mcp add s-gw -- npx -y @s-gw/s-gw~/.cursor/mcp.json
{
"mcpServers": {
"s-gw": {
"command": "npx",
"args": [
"-y",
"@s-gw/s-gw"
]
}
}
}.vscode/mcp.json
{
"servers": {
"s-gw": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@s-gw/s-gw"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"s-gw": {
"command": "npx",
"args": [
"-y",
"@s-gw/s-gw"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"s-gw": {
"command": "npx",
"args": [
"-y",
"@s-gw/s-gw"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"s-gw": {
"command": "npx",
"args": [
"-y",
"@s-gw/s-gw"
]
}
}
}