Skip to content
VS Code

AgentAuth for VS Code

io.github.raditotev/agent-auth

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

client:VS Code transport:stdio runtime:pypi

Install AgentAuth in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "agentauth-url",
      "description": "AGENTAUTH_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentauth-api-key",
      "description": "AGENTAUTH_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "agent-auth": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "agentauth-mcp-server"
      ],
      "env": {
        "AGENTAUTH_URL": "${input:agentauth-url}",
        "AGENTAUTH_API_KEY": "${input:agentauth-api-key}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

AgentAuth in other clients