# Give your Supabase app its own MCP server

DevFeed: [Give your Supabase app its own MCP server](<https://devfeed.tech/articles/give-your-supabase-app-its-own-mcp-server-96182.md>)

Original publisher: [Read original article](<https://supabase.com/blog/give-your-supabase-app-its-own-mcp-server>)

Author: Raúl Barroso; Greg Richardson; Saxon Fletcher

Published: 2026-10-22T07:00:00Z

Content type: tutorial

Language: en

Sources: [Supabase](<https://devfeed.tech/sources/supabase-blog.md>)

Topics: [Supabase](<https://devfeed.tech/topics/supabase.md>), [Back end](<https://devfeed.tech/topics/backend.md>), [Web app](<https://devfeed.tech/topics/webapp.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [actions](<https://devfeed.tech/tags/actions.md>), [ads](<https://devfeed.tech/tags/ads.md>), [agent](<https://devfeed.tech/tags/agent.md>), [agents](<https://devfeed.tech/tags/agents.md>), [api](<https://devfeed.tech/tags/api.md>), [app](<https://devfeed.tech/tags/app.md>), [apps](<https://devfeed.tech/tags/apps.md>), [auth](<https://devfeed.tech/tags/auth.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [backends](<https://devfeed.tech/tags/backends.md>), [browser](<https://devfeed.tech/tags/browser.md>), [call](<https://devfeed.tech/tags/call.md>), [mcp](<https://devfeed.tech/tags/mcp.md>), [mcp-server](<https://devfeed.tech/tags/mcp-server.md>), [rls](<https://devfeed.tech/tags/rls.md>), [server](<https://devfeed.tech/tags/server.md>), [supabase](<https://devfeed.tech/tags/supabase.md>), [tool](<https://devfeed.tech/tags/tool.md>), [user](<https://devfeed.tech/tags/user.md>)

## AI overview

Supabase's MCP Server block lets customers use app actions from ChatGPT, Claude, or other compatible clients while each tool call uses the signed-in user's identity, so Postgres RLS policies govern accessible rows. Install the block to add an Edge Function with an MCP handler, authentication middleware, and a sample identity tool; register app-specific tools using the supplied user-scoped Supabase client. OAuth handles sign-in and consent, and setup requires asymmetric signing keys, the OAuth 2.1 server, dynamic client registration, a consent page, the correct Auth Site URL, and disabling the function's built-in JWT check for discovery requests. Tools can call database functions, Edge Functions, or existing APIs; business rules should remain in shared application logic. The helpers also support standard Web Request/Response backends such as Cloudflare Workers. MCP Apps can display reused app UI in clients that support the extension. The excerpt describes a Sizzle demo but does not establish broader client compatibility beyond those stated.

## Source excerpt

Every tool call runs as the signed-in user, so the RLS you already wrote decides what each agent reaches.