Skip to content
MCP server

AgentAuth

Identity and auth for AI agents: credentials, tokens, delegations, and permission checks.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.1.1
Listing updated
5 days ago

About AgentAuth

AgentAuth is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add agent-auth --env AGENTAUTH_URL='<AGENTAUTH_URL>' --env AGENTAUTH_API_KEY='<AGENTAUTH_API_KEY>' -- uvx agentauth-mcp-server

Add to claude_desktop_config.json

{
  "mcpServers": {
    "agent-auth": {
      "command": "uvx",
      "args": [
        "agentauth-mcp-server"
      ],
      "env": {
        "AGENTAUTH_URL": "<AGENTAUTH_URL>",
        "AGENTAUTH_API_KEY": "<AGENTAUTH_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "agent-auth": {
      "command": "uvx",
      "args": [
        "agentauth-mcp-server"
      ],
      "env": {
        "AGENTAUTH_URL": "<AGENTAUTH_URL>",
        "AGENTAUTH_API_KEY": "<AGENTAUTH_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "agent-auth": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "agentauth-mcp-server"
      ],
      "env": {
        "AGENTAUTH_URL": "<AGENTAUTH_URL>",
        "AGENTAUTH_API_KEY": "<AGENTAUTH_API_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "agent-auth": {
      "command": "uvx",
      "args": [
        "agentauth-mcp-server"
      ],
      "env": {
        "AGENTAUTH_URL": "<AGENTAUTH_URL>",
        "AGENTAUTH_API_KEY": "<AGENTAUTH_API_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "agent-auth": {
      "command": "uvx",
      "args": [
        "agentauth-mcp-server"
      ],
      "env": {
        "AGENTAUTH_URL": "<AGENTAUTH_URL>",
        "AGENTAUTH_API_KEY": "<AGENTAUTH_API_KEY>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • AGENTAUTH_URLBase URL of the AgentAuth service (e.g. https://agentauth.radi.pro or http://localhost:8000 for self-hosted)Required
  • AGENTAUTH_API_KEYDefault API key for the authenticate tool. Optional — can also be passed per call.

Pricing

Open source

AgentAuth FAQ

Is AgentAuth free?

Yes. AgentAuth is open source, so you can use and self-host it for free.

How do I add AgentAuth to Claude Code?

Run this command in your terminal: claude mcp add agent-auth --env AGENTAUTH_URL='<AGENTAUTH_URL>' --env AGENTAUTH_API_KEY='<AGENTAUTH_API_KEY>' -- uvx agentauth-mcp-server

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers