Local credential gateway for coding agents: agents get handles instead of raw secrets, and approved commands get credentials injected locally.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
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"
]
}
}
}