Supabase リモートMCPを Windsurf にMCP接続する方法(設定手順)

Supabase のリモートMCPサーバーを Windsurf に約1分でMCP接続。OAuth / 401 の問題は先に OAuth 2.1 デバッガーで確認できます。

🛡️ Official✓ VerifiedStreamable HTTPOAuth 2.1🛡️ A+~992 tok30 tools
Streamable HTTPhttps://mcp.supabase.com/mcp

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "supabase": {
      "serverUrl": "https://mcp.supabase.com/mcp"
    }
  }
}

接続手順

  1. 設定ファイルを開く — ~/.codeium/windsurf/mcp_config.json を編集します。
  2. サーバーを追加 — mcpServers に "supabase": { "serverUrl": https://mcp.supabase.com/mcp } を追加します。
  3. 認証を完了 — 初回呼び出し時に Supabase の OAuth 認可画面が開きます。許可するとツールが有効になります。
  4. 検証 — オンライン Inspector に https://mcp.supabase.com/mcp を貼り付け、initialize と tools/list を実行して接続を確認します。

🧰 ツール一覧(30)

ToolSafetyDescriptionParameters
list_organizations
~31 tok
🟢 ReadList Supabase organizations.—
get_organization
~33 tok
🟢 ReadGet details of a Supabase organization.—
list_projects
~28 tok
🟢 ReadList Supabase projects.—
get_project
~31 tok
🟢 ReadGet details of a Supabase project.—
get_project_url
~33 tok
🟢 ReadGet the API URL of a Supabase project.—
get_publishable_keys
~35 tok
🟢 ReadGet publishable/anon API keys for a project.—
get_cost
~33 tok
🟢 ReadEstimate the cost of a new project or branch.—
confirm_cost
~35 tok
🟢 ReadConfirm a cost estimate before resource creation.—
create_project
~30 tok
🟠 WriteCreate a new Supabase project.—
pause_project
~29 tok
🟠 WritePause a Supabase project.—
restore_project
~32 tok
🟠 WriteRestore a paused Supabase project.—
list_tables
~31 tok
🟢 ReadList tables in a project database.—
list_extensions
~32 tok
🟢 ReadList installed Postgres extensions.—
list_migrations
~31 tok
🟢 ReadList applied database migrations.—
apply_migration
~35 tok
🟠 WriteApply a SQL migration to the project database.—
execute_sql
~35 tok
🔴 DestructiveExecute arbitrary SQL against the project database.—
get_logs
~32 tok
🟢 ReadRetrieve recent logs for a Supabase service.—
get_advisors
~34 tok
🟢 ReadGet security and performance advisor findings.—
generate_typescript_types
~38 tok
🟢 ReadGenerate TypeScript types from the database schema.—
search_docs
~31 tok
🟢 ReadSearch the Supabase documentation.—
create_branch
~33 tok
🟠 WriteCreate a development branch of a project.—
list_branches
~32 tok
🟢 ReadList development branches of a project.—
delete_branch
~30 tok
🔴 DestructiveDelete a development branch.—
merge_branch
~33 tok
🔴 DestructiveMerge a development branch into production.—
reset_branch
~33 tok
🔴 DestructiveReset a development branch to a prior state.—
rebase_branch
~34 tok
🟠 WriteRebase a development branch onto production.—
deploy_edge_function
~34 tok
🟠 WriteDeploy an edge function to a project.—
list_edge_functions
~31 tok
🟢 ReadList deployed edge functions.—
get_edge_function
~32 tok
🟢 ReadGet details of an edge function.—
create_storage_bucket
~31 tok
🟠 WriteCreate a storage bucket.—

その他の接続ガイド