Getmcpauth MCP Server

Drop-in OAuth 2.1 + Dynamic Client Registration for MCP servers, backed by mcpauth.

Local serverstdio

What is the Getmcpauth MCP Server?

Drop-in OAuth 2.1 + Dynamic Client Registration for MCP servers, backed by mcpauth.

What the server does

Wraps the official @modelcontextprotocol/sdk's requireBearerAuth middleware so unauthenticated or invalid requests get rejected with a spec-correct 401 before they ever reach your MCP server's handlers.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Getmcpauth MCP Server

{
  "mcpServers": {
    "getmcpauth": {
      "command": "npx",
      "args": ["-y", "getmcpauth"],
      "env": {
        "MCPAUTH_SECRET": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
MCPAUTH_SECRETCredential the server authenticates with.Yes

Frequently asked questions

Drop-in OAuth 2.1 + Dynamic Client Registration for MCP servers, backed by mcpauth. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.