Skip to content

Authmcp Gateway

Secure authentication proxy for MCP servers with JWT auth, real-time monitoring, and admin dashboard. Production-ready Docker deployment.

Install: pip install authmcp-gateway

Install

$pip install authmcp-gateway

Install command taken from the project's README or registry entry. Always review code before running it.

AuthMCP Gateway

Secure authentication proxy for Model Context Protocol (MCP) servers

AuthMCP Gateway is a full MCP protocol proxy with centralized authentication, authorization, and monitoring. It transparently proxies all MCP capabilities — tools, resources, prompts, and completions — from multiple backend servers through a single authenticated endpoint.

OAuth + DCR ready: the gateway supports OAuth 2.0 Authorization Code flow with Dynamic Client Registration (DCR), so MCP clients like Codex can self-register and authenticate without manual client provisioning.

📋 Table of Contents


✨ Features

🔗 Full MCP Protocol Proxy (v1.2.0)

  • Tools - tools/list, tools/call with intelligent routing (prefix, mapping, auto-discovery)
  • Resources - resources/list, resources/read, resources/templates/list
  • Prompts - prompts/list, prompts/get
  • Completions - completion/complete with ref-based routing
  • Dynamic Capabilities - queries backends on initialize and advertises only what they support
  • Multi-server aggregation - list methods merge results from all backends; read/get/call routes to the correct one
  • Protocol version - MCP 2025-03-26

🔐 Authentication & Authorization

  • OAuth 2.0 + JWT - Industry-standard authentication flow
  • Dynamic Client Registration (DCR) - MCP clients can self-register for OAuth
  • User Management - Multi-user support with role-based access
  • Backend Token Management - Secure storage and auto-refresh of MCP server credentials
  • Rate Limiting - Per-user request throttling with configurable limits

📊 Real-Time Monitoring

  • Live MCP Activity Monitor - Real-time request feed with auto-refresh
  • Performance Metrics - Response times, success rates, requests/minute
  • Security Event Logging - Unauthorized access attempts, rate limiting, suspicious activity
  • Health Checking - Automatic health checks for all connected MCP servers

🎛️ Admin Dashboard

  • User Management - Create, edit, and manage users
  • MCP Server Configuration - Add and configure backend MCP servers
  • Token Management - Monitor token health and manual refresh
  • Security Events - View and filter security events
  • Security Audit - MCP vulnerability scanning

🛡️ Security

  • JWT token-based authentication with refresh tokens
  • Secure credential storage with encrypted database support
  • CORS protection and request validation
  • Security event logging and monitoring
  • File-based logging - JSON logs for auth & MCP requests with rotation; security events remain in SQLite for audit/queries

📸 Screenshots

🖥️ Dashboard - Real-time Overview

Live statistics, server health monitoring, top tools usage, and recent activity feed

🔧 MCP Servers - Connection Management

Manage backend MCP server connections with status monitoring and health checks

📊 MCP Activity Monitor - Real-time Request Tracking

Monitor live MCP requests with detailed metrics, top tools ranking, and request feed

Similar plugs

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

Π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection, all without a single pixel of video.

An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here…

Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface

Explore related