Skip to main content
Glama
aliyun

Aliyun RDS Supabase MCP Server

Official
by aliyun

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DB_URLNoDatabase connection string (--db-url)
JWT_SECRETNoJWT secret (--jwt-secret)
SUPABASE_URLNoSupabase project URL (--supabase-url)
TOOLS_CONFIGNoPath to tools configuration JSON file (--tools-config)
ALIYUN_REGIONNoAlibaba Cloud region, e.g. cn-hangzhou (--aliyun-region)
WORKSPACE_PATHNoWorkspace root path (--workspace-path)
ENABLE_RAG_AGENTNoEnable RAG Agent integration (--enable-rag-agent)
SUPABASE_ANON_KEYNoSupabase anon key (--supabase-anon-key)
SUPABASE_USER_EMAILNoSupabase user email for RLS mode (--supabase-user-email)
ALIYUN_ACCESS_KEY_IDNoAlibaba Cloud Access Key ID for Aliyun mode (--aliyun-ak)
SUPABASE_USER_PASSWORDNoSupabase user password for RLS mode (--supabase-user-password)
ALIYUN_ACCESS_KEY_SECRETNoAlibaba Cloud Access Key Secret for Aliyun mode (--aliyun-sk)
SUPABASE_SERVICE_ROLE_KEYNoSupabase service role key (--supabase-service-role-key)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_aliyun_supabase_instancesA

List all Supabase instances from Alibaba Cloud RDS AI. Returns instance names, status, connection URLs, and other metadata. Use this tool to discover available Supabase instances before connecting.

connect_to_supabase_instanceA

Connect to a specific Supabase instance by instance name. This tool fetches credentials from Alibaba Cloud and establishes a connection. After connecting, you can use all Supabase tools (list_tables, execute_sql, etc.).

get_current_supabase_instanceA

Get information about the currently connected Supabase instance. Returns the instance name if connected, or a message indicating no connection.

disconnect_supabase_instanceA

Disconnect from the currently connected Supabase instance. After disconnecting, you need to connect to an instance again before using Supabase tools.

list_tablesB

Lists all accessible tables in the connected database, grouped by schema.

list_extensionsA

Lists all installed PostgreSQL extensions in the database.

list_migrationsA

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. Requires direct database connection (DATABASE_URL).

execute_sqlB

Executes an arbitrary SQL query against the database, using direct database connection when available or RPC function as fallback.

get_database_connectionsA

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_keyA

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 (supabase gen types) and saves the file inside the configured workspace. Requires DATABASE_URL configuration and Supabase CLI installed.

rebuild_hooksB

Attempts to restart the pg_net worker. Requires the pg_net extension to be installed and available.

verify_jwt_secretA

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_userB

Retrieves details for a specific user from auth.users by their ID.

delete_auth_userB

Deletes a user using Supabase Admin API. Requires service role key.

create_auth_userA

Creates a new user using Supabase Admin API. Requires service role key.

update_auth_userC

Updates fields for a user using Supabase Admin API. Requires service role key.

list_storage_bucketsB

Lists all storage buckets in the project.

list_storage_objectsA

Lists objects within a specific storage bucket, optionally filtering by prefix.

list_realtime_publicationsA

Lists PostgreSQL publications, often used by Supabase Realtime.

install_execute_sql_functionA

Install the execute_sql RPC function in the connected Supabase instance. This function is required for tools that need to execute SQL queries (list_tables, list_extensions, execute_sql, etc.). This tool uses the postgres-meta API and does not require direct database access.

search_docsA

Search the Supabase official documentation using GraphQL. Must be a valid GraphQL query. You should default to calling this even if you think you already know the answer, since the documentation is always being updated. This tool queries the official Supabase documentation to help users understand Supabase features, APIs, and best practices.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/aliyun/rds-supabase-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server