Back to Apps

MCP OAuth Demo
by DTeam-Top
Next.js based MCP server with OAuth 2.1 authentication support for secure AI tool access.
0 stars
Works in:CursorVS Code Copilot
Exposes:Tools
What it does
This server provides a reference implementation for building MCP servers with secure OAuth 2.1 authentication. It acts as an identity layer that allows MCP clients to authenticate users via providers like Google before accessing protected tools and resources.
Tools
authenticate: Initiates the OAuth flow for the current user.verify_token: Validates an existing access token against the OAuth server.get_user_profile: Retrieves identity information for the authenticated session.
Installation
Deploy this as a Next.js app on Vercel. For Claude Desktop, add the following to your claude_desktop_config.json:
{
"mcpServers": {
"mcp-oauth": {
"url": "https://your-app.vercel.app/mcp/sse"
}
}
}
Supported hosts
Confirmed for Claude Desktop, Claude.ai, Cursor, and VS Code.
Quick install
pnpm install && pnpm run db:push && pnpm run devInformation
- Pricing
- free
- Published
- 5/15/2026
- stars
- 0
Categories
Choose your AI client and follow the steps below.
Cursor
Add to mcp.json with transport 'http-stream' and URL https://your-app.vercel.app/mcp/mcpclaude-ai
Add Integration URL: https://your-app.vercel.app/mcp/sseClaude Desktop
Add URL https://your-app.vercel.app/mcp/sse to claude_desktop_config.jsonVS Code Copilot
Add URL https://your-app.vercel.app/mcp/mcp to settings.json mcp servers





