# Supabase (MCP server)

> Supabase is an MCP server that adds database tools to AI assistants such as Claude Desktop, Claude Code and Cursor. MCP server for interacting with the Supabase platform. It has 2,956 GitHub stars, is released under the Apache-2.0 license and runs locally with npx -y @supabase/mcp-server-supabase.

Connect your Supabase projects to Cursor, Claude, Windsurf, and other AI assistants. 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.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/supabase/mcp |
| GitHub stars | 2,956 |
| License | Apache-2.0 |
| Language | TypeScript |
| Transport | stdio, streamable-http |
| Packages | npm: @supabase/mcp-server-supabase |
| Remote URL | https://mcp.supabase.com/mcp |
| Needs API key | yes |
| Official | yes |
| Works with | Claude Desktop, Claude Code, Cursor, VS Code, Claude.ai, ChatGPT |
| Category | Databases |
| Latest release | mcp-server-supabase-v0.14.0 (Oct 14, 2026) |
| Last commit | Oct 16, 2026 |
| MCP registry name | com.supabase/mcp |

## Install

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "supabase": {
      "command": "npx",
      "args": [
        "-y",
        "@supabase/mcp-server-supabase"
      ],
      "env": {
        "SUPABASE_ACCESS_TOKEN": "your-value"
      }
    }
  }
}
```

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

### Claude Code

```sh
claude mcp add --env SUPABASE_ACCESS_TOKEN=your-value --transport stdio supabase -- npx -y @supabase/mcp-server-supabase
```

### Cursor (.cursor/mcp.json)

```json
{
  "mcpServers": {
    "supabase": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@supabase/mcp-server-supabase"
      ],
      "env": {
        "SUPABASE_ACCESS_TOKEN": "your-value"
      }
    }
  }
}
```

Project file; use ~/.cursor/mcp.json to enable it in every project.

### VS Code (.vscode/mcp.json)

```json
{
  "inputs": [
    {
      "type": "promptString",
      "id": "supabase_access_token",
      "description": "SUPABASE_ACCESS_TOKEN",
      "password": true
    }
  ],
  "servers": {
    "supabase": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@supabase/mcp-server-supabase"
      ],
      "env": {
        "SUPABASE_ACCESS_TOKEN": "${input:supabase_access_token}"
      }
    }
  }
}
```

### Claude Code (remote)

```sh
claude mcp add --transport http supabase "https://mcp.supabase.com/mcp"
```

The same server is also hosted as a remote MCP endpoint, so nothing runs on your machine.

Config formats checked against the official docs on 2026-10-07.

## Environment variables

- `SUPABASE_ACCESS_TOKEN` (secret) (required): Personal access token for Supabase API

## Similar MCP servers

- [Butterbase AI MCP Server](https://appsgit.com/mcp-servers/butterbase-ai-mcp-server): Butterbase MCP server — manage your backend: schemas, auth, functions, storage, RAG, deploys. (3,111 stars, Apache-2.0, needs API key)
- [Mindwtr](https://appsgit.com/mcp-servers/mindwtr): Task automation via SQLite, desktop Local API, or Mindwtr Cloud; read-only by default. (2,270 stars, AGPL-3.0, needs API key)
- [LINQ to DB](https://appsgit.com/mcp-servers/linq-to-db): Inspect database schemas and execute SQL queries across multiple database providers with LINQ to DB. (3,334 stars, MIT)
- [MCP Server MySQL](https://appsgit.com/mcp-servers/mcp-server-mysql): A Model Context Protocol server that provides read-only access to MySQL databases. (2,166 stars, MIT)
- [DBHub](https://appsgit.com/mcp-servers/dbhub): Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite. (3,665 stars, MIT, needs API key)
- [MCP Memory Service](https://appsgit.com/mcp-servers/mcp-memory-service): Open-source persistent memory for AI agent pipelines (LangGraph, CrewAI, AutoGen) and Claude. (2,021 stars, Apache-2.0)

---

Canonical page: https://appsgit.com/mcp-servers/supabase
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed daily.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
