What is the AgentAuth MCP server?
Identity and auth for AI agents: credentials, tokens, delegations, and permission checks.
How to install AgentAuth
Copy-paste configuration for popular MCP clients.
transport: stdio
Config generated by PluginBench — verify against the source before use.Environment / auth
AGENTAUTH_URLrequiredBase URL of the AgentAuth service (e.g. https://agentauth.radi.pro or http://localhost:8000 for self-hosted)
AGENTAUTH_API_KEYsecretDefault API key for the authenticate tool. Optional — can also be passed per call.
Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"agent-auth": {
"command": "uvx",
"args": [
"agentauth-mcp-server"
],
"env": {
"AGENTAUTH_URL": "<YOUR_AGENTAUTH_URL>",
"AGENTAUTH_API_KEY": "<YOUR_AGENTAUTH_API_KEY>"
}
}
}
}Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"agent-auth": {
"command": "uvx",
"args": [
"agentauth-mcp-server"
],
"env": {
"AGENTAUTH_URL": "<YOUR_AGENTAUTH_URL>",
"AGENTAUTH_API_KEY": "<YOUR_AGENTAUTH_API_KEY>"
}
}
}
}Windsurf
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"agent-auth": {
"command": "uvx",
"args": [
"agentauth-mcp-server"
],
"env": {
"AGENTAUTH_URL": "<YOUR_AGENTAUTH_URL>",
"AGENTAUTH_API_KEY": "<YOUR_AGENTAUTH_API_KEY>"
}
}
}
}VS Code
.vscode/mcp.json
{
"servers": {
"agent-auth": {
"type": "stdio",
"command": "uvx",
"args": [
"agentauth-mcp-server"
],
"env": {
"AGENTAUTH_URL": "<YOUR_AGENTAUTH_URL>",
"AGENTAUTH_API_KEY": "<YOUR_AGENTAUTH_API_KEY>"
}
}
}
}Claude Code
claude mcp add agent-auth --env AGENTAUTH_URL=<YOUR_AGENTAUTH_URL> --env AGENTAUTH_API_KEY=<YOUR_AGENTAUTH_API_KEY> -- uvx agentauth-mcp-server