Home / Servers / Supabase Management API / v1_setup_a_read_replica

Set up a read replica

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

Set up a read replica 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}/read-replicas/setup]

Name on the gateway: supabase_api__v1_setup_a_read_replica · may change things.

Parameters

NameTypeDescription
ref requiredstringProject ref
read_replica_region requiredus-east-1 | us-east-2 | us-west-1 | us-west-2 | ap-east-1 | ap-southeast-1 | ap-northeast-1 | ap-northeast-2 | ap-southeast-2 | eu-west-1 | eu-west-2 | eu-west-3 | eu-north-1 | eu-central-1 | eu-central-2 | ca-central-1 | ap-south-1 | sa-east-1Region you want your read replica to reside in

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_setup_a_read_replica",
  "arguments": {
    "ref": "…",
    "read_replica_region": "…"
  }
}

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 set up a read replica tool with ref set to ….

More from Supabase Management API