open-brain-web-gateway
Hosts the OAuth consent and sign-in UI for the gateway, along with privacy and terms pages.
OAuth-protected remote MCP gateway for Perplexity web client, forwarding approved calls to an existing Open Brain operational memory without direct access to the long-lived access key.
Click on "Install 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., "@open-brain-web-gatewaywhat do I have stored about project Phoenix?"
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.
Open Brain web gateway
OAuth-protected remote MCP gateway for Tony's Gemini Spark and Perplexity web clients. It forwards approved calls to the existing vanilla Open Brain and never creates another brain.
Boundaries
Open Brain is operational memory, not Continuity, COTA, Current-State Tracker, or owner-acceptance authority.
No automatic chat capture. Capture tools are for explicit requests only.
The vanilla Open Brain repository and Edge Function remain unchanged.
Browser clients receive short-lived OAuth tokens, never the long-lived Open Brain access key.
OAuth tokens are validated and then terminated at this gateway; they are not passed to the upstream Open Brain.
Components
open-brain-web-gateway: OAuth-protected Streamable HTTP MCP relay with client/user allowlists, exact and summary aliases, and authoritative post-write receipts.docs/: GitHub Pages email-link sign-in and OAuth consent UI, plus privacy and terms pages.open-brain-oauth-ui: deployable source retained as a fallback for a future custom Supabase domain; the default Supabase Functions domain intentionally rewrites HTML to plain text.
Required live configuration
Supabase OAuth 2.1 Server enabled with authorization path
/oauth/consent.Auth Site URL:
https://derivedbetter.github.io/open-brain-oauth-ui.Authorization path:
/oauth/consent/and redirect allowlist includeshttps://derivedbetter.github.io/open-brain-oauth-ui/**.Two pre-registered confidential clients: Gemini Spark and Perplexity.
Edge secrets:
OPEN_BRAIN_ALLOWED_EMAILS=<approved-email>OPEN_BRAIN_OAUTH_CLIENT_IDS=<gemini-client-id>,<perplexity-client-id>optional
OPEN_BRAIN_OAUTH_AUDIENCES=authenticated,<gateway-url>existing
MCP_ACCESS_KEYremains server-side.
Dynamic client registration stays disabled for the pilot.
Validation
npm test
npx -y supabase@latest functions deploy open-brain-oauth-ui --project-ref zoptbgumxukgpkgbtnpz --no-verify-jwt
npx -y supabase@latest functions deploy open-brain-web-gateway --project-ref zoptbgumxukgpkgbtnpz --no-verify-jwtTest discovery and unauthenticated failure before connecting a client:
GET /functions/v1/open-brain-web-gateway/.well-known/oauth-protected-resourcereturns protected-resource metadata.unauthenticated
POST /functions/v1/open-brain-web-gatewayreturns401and an OAuthWWW-Authenticatechallenge.invalid user, client, issuer, audience, and expired tokens fail closed without an upstream call.
Rollback
Revoke the affected OAuth client, disable the connector in Gemini or Perplexity, disable Supabase OAuth Server if no clients remain, and delete only the two gateway Edge Functions. Existing Open Brain data and the ChatGPT, Codex, and agy integrations remain unchanged.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Google-OAuth-gated LLM gateway: verify a Google ID token, then run a Gemini (Vertex AI) completion f
Odoo ERP for AI agents: hosted OAuth endpoint, gated writes, one endpoint for every instance.
Access Kernel's cloud-based browsers and app actions via MCP (remote HTTP + OAuth).
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Derivedbetter/open-brain-oauth-ui'
If you have feedback or need assistance with the MCP directory API, please join our Discord server