Self-Hosted Supabase MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_tablesB | Lists all accessible tables in the connected database, grouped by schema. |
| list_extensionsA | Lists all installed PostgreSQL extensions in the database. |
| list_migrationsB | Lists applied database migrations recorded in supabase_migrations.schema_migrations table. |
| apply_migrationA | Applies a SQL migration script and records it in the supabase_migrations.schema_migrations table within a transaction. |
| execute_sqlB | Executes an arbitrary SQL query against the database, using direct database connection when available or RPC function as fallback. |
| get_database_connectionsB | Retrieves information about active database connections from pg_stat_activity. |
| get_database_statsA | Retrieves statistics about database activity and the background writer from pg_stat_database and pg_stat_bgwriter. |
| get_project_urlA | Returns the configured Supabase project URL for this server. |
| get_anon_keyA | Returns the configured Supabase anon key for this server. |
| get_service_keyB | Returns the configured Supabase service role key for this server, if available. |
| generate_typescript_typesA | Generates TypeScript types from the database schema using the Supabase CLI ( |
| rebuild_hooksA | Attempts to restart the pg_net worker. Requires the pg_net extension to be installed and available. |
| verify_jwt_secretB | Checks if the Supabase JWT secret is configured for this server and returns a preview. |
| list_auth_usersC | Lists users from the auth.users table. |
| get_auth_userC | Retrieves details for a specific user from auth.users by their ID. |
| delete_auth_userA | Deletes a user from auth.users by their ID. Requires service_role key and direct DB connection. |
| create_auth_userA | Creates a new user directly in auth.users. WARNING: Requires plain password, insecure. Use with extreme caution. |
| update_auth_userA | Updates fields for a user in auth.users. WARNING: Password handling is insecure. Requires service_role key and direct DB connection. |
| list_storage_bucketsB | Lists all storage buckets in the project. |
| list_storage_objectsC | Lists objects within a specific storage bucket, optionally filtering by prefix. |
| list_realtime_publicationsB | Lists PostgreSQL publications, often used by Supabase Realtime. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
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/abushadab/selfhosted-supabase-mcp-basic-auth'
If you have feedback or need assistance with the MCP directory API, please join our Discord server