Forge — Supabase RLS & Debugging MCP Server
Supabase Edge Functions MCP server with allowlisted tools and PostgreSQL RLS.
Should I use this
Quality & Safety
B
Findings (1)
- LOWin propose_rls
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
~265Tokens (tool definitions)
~226 BTypical response size
Minimal attention impact (0.21% of 128k context)
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"forge": {
"url": "https://skxljgnpjmnekvecpfjd.supabase.co/functions/v1/mcp-server"
}
}
}Remote endpoints
https://skxljgnpjmnekvecpfjd.supabase.co/functions/v1/mcp-serverstreamable-httpWhat it can do
Tool inventory
Tools (6)
🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢list_tables
List public tables and columns.
Input Schema
{
"type": "object",
"properties": {},
"additionalProperties": false
}🟢list_policies
List RLS policies on public tables.
Input Schema
{
"type": "object",
"properties": {},
"additionalProperties": false
}🟢list_functions
List public SQL functions.
Input Schema
{
"type": "object",
"properties": {},
"additionalProperties": false
}🟢explain_query(sql)
Run EXPLAIN (FORMAT JSON) on a read-only query.
Input Schema
{
"type": "object",
"properties": {
"sql": {
"type": "string"
}
},
"required": [
"sql"
]
}⚪propose_rls(table, intent)
Draft an RLS policy. Does NOT apply it.
Input Schema
{
"type": "object",
"properties": {
"table": {
"type": "string"
},
"intent": {
"type": "string"
}
},
"required": [
"table",
"intent"
]
}🟢run_readonly_sql(sql)
Execute a single SELECT/WITH query as the signed-in user (RLS applies).
Input Schema
{
"type": "object",
"properties": {
"sql": {
"type": "string"
}
},
"required": [
"sql"
]
}Community
Evidence
Recent observations
verifiedversion not recorded6 tools