Auth infrastructure for coding agents: user pools, secrets vault, token management, as easy as git. CLI + MCP server (18 tools, local or remote).
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
本地运行
claude mcp add authshore --env AUTHSHORE_API_KEY='<AUTHSHORE_API_KEY>' -- npx -y authshore~/.codex/config.toml
[mcp_servers.authshore]
command = "npx"
args = ["-y", "authshore"]
env = { AUTHSHORE_API_KEY = "<AUTHSHORE_API_KEY>" }
# codex mcp add authshore --env AUTHSHORE_API_KEY='<AUTHSHORE_API_KEY>' -- npx -y authshore~/.cursor/mcp.json
{
"mcpServers": {
"authshore": {
"command": "npx",
"args": [
"-y",
"authshore"
],
"env": {
"AUTHSHORE_API_KEY": "<AUTHSHORE_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"authshore": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"authshore"
],
"env": {
"AUTHSHORE_API_KEY": "<AUTHSHORE_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"authshore": {
"command": "npx",
"args": [
"-y",
"authshore"
],
"env": {
"AUTHSHORE_API_KEY": "<AUTHSHORE_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"authshore": {
"command": "npx",
"args": [
"-y",
"authshore"
],
"env": {
"AUTHSHORE_API_KEY": "<AUTHSHORE_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"authshore": {
"command": "npx",
"args": [
"-y",
"authshore"
],
"env": {
"AUTHSHORE_API_KEY": "<AUTHSHORE_API_KEY>"
}
}
}
}远程托管
claude mcp add --transport sse authshore https://mcp.authshore.ai/sse --header 'Authorization: <AUTHORIZATION>'~/.codex/config.toml
# Codex has no SSE transport: bridged through mcp-remote
[mcp_servers.authshore]
command = "npx"
args = ["-y", "mcp-remote", "https://mcp.authshore.ai/sse", "--header", "Authorization:<AUTHORIZATION>"]~/.cursor/mcp.json
{
"mcpServers": {
"authshore": {
"url": "https://mcp.authshore.ai/sse",
"headers": {
"Authorization": "<AUTHORIZATION>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"authshore": {
"type": "sse",
"url": "https://mcp.authshore.ai/sse",
"headers": {
"Authorization": "<AUTHORIZATION>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"authshore": {
"url": "https://mcp.authshore.ai/sse",
"headers": {
"Authorization": "<AUTHORIZATION>"
}
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"authshore": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.authshore.ai/sse",
"--header",
"Authorization:<AUTHORIZATION>"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"authshore": {
"url": "https://mcp.authshore.ai/sse",
"headers": {
"Authorization": "<AUTHORIZATION>"
}
}
}
}需要的环境变量
AUTHSHORE_API_KEY
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。