Universal MCP OAuth Gateway
Provides tools for creating and managing Excalidraw diagrams, including generating flowcharts and mindmaps, exporting SVG, and viewing diagrams in an interactive web viewer.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Universal MCP OAuth Gatewaycreate a flowchart for the login process"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Universal MCP OAuth Gateway (with Excalidraw & Proxy Support)
A deployable, serverless Universal Model Context Protocol (MCP) OAuth Gateway & Proxy built on Next.js 14.
This project allows you to attach OAuth 2.0 authentication to Excalidraw OR ANY external MCP server so enterprise clients like Google Spark & Gemini Agents can connect seamlessly without OAuth rejection errors.
How It Works
[Google Spark Client] ──(OAuth 2.0 Auth + Discovery)──> [Universal MCP OAuth Gateway on Vercel]
│
┌──────────────────────────┴──────────────────────────┐
▼ ▼
[Built-in Tools: Excalidraw, SVG, Mindmaps] [Proxy Mode: Any External Remote MCP Server]Related MCP server: Remote MCP Server on Cloudflare
Features
🔐 Universal OAuth 2.0 Auth Server: Implements
/.well-known/oauth-authorization-serverand/.well-known/openid-configurationwith RFC 7591 dynamic client registration.🌐 MCP Server & Proxy Gateway:
Mode 1 (Built-in): Excalidraw tools (
create_diagram,generate_flowchart,generate_mindmap,export_svg,view_diagram) & web utilities.Mode 2 (Universal Proxy): Proxies JSON-RPC 2.0 requests to any unauthenticated remote MCP server specified via
UPSTREAM_MCP_URLorX-MCP-Target-URL.
🖼️ Interactive Web Viewer: Embedded viewer at
/view/[id]allowing users & AI agents to inspect, copy, and download rendered Excalidraw diagrams as SVG.⚡ 100% Vercel Native: Uses stateless JWT tokens—no database setup required.
Google Spark Connection & Deployment Instructions
Step 1: Deploy to Vercel
Push this repository to GitHub.
Import the project into Vercel.
(Optional for Proxy Mode): If you want to proxy another unauthenticated MCP server, add an Environment Variable in Vercel:
UPSTREAM_MCP_URL = https://your-other-mcp-server.com/api/mcpClick Deploy. Vercel will assign a public domain, e.g.:
https://your-mcp-gateway.vercel.app
Step 2: Connect to Google Spark / Gemini
In Google Spark, select Add Remote MCP Server.
Enter your deployed MCP Endpoint URL:
https://your-mcp-gateway.vercel.app/api/mcpGoogle Spark automatically discovers the OAuth endpoints at:
https://your-mcp-gateway.vercel.app/.well-known/oauth-authorization-serverComplete the one-click authorization prompt. Google Spark can now invoke tools from Excalidraw or your proxied MCP server!
API Endpoints
Endpoint | Description |
| OAuth 2.0 Server Discovery Metadata (RFC 8414) |
| OpenID Connect Discovery Metadata |
| RFC 7591 Dynamic Client Registration |
| OAuth Authorization endpoint |
| OAuth Token Exchange endpoint |
| MCP HTTP JSON-RPC 2.0 Tool Execution / Proxy Endpoint |
| MCP Server-Sent Events Transport |
| Interactive Excalidraw Canvas Viewer |
This server cannot be deployed
Maintenance
Related MCP Connectors
Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
MCP server for Argo RPG Platform — connects AI assistants to campaign data via OAuth2
Self-hosted federated MCP gateway: one OAuth 2.1 MCP server in front of N apps, user-level scopes.
Related MCP Servers
- -licenseNot gradedqualityNot gradedmaintenanceA Cloudflare-deployable server that implements Model Context Protocol (MCP) capabilities, allowing AI assistants like Claude to access custom tools via OAuth authentication flows.-
- FlicenseNot gradedqualityCmaintenanceEnables deploying a Model Context Protocol (MCP) server on Cloudflare Workers with built-in OAuth authentication. It allows local clients like Claude Desktop to securely connect to and use remote tools through an HTTP/SSE transport.-
- FlicenseNot gradedqualityCmaintenanceEnables deploying and running a Model Context Protocol (MCP) server on Cloudflare Workers with built-in OAuth authentication. It allows users to host and access tools remotely via Server-Sent Events (SSE) transport from clients like Claude Desktop.-
- FlicenseNot gradedqualityDmaintenanceA production-ready MCP server with OAuth 2.1 authentication, enabling authenticated MCP tool calls via Google OAuth.-