databasescloud-infrastructure

Alibaba Cloud Supabase

aliyun

by aliyun

Alibaba Cloud Supabase integrates project management, GPDB tools, Edge Functions, storage, and cloud automation for seam

Integrates Supabase project management and Alibaba Cloud GPDB with tools for database operations, Edge Functions deployment, storage management, and cloud infrastructure automation.

github stars

7

0 commentsdiscussion

Both formats append explainx.ai attribution and the canonical URL for this MCP server listing.

Free Supabase deployment on Alibaba CloudDirect AI assistant integration

best for

  • / Developers building on Supabase with AI assistant workflows
  • / Teams using Alibaba Cloud infrastructure
  • / Database management through conversational AI

capabilities

  • / Manage Supabase tables and query data
  • / Deploy Edge Functions to Supabase
  • / Handle file storage operations
  • / Automate Alibaba Cloud GPDB tasks
  • / Fetch project configuration details

what it does

Connects AI assistants to Supabase projects for database operations, Edge Functions deployment, and storage management, integrated with Alibaba Cloud infrastructure.

about

Alibaba Cloud Supabase is an official MCP server published by aliyun that provides AI assistants with tools and capabilities via the Model Context Protocol. Alibaba Cloud Supabase integrates project management, GPDB tools, Edge Functions, storage, and cloud automation for seam It is categorized under databases, cloud infrastructure.

how to install

You can install Alibaba Cloud Supabase in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

license

Apache-2.0

Alibaba Cloud Supabase is released under the Apache-2.0 license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

readme

Aliyun Supabase

🎉 Supabase on Alibaba Cloud is FREE! Deploy Supabase for free on Alibaba Cloud today.

Free for Developers: Learn more about our product Supabase on Alibaba Cloud (AnalyticDB for PostgreSQL) - available at no cost.

Learn more about Alibaba Cloud Supabase MCP.

Supabase MCP Server

Connect your Supabase projects to Cursor, Claude, Windsurf, Lingma, Qoder, and other AI assistants.

supabase-mcp-demo

The Model Context Protocol (MCP) standardizes how Large Language Models (LLMs) talk to external services like Supabase. It connects AI assistants directly with your Supabase project and allows them to perform tasks like managing tables, fetching config, and querying data. See the full list of tools.

Prerequisites

You will need Node.js installed on your machine. You can check this by running:

node -v

If you don't have Node.js installed, you can download it from nodejs.org.

Setup

1. Aliyun AK & SK

First, go to your Aliyun console and create a personal access key. Give it a name that describes its purpose, like "Cursor MCP Server".

This will be used to authenticate the MCP server with your Supabase account. Make sure to copy the token, as you won't be able to see it again.

2. Configure MCP client

Next, configure your MCP client (such as Cursor) to use this server. Most MCP clients store the configuration as JSON in the following format:

{
  "mcpServers": {
    "supabase": {
      "command": "npx",
      "args": [
        "-y",
        "@aliyun-supabase/mcp-server-supabase@latest",
        "--features=aliyun",
      ],
      "env": {
        "ALIYUN_ACCESS_TOKEN": "<YOUR_AK>|<YOUR_SK>"
      }
    }
  }
}

Replace <ALIYUN_ACCESS_TOKEN> with the token you created in step 1.

Alternatively, you can use the separate environment variables:

{
  "mcpServers": {
    "supabase": {
      "command": "npx",
      "args": [
        "-y",
        "@aliyun-supabase/mcp-server-supabase@latest",
        "--features=aliyun",
      ],
      "env": {
        "ALIBABA_CLOUD_ACCESS_KEY_ID": "<YOUR_AK>",
        "ALIBABA_CLOUD_ACCESS_KEY_SECRET": "<YOUR_SK>"
      }
    }
  }
}

Scoping to a Specific Aliyun Project

To scope the MCP server to a specific Aliyun project and avoid traversing all regions and projects, you can use the --project-id and --region-id flags:

{
  "mcpServers": {
    "supabase": {
      "command": "npx",
      "args": [
        "-y",
        "@aliyun-supabase/mcp-server-supabase@latest",
        "--features=aliyun",
        "--project-id=your-project-id",
        "--region-id=cn-hangzhou"
      ],
      "env": {
        "ALIBABA_CLOUD_ACCESS_KEY_ID": "<YOUR_AK>",
        "ALIBABA_CLOUD_ACCESS_KEY_SECRET": "<YOUR_SK>"
      }
    }
  }
}

When --project-id is specified:

  • All Aliyun tools will automatically use this project ID
  • The project_id parameter will be automatically injected and removed from tool parameters
  • You won't need to specify the project ID when calling tools

When --region-id is specified:

  • All Aliyun tools will automatically use this region ID
  • The region_id parameter will be automatically injected and removed from tool parameters
  • This helps avoid traversing all regions to find projects

Note: Both --project-id and --region-id are optional. If not specified, tools will work as before, requiring you to provide these parameters when calling tools.

Read-Only Mode

For enhanced security, especially when working with production databases, you can enable read-only mode by adding the --read-only flag. In read-only mode:

  • The execute_sql tool will automatically wrap SQL queries in read-only transactions
  • All write operations (CREATE, DROP, ALTER, INSERT, UPDATE, DELETE, etc.) are blocked
  • Only SELECT queries and other read operations are permitted
  • The server will reject any attempts to modify data or schema

Enable read-only mode by adding --read-only to your args:

{
  "mcpServers": {
    "supabase": {
      "command": "npx",
      "args": [
        "-y",
        "@aliyun-supabase/mcp-server-supabase@latest",
        "--features=aliyun",
        "--read-only"
      ],
      "env": {
        "ALIBABA_CLOUD_ACCESS_KEY_ID": "<YOUR_AK>",
        "ALIBABA_CLOUD_ACCESS_KEY_SECRET": "<YOUR_SK>"
      }
    }
  }
}

Note: When --read-only mode is enabled, write operations will automatically be wrapped in a read-only transaction that will be rolled back, ensuring no data changes are committed.

Tools

Note: This server is pre-1.0, so expect some breaking changes between versions. Since LLMs will automatically adapt to the tools available, this shouldn't affect most users.

The following Supabase tools are available to the LLM, grouped by feature.

Aliyun

Disabled by default. Use aliyun to target this group of tools with the --features option.

The Aliyun tools are organized into the following categories:

Project Management:

  • list_aliyun_supabase_projects: Lists all Supabase projects deployed on the Aliyun platform. Use this to retrieve a list of existing projects with their basic information. If no projects are found in the default region (cn-hangzhou), try other regions obtained from the describe_regions tool.
  • get_supabase_project: Gets details for a specific Supabase project on Aliyun platform.
  • create_supabase_project: Create a new Supabase project on Aliyun platform.
  • delete_supabase_project: Delete a Supabase project on Aliyun platform.

Project Configuration:

  • get_supabase_project_api_keys: Gets the Supabase project API keys including anon key and serviceRoleKey.
  • modify_supabase_project_security_ip_list: Modify the IP whitelist for a Supabase project. You need to add the client IP address or IP address range to the whitelist before using the Supabase instance.
  • reset_supabase_project_password: Reset the database password for a Supabase project.

Infrastructure:

  • describe_regions: Describe available regions and zones for Aliyun Supabase projects.
  • describe_rds_vpcs: Describe available VPCs in Aliyun for Supabase project deployment.
  • describe_rds_vswitches: Describe available vSwitches in Aliyun for Supabase project deployment.

Database Operations:

  • execute_sql: Executes custom SQL queries on a Supabase project database by building and running a curl command. Requires PublicConnectUrl and serviceRoleKey. When run in read-only mode (with --read-only flag), write operations are automatically wrapped in a read-only transaction and rolled back to prevent data changes.
  • list_table: Lists all tables in specified schemas of a Supabase project database. By default lists all non-system tables, but can filter by schema. Useful for exploring database structure and existing data models. Requires the project's PublicConnectUrl as url and serviceRoleKey as api_key obtained from other tools.
  • list_columns: Lists all columns in a table with detailed metadata including data type, nullable status, default values, and constraints. Requires the project's PublicConnectUrl as url and serviceRoleKey as api_key obtained from other tools.
  • list_indexes: Lists all indexes on tables in a schema including index name, table name, and index definition. Requires the project's PublicConnectUrl as url and serviceRoleKey as api_key obtained from other tools.
  • list_extensions: Lists all PostgreSQL extensions installed in the database. Shows extension name, version, schema, and description. Requires the project's PublicConnectUrl as url and serviceRoleKey as api_key obtained from other tools.

Authentication Users

  • list_auth_users: Lists all authentication users in a Supabase project on Aliyun. Requires the project's PublicConnectUrl as url and serviceRoleKey as api_key obtained from other tools. Uses Supabase Admin API to retrieve user information. Supports pagination with optional page and per_page parameters.
  • get_auth_user: Retrieves details for a specific user in a Supabase project on Aliyun. Requires the project's PublicConnectUrl as url and serviceRoleKey as api_key obtained from other tools. Uses Supabase Admin API to retrieve user information.
  • create_auth_user: Creates a new user using Supabase Admin API in a Supabase project on Aliyun. Requires the project's PublicConnectUrl as url and serviceRoleKey as api_key obtained from other tools. Supports email, phone, password, and custom metadata.
  • update_auth_user: Updates user details using Supabase Admin API in a Supabase project on Aliyun. Requires the project's PublicConnectUrl as url and serviceRoleKey as api_key obtained from other tools. Can update email, phone, password, and metadata.
  • delete_auth_user: Deletes a user using Supabase Admin API in a Supabase project on Aliyun. Requires the project's PublicConnectUrl as url and serviceRoleKey as api_key obtained from other tools.

Edge Functions

  • deploy_edge_function: Deploys an Edge Function to a Supabase project on Aliyun. Requires the project's PublicConnectUrl as url and serviceRoleKey as api_key. The function file must be named index.ts and written in TypeScript. Supports optional JWT verification configuration. Note: If your function code contains import statements, ensure your Supabase instance has public internet access to download dependencies.
  • list_edge_functions: Lists all Edge Functions in a Supabase projec

FAQ

What is the Alibaba Cloud Supabase MCP server?
Alibaba Cloud Supabase is a Model Context Protocol (MCP) server profile on explainx.ai. MCP lets AI hosts (e.g. Claude Desktop, Cursor) call tools and resources through a standard interface; this page summarizes categories, install hints, and community ratings.
How do MCP servers relate to agent skills?
Skills are reusable instruction packages (often SKILL.md); MCP servers expose live capabilities. Teams frequently combine both—skills for workflows, MCP for APIs and data. See explainx.ai/skills and explainx.ai/mcp-servers for parallel directories.
How are reviews shown for Alibaba Cloud Supabase?
This profile displays 37 aggregated ratings (sample rows for discoverability plus signed-in user reviews). Average score is about 4.6 out of 5—verify behavior in your own environment before production use.

Use Cases

Direct Database Queries from AI

Enable Claude to query your database directly using natural language

Example

Ask 'Show me top 10 customers by revenue this month' and get SQL results instantly

Eliminate manual SQL writing for ad-hoc queries, get insights 10x faster

Data Analysis & Reporting

Generate complex reports and analytics without leaving conversation

Example

Analyze sales trends, cohort retention, user behavior patterns conversationally

Democratize data access—non-technical team members can query databases

Schema Exploration

Understand database structure, relationships, and data models

Example

'Explain the user_orders table schema and its relationships'

Onboard engineers faster, explore unfamiliar databases efficiently

Data Validation & Quality Checks

Run data quality queries to catch anomalies and inconsistencies

Example

Find duplicate records, missing values, orphaned foreign keys automatically

Maintain data integrity with less manual SQL work

Implementation Guide

Prerequisites

  • Claude Desktop 0.7.0+ or Cursor with MCP support
  • Database credentials (read-only recommended for safety)
  • Network access from Claude client to database
  • Understanding of database security and access control

Time Estimate

15-30 minutes including configuration and testing

Installation Steps

  1. 1.Install MCP server: npm install -g @modelcontextprotocol/server-[name]
  2. 2.Configure database connection in Claude Desktop config (~/.claude/mcp.json)
  3. 3.Provide connection string: host, port, database, username, password
  4. 4.Restart Claude Desktop to load MCP server
  5. 5.Test connection: 'List all tables in database'
  6. 6.Run simple query: 'Show me 5 rows from users table'
  7. 7.Verify results and permissions are correct
  8. 8.Document query patterns for team use

Troubleshooting

  • Connection refused: Check database is running and network accessible
  • Authentication failed: Verify credentials, check user permissions
  • Claude can't see tables: Grant appropriate read permissions to database user
  • Slow queries: Add indexes, limit result set size, use read replicas
  • MCP server not loading: Check config syntax, restart Claude Desktop

Best Practices

✓ Do

  • +Use read-only database credentials to prevent accidental writes
  • +Connect to read replica, not production primary database
  • +Set query timeout limits to prevent long-running queries
  • +Document database schema and common queries for AI context
  • +Monitor query performance and optimize slow queries
  • +Use connection pooling for better performance
  • +Test with non-production data first

✗ Don't

  • Don't use production write credentials—risk of data corruption
  • Don't query production database during peak traffic hours
  • Don't expose sensitive PII without proper access controls
  • Don't skip query result validation—AI can misinterpret schema
  • Don't allow unlimited result set sizes—set LIMIT clauses
  • Don't share database credentials in plain text config files

💡 Pro Tips

  • Create database views for common queries to simplify AI access
  • Add schema comments/descriptions so AI understands column meanings
  • Use semantic table/column names ('customer_lifetime_value' not 'clv')
  • Set up query logging to audit what Claude is querying
  • Create saved query templates for recurring analysis
  • Combine with data visualization tools for better insights

Technical Details

Architecture

MCP server acts as bridge between Claude and database, translating natural language to SQL queries and returning results in structured format.

Protocols

  • Model Context Protocol (MCP)
  • Database-specific protocols (PostgreSQL, MySQL, MongoDB)

Compatibility

  • PostgreSQL
  • MySQL
  • SQLite
  • MongoDB
  • Redis

When to Use This

✓ Use When

Use for ad-hoc data queries, exploratory analysis, report generation, schema exploration, and democratizing data access. Best for read-heavy analytics workloads.

✗ Avoid When

Avoid for production write operations, mission-critical transactions, real-time OLTP workloads, or when database contains sensitive PII without proper access controls. Use read replicas, not primary.

Integration

  • Read replica connection for analytics queries
  • Database view layer to abstract complex joins
  • Query result caching for repeated questions
  • Audit logging of all AI-generated queries

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.

List & Promote Your MCP Server

Share your MCP server with the developer community

GET_STARTED →
MCP server reviews

Ratings

4.637 reviews
  • Chaitanya Patil· Dec 28, 2024

    Alibaba Cloud Supabase reduced integration guesswork — categories and install configs on the listing matched the upstream repo.

  • Kaira Martinez· Dec 12, 2024

    I recommend Alibaba Cloud Supabase for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.

  • Ishan Sethi· Dec 8, 2024

    Alibaba Cloud Supabase is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.

  • Piyush G· Nov 19, 2024

    I recommend Alibaba Cloud Supabase for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.

  • Liam Nasser· Nov 3, 2024

    Alibaba Cloud Supabase reduced integration guesswork — categories and install configs on the listing matched the upstream repo.

  • Mateo Liu· Oct 22, 2024

    Useful MCP listing: Alibaba Cloud Supabase is the kind of server we cite when onboarding engineers to host + tool permissions.

  • Shikha Mishra· Oct 10, 2024

    Strong directory entry: Alibaba Cloud Supabase surfaces stars and publisher context so we could sanity-check maintenance before adopting.

  • Zara Kim· Sep 25, 2024

    Alibaba Cloud Supabase has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.

  • James Zhang· Sep 13, 2024

    According to our notes, Alibaba Cloud Supabase benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.

  • James Liu· Sep 13, 2024

    Alibaba Cloud Supabase is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.

showing 1-10 of 37

1 / 4