56
grade D
3 days 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.

Install from

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

// key findings
🚨
Known vulnerabilities in dependencies: 2 critical, 9 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.
// 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 4 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: 4/18/2026, 6:45:21 PM
view raw JSON →