Home / Servers / Supabase Management API / v1_upgrade_postgres_version

Upgrades the project's Postgres version

An MCP tool from the Supabase Management API server, hosted on mcp.hjlabs.in.

Upgrades the project's Postgres version This is an **experimental** endpoint. It is subject to change or removal in future versions. Use it with caution, as it may not remain supported or stable. This endpoint is currently in its **Beta**… [POST /v1/projects/{ref}/upgrade]

Name on the gateway: supabase_api__v1_upgrade_postgres_version · may change things.

Parameters

NameTypeDescription
ref requiredstringProject ref
target_version requiredstring
release_channelinternal | alpha | beta | ga | withdrawn | preview

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "supabase_api__v1_upgrade_postgres_version",
  "arguments": {
    "ref": "…",
    "target_version": "…"
  }
}

Or connect the Supabase Management API server directly, which lists 167 tools including this one:

Run in your terminal
claude mcp add --transport http hj-supabase-api https://mcp.hjlabs.in/mcp/supabase-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the upgrades the project's postgres version tool with ref set to ….

More from Supabase Management API