---
title: "Supabase MCP Server"
description: "Supabase ships an official MCP server with 20+ tools that let AI clients like Cursor and Claude create projects, manage tables via migrations, run SQL, create database branches, fetch config and logs, and generate TypeScript types."
url: "https://swe.quest/articles/supabase-mcp-server-d66dd26bdd24699a"
canonical: "https://supabase.com/blog/mcp-server"
source: "Supabase"
published: "2025-04-04"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 6
tags: ["ai-agents","postgres","developer-tools","llms"]
---

# Supabase MCP Server

A post on [Supabase](https://swe.quest/sources/supabase.md), published 2025-04-04, 6 min read, Announcement. Original: [https://supabase.com/blog/mcp-server](https://supabase.com/blog/mcp-server)

## Summary

Supabase ships an official MCP server with 20+ tools that let AI clients like Cursor and Claude create projects, manage tables via migrations, run SQL, create database branches, fetch config and logs, and generate TypeScript types. Setup is a JSON config running the npx package with a personal access token. MCP standardizes tool implementations so clients can use any compliant server, and it also defines resources and prompts, which most clients don't yet support. The roadmap covers deploying Edge Functions, OAuth-based authorization from the 2025-03-26 spec, more token-efficient schema discovery than querying information\_schema, and confirmation before destructive operations.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [PostgreSQL](https://swe.quest/tags/postgres.md) (Data & databases)
- [Developer tools](https://swe.quest/tags/developer-tools.md) (Engineering practices)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)

## Prerequisites

- LLM tool calling ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))
- Postgres basics ([easy posts on PostgreSQL](https://swe.quest/tags/postgres.md?difficulty=easy))

## Keywords

Supabase, Model Context Protocol, MCP, Cursor, Claude, Edge Functions, OAuth 2

## Related posts

- [Give your Supabase app its own MCP server](https://swe.quest/articles/give-your-supabase-app-its-own-mcp-server-db89f29412fb7983.md): Supabase · 2026-10-22 · Medium · 5 min read · AI agents, Identity & auth, PostgreSQL, Serverless, TypeScript
  Supabase apps can expose their own MCP server so customers use the app from ChatGPT, Claude or other MCP clients, signed in with their existing account.
- [Building ChatGPT Apps with Supabase Edge Functions and mcp-use](https://swe.quest/articles/building-chatgpt-apps-with-supabase-edge-functions-and-mcp-use-0df00526c3d8cd4e.md): Supabase · 2025-12-17 · Medium · 9 min read · AI agents, Serverless, TypeScript, React
  ChatGPT apps built on OpenAI's Apps SDK consist of an MCP server backend and an iframe-rendered web component, and mcp-use lets that MCP server run on Supabase Edge Functions by using Hono instead of the Express-based official SDK.
- [Supabase CLI v1 and Management API Beta](https://swe.quest/articles/supabase-cli-v1-and-management-api-beta-40e0f641270aa760.md): Supabase · 2022-08-15 · Medium · 4 min read · Schema migrations, Developer tools, PostgreSQL, CI/CD, API design
  Supabase CLI v1 leaves beta with commands to manage organizations, projects and Edge Functions, plus database migration tooling, CI/CD workflows and TypeScript type generation.
- [Supabase CLI v2: Config as Code](https://swe.quest/articles/supabase-cli-v2-config-as-code-bd9ba93f5cb80d9d.md): Supabase · 2024-12-04 · Medium · 5 min read · Configuration management, Infrastructure as code, Developer tools, Deployment, PostgreSQL
  Supabase CLI v2 adds configuration as code: a committed \`config.toml\` declares Auth redirect URLs, Edge Function settings, Storage buckets seeded from local files, Postgres settings and experimental database webhooks, and these are promoted across preview, staging and production environments. \`supabase link\` diffs local config against the remote project to detect drift.
- [Supabase Branching](https://swe.quest/articles/supabase-branching-4fbb0c9896d51627.md): Supabase · 2023-12-13 · Medium · 5 min read · Schema migrations, PostgreSQL, CI/CD, Deployment
  Supabase Branching gives each Git branch an isolated hosted Preview environment with its own Postgres database, Auth, Storage, Realtime, Edge Functions and APIs, plus separate credentials.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
