Listed from the MCP registry; nobody on Odel publishes it.
Is this yours? Claim itSupabase Edge Functions MCP server with allowlisted tools and PostgreSQL RLS.
One address for any MCP client. No sign-in needed on this server.

4 read2 act
Grouped by tool name.
Odel charges nothing per call. The publisher may charge for its own service.
MCP server + debugging assistant running on Supabase Edge Functions.
Forge inspects database schemas, explains SQL query plans, drafts RLS policies, and executes read-only queries scoped to the signed-in user's JWT. No service_role key is ever exposed to the client.
Hosted setup guide: HOSTED.md
Repository: https://github.com/mcontrerasmalpar-pixel/Forge
security invoker RPCs, zero frontend permission hacks)acme-alpha vs isolated tenant beta-shadowAzureOpenAI SDK) with a built-in zero-key MCP router fallback so the demo works out of the boxCursor / Web Assistant UI
| MCP JSON-RPC 2.0 (Bearer User JWT)
v
Edge Function: mcp-server
| Postgres RPCs + Row Level Security (auth.uid())
v
PostgreSQL
The chat Edge Function orchestrates tool calls via AzureOpenAI when configured, or falls back to a deterministic MCP tool router so every tool (list_tables, list_policies, list_functions, explain_query, propose_rls, run_readonly_sql) can be tested live without paid LLM quota.
The web assistant is pre-wired to a live hosted Supabase project protected by PostgreSQL RLS (https://skxljgnpjmnekvecpfjd.supabase.co), with a ready-to-use demo account pre-filled in the UI:
git clone https://github.com/mcontrerasmalpar-pixel/Forge.git
cd Forge/apps/web
npm install
npm run dev
demo@forge.dev / ForgeDemo123!) → status updates to JWT: yes · demo@forge.dev.your_org: "acme-alpha" and hidden_org: "beta-shadow").Run the automated router + SQL guardrail test suite from the repo root:
npm run evals
supabase/functions/mcp-server/index.ts — Edge Function MCP server (initialize, tools/list, tools/call, SQL read-only validator, rate limiter).supabase/migrations/20260907000000_init.sql — Multi-tenant schema (organizations, memberships, documents, usage_events) and RLS policies using my_org_ids().supabase/migrations/20260907000001_forge_rpcs.sql — Catalog inspection RPCs (security definer, restricted to service_role) and query execution RPCs (security invoker, default_transaction_read_only = on, statement_timeout = '3s').supabase/migrations/20260907000002_bootstrap_demo.sql — Idempotent two-tenant RLS fixture (acme-alpha vs beta-shadow).supabase/functions/chat/index.ts — Optional AzureOpenAI tool-calling loop with a built-in zero-key MCP router fallback.evals/run.mjs — 12 automated checks covering tool routing and SQL injection/DDL guardrails.server.json — Official MCP Registry manifest (streamable-http remote specification).npx supabase db push + npx supabase functions deploy).apps/web/.env.local:NEXT_PUBLIC_SUPABASE_URL=https://YOUR_REF.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJ... # anon or publishable key
cd apps/web
npm install
npm run dev
JWT: yes.your_org: "acme-alpha" and hidden_org: "beta-shadow".Copy .cursor/mcp.json.example to .cursor/mcp.json and point it to your deployed mcp-server function:
{
"mcpServers": {
"forge": {
"url": "https://YOUR_REF.supabase.co/functions/v1/mcp-server",
"headers": {
"Authorization": "Bearer USER_JWT",
"apikey": "SUPABASE_ANON_KEY"
}
}
}
}
USER_JWT is the access_token of a signed-in user session. Every MCP tool call inherits PostgreSQL RLS permissions from that JWT.
| Tool | Guardrail |
|---|---|
list_tables | Catalog metadata only (public schema) |
list_policies | Read-only pg_policy inspection |
list_functions | Read-only pg_proc inspection |
explain_query | SELECT/WITH only + read-only transaction + EXPLAIN (FORMAT JSON) |
propose_rls | Returns a reviewable SQL migration draft (applied: false) |
run_readonly_sql | Single SELECT/WITH statement + default_transaction_read_only = on + 3s timeout + RLS |
If you want chat to use Azure OpenAI instead of the built-in MCP router:
npx supabase secrets set AZURE_OPENAI_ENDPOINT=https://YOUR_RESOURCE.openai.azure.com
npx supabase secrets set AZURE_OPENAI_API_KEY=...
npx supabase secrets set AZURE_OPENAI_DEPLOYMENT=gpt-4o-mini
npx supabase functions deploy chat --project-ref YOUR_REF
anon/publishable key + user session JWT.run_readonly_sql and explain_query strip comments, reject multi-statement queries, block write/DDL/session keywords (INSERT, UPDATE, DELETE, DROP, ALTER, ANALYZE, SET, LOCK, etc.), enforce SET LOCAL default_transaction_read_only = on, and cap execution at 3s.propose_rls drafts policies without executing DDL.40 tools/min) tracked by auth.uid().Run the router + SQL guardrail evaluation suite:
npm run evals
MIT