MCP Server Auth Template
by github.com/brunovicco · v0.7.0 · updated Sep 23, 2026
OAuth 2.1/OIDC resource-server reference for secure MCP authorization
Run it locally
Install the package and point your AI client at it.
Docker
docker run -i --rm ghcr.io/brunovicco/mcp-server-auth-template:v0.7.0Environment variables
MCP_SERVER_RESOURCE_SERVER_URLrequiredProtected-resource URL advertised by this deployment
MCP_SERVER_AUTH_PROVIDERrequiredAuthorization-server adapter to use
MCP_SERVER_REQUIRED_SCOPESJSON array of baseline delegated OAuth scopes
MCP_SERVER_TRANSPORT_ALLOWED_HOSTSAdditional exact Host values accepted by the local container transport
MCP_SERVER_ENTRA_TENANT_IDRequired when MCP_SERVER_AUTH_PROVIDER=entra
MCP_SERVER_ENTRA_AUDIENCERequired when MCP_SERVER_AUTH_PROVIDER=entra
MCP_SERVER_ENTRA_APPLICATION_ID_URIRequired when MCP_SERVER_AUTH_PROVIDER=entra
MCP_SERVER_GENERIC_ISSUER_URLRequired when MCP_SERVER_AUTH_PROVIDER=generic
MCP_SERVER_GENERIC_AUDIENCERequired when MCP_SERVER_AUTH_PROVIDER=generic
MCP_SERVER_GENERIC_JWKS_ALLOWED_ORIGINSOptional JSON array of explicitly trusted cross-origin JWKS origins
More from github.com/brunovicco
More MCP servers
Desktop Hypervisor Mcp
github.com/bryanjbelanger
VirtualBox and VMware Fusion/Workstation behind one provider-neutral MCP tool surface.
Talos Mcp Server
github.com/bryanjbelanger
Talos Linux cluster operations as one thin MCP tool over the official machine API.
SAAX Protocol
github.com/bryantrudy24
Durable commitment lifecycle, verification, governance and recovery layer for agentic commerce.
StatsPAI
github.com/brycewang-stanford
Econometrics and causal inference (DiD, IV, RD, synthetic control, DML) with Stata/R parity grades
RAEN x402 Gateway
github.com/bshelby88
RAEN paid x402 MCP tools: law lookup, dispute letters, image gen, contract analysis. USDC on Base.
Capped Video
github.com/bslim1009
Video generation (Seedance, Kling, Veo, Wan) via fal/Replicate with hard budget caps