56
/ 100
1 month ago
glama

OAuth 2.1 MCP Server

A Next.js-based MCP server template that implements OAuth 2.1 authentication with support for both SSE and Streamable HTTP transports. Provides a reference implementation for building authenticated MCP servers that work with Claude, Cursor, VSCode, and other MCP clients.

Is this your MCP?

Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find.

Install from

M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.

// key findings
🚨
Known vulnerabilities in dependencies: 2 critical, 16 high
Affects packages this MCP installs at runtime. Upgrade or remove the affected dependency.
🔐
You'll be asked for 4 credentials: BETTER_AUTH_SECRET, DISCORD_CLIENT_SECRET, GITHUB_CLIENT_SECRET, GOOGLE_CLIENT_SECRET
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// known CVEs in dependencies2 critical16 high2 medium11 low

Disclosed vulnerabilities in this server's declared npm dependencies (via OSV). Whether each is reachable depends on the installed versions.

criticalbetter-auth@1.2.10GHSA-xg6x-h9c9-2m83

Better Auth Has Two-Factor Authentication Bypass via Premature Session Caching (session.cookieCache)

criticalnext@15.3.4GHSA-9qr9-h5gf-34mp

Next.js is vulnerable to RCE in React flight protocol

high@modelcontextprotocol/sdk@1.13.1GHSA-345p-7cg4-v4c7

@modelcontextprotocol/sdk has cross-client data leak via shared server/transport instance reuse

high@modelcontextprotocol/sdk@1.13.1GHSA-8r9q-7v3j-jr4g

Anthropic's MCP TypeScript SDK has a ReDoS vulnerability

high@modelcontextprotocol/sdk@1.13.1GHSA-w48q-cv73-mx4w

Model Context Protocol (MCP) TypeScript SDK does not enable DNS rebinding protection by default

Depend on this server? Get alerted when its CVEs change.Watch this server free →
// required environment variables
This server reads these from process.env. You'll be asked to provide them before it can run.
🔐 secretBETTER_AUTH_SECRET"any random string"
configDATABASE_URL"postgresql://user:pass@server/database"
configDISCORD_CLIENT_IDyour_discord_client_id
🔐 secretDISCORD_CLIENT_SECRETyour_discord_client_secret
configGITHUB_CLIENT_IDyour_github_client_id
🔐 secretGITHUB_CLIENT_SECRETyour_github_client_secret
configGOOGLE_CLIENT_ID"a Google OAuth client ID"
🔐 secretGOOGLE_CLIENT_SECRET"a Google OAuth client secret"
configNEXT_PUBLIC_BASE_URL
configREDIS_URL"redis://user:pass@host:6379"
// full audit trail
The full breakdown of what we checked, the deductions that landed, the network hosts, the dependency advisories, and concrete fix guidance is available to verified publishers.
// improvement guidance — verified publishers only
We have 5 concrete improvements we can share with the publisher of this MCP. Each comes with specific guidance to raise the trust score.
// embed badge in your README
[![M8ven Score](https://m8ven.ai/badge/mcp/dteam-top-mcp-oauth-kiem21)](https://m8ven.ai/mcp/dteam-top-mcp-oauth-kiem21)
commit: 8d14d9256a4d83bdca9744879ddbff045836dd15
code hash: 8fbfc6c3c63e972f9ff45177af46f727d0fca3276a34ce63ffe339b433abfc1c
verified: 6/17/2026, 12:44:24 PM
view raw JSON →