Ext Auth

v1.0.0Securitystable

Extensions to authorization

ext-authmcpai-integration
Share:
96
Stars
0
Downloads
0
Weekly
0/5

What is Ext Auth?

Ext Auth is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to extensions to authorization

Extensions to authorization

This server falls under the Security category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Extensions to authorization

Use Cases

Extend authorization capabilities for MCP servers. Add custom authentication and authorization mechanisms.
LicenseMIT
Languagemdx
Versionv1.0.0
UpdatedMay 22, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx ext-auth

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Ext Auth

The MCP Authorization Extensions repository (modelcontextprotocol/ext-auth) defines optional, additive authorization specifications for the Model Context Protocol maintained by the official MCP project. It currently covers two extension drafts: OAuth Client Credentials flow for server-to-server machine authentication, and Enterprise-Managed Authorization for corporate environments with centralized identity providers. These extensions sit alongside the core MCP specification — implementations can adopt them independently without breaking core protocol behavior, making it the authoritative reference for developers who need to add authentication to MCP servers beyond what the base protocol defines.

Prerequisites

  • Familiarity with the core MCP specification (modelcontextprotocol.io)
  • Understanding of OAuth 2.0 flows (Client Credentials or enterprise SSO)
  • An MCP server implementation to add authorization to
  • Access to an OAuth 2.0 authorization server or enterprise identity provider if implementing the extensions
1

Read the core MCP specification

Before implementing authorization extensions, ensure you understand the base MCP specification at modelcontextprotocol.io. The ext-auth extensions are additive and assume a working MCP server.

2

Review the OAuth Client Credentials extension

Read the Client Credentials draft at the repository URL. This extension defines how MCP servers can require OAuth 2.0 client credentials (client_id + client_secret) from connecting clients — suitable for server-to-server integrations.

# Specification URL:
# https://github.com/modelcontextprotocol/ext-auth/blob/main/specification/draft/oauth-client-credentials.mdx
3

Review the Enterprise-Managed Authorization extension

Read the Enterprise-Managed Authorization draft. This extension covers how organizations can delegate authorization decisions to a corporate identity provider (IdP) so that MCP servers respect enterprise access policies.

# Specification URL:
# https://github.com/modelcontextprotocol/ext-auth/blob/main/specification/draft/enterprise-managed-authorization.mdx
4

Implement the chosen extension in your MCP server

Follow the specification's requirements for your server language/framework. Extensions are optional and composable — you can implement Client Credentials alone, Enterprise-Managed alone, or both together without conflicts.

5

Configure your MCP client with credentials

Update your MCP client configuration to include the credentials or tokens required by your server's chosen authorization extension. The exact config fields depend on which extension you implemented.

Ext Auth Examples

Client configuration

Example Claude Desktop MCP config for connecting to an authorization-protected MCP server using a bearer token. Adjust the env key names to match your server's expected authorization headers.

{
  "mcpServers": {
    "my-auth-server": {
      "command": "node",
      "args": ["/path/to/my-mcp-server/dist/index.js"],
      "env": {
        "MCP_CLIENT_ID": "your-client-id",
        "MCP_CLIENT_SECRET": "your-client-secret"
      }
    }
  }
}

Prompts to try

After connecting to an authorization-protected MCP server, these prompts verify the connection is working and the server is enforcing access correctly.

- "List all tools available on this server"
- "Verify that I am authenticated and show my client identity"
- "What authorization scopes does this server require?"
- "Connect to the server and confirm the OAuth token is valid"

Troubleshooting Ext Auth

MCP server returns 401 Unauthorized when the client connects

Ensure the client is providing credentials in the format expected by the extension. For Client Credentials, the client must exchange credentials for a token before connecting. Check the server logs to see which authorization header or token format it expects.

Enterprise-Managed Authorization fails with token validation errors

Verify that the token issuer URL matches the configured IdP, that the token has not expired, and that the client_id is registered with the enterprise IdP. Clock skew between server and IdP can also cause validation failures — ensure NTP is running on both.

Confusion about which extension version or draft to implement

Check the main branch of modelcontextprotocol/ext-auth for the latest draft. These are living specifications; always read the version tag or commit SHA noted in the specification file header to know exactly which revision you are implementing.

Frequently Asked Questions about Ext Auth

What is Ext Auth?

Ext Auth is a Model Context Protocol (MCP) server that extensions to authorization It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Ext Auth?

Follow the installation instructions on the Ext Auth GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Ext Auth?

Ext Auth works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Ext Auth free to use?

Yes, Ext Auth is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Ext Auth Alternatives — Similar Security Servers

Looking for alternatives to Ext Auth? Here are other popular security servers you can use with Claude, Cursor, and VS Code.

Casdoor

13.6k

An open-source Agent-first Identity and Access Management (IAM) /LLM MCP & agent gateway and auth server with web UI supporting OpenClaw, MCP, OAuth, OIDC, SAML, CAS, LDAP, SCIM, WebAuthn, TOTP, MFA, Face ID, Google Workspace, Azure AD

ghidraMCP

9.0k

An Model Context Protocol server that enables LLMs to autonomously reverse engineer applications by exposing Ghidra's decompilation and analysis tools. It allows AI agents to list code structures, rename methods, and analyze binaries directly through

HexStrike AI

8.9k

HexStrike AI MCP Agents is an advanced MCP server that lets AI agents (Claude, GPT, Copilot, etc.) autonomously run 150+ cybersecurity tools for automated pentesting, vulnerability discovery, bug bounty automation, and security research. Seamlessly b

IDA Pro MCP

8.7k

Enables AI-assisted reverse engineering in IDA Pro by providing tools to analyze binaries, decompile functions, manage comments, search patterns, and interact with the IDA database through natural language.

Anthropic Cybersecurity Skills

6.6k

754 structured cybersecurity skills for AI agents · Mapped to 5 frameworks: MITRE ATT&CK, NIST CSF 2.0, MITRE ATLAS, D3FEND & NIST AI RMF · agentskills.io standard · Works with Claude Code, GitHub Copilot, Codex CLI, Cursor, Gemini CLI & 20+ platform

Hooker

5.1k

🔥🔥 hooker is a Frida-based reverse engineering toolkit for Android. It offers a user-friendly CLI, universal scripts, auto hook generation, memory roaming to detect activities/services, one-click SOCKS5 proxy setup, Frida JustTrustMe, and BoringSSL u

Browse More Security MCP Servers

Explore all security servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "ext-auth": { "command": "npx", "args": ["-y", "ext-auth"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Ext Auth?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides