Skip to content

Commit 4462c58

Browse files
committed
feat: prompt to clarify branch cost
1 parent 21cb6c3 commit 4462c58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/mcp-server-supabase/src/server.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export function createSupabaseMcpServer(options: SupabaseMcpServerOptions) {
122122
}),
123123
create_project: tool({
124124
description:
125-
'Creates a new Supabase project. Always ask the user which organization to create the project in. Each new project can have additional costs: If on a free org, the user gets 2 projects for free. On a paid org, the user should reference https://supabase.com/pricing. Be sure the user understands this before creating new projects. The project can take a few minutes to initialize - use `getProject` to check the status.',
125+
'Creates a new Supabase project. Always ask the user which organization to create the project in. Each new project can incur additional costs: If on a free org, the user gets 2 projects for free. On a paid org, the user should reference https://supabase.com/pricing. Confirm that the user understands this before creating new projects. The project can take a few minutes to initialize - use `getProject` to check the status.',
126126
parameters: z.object({
127127
name: z.string().describe('The name of the project'),
128128
region: z.optional(
@@ -441,7 +441,7 @@ export function createSupabaseMcpServer(options: SupabaseMcpServerOptions) {
441441
// Experimental features
442442
create_branch: tool({
443443
description:
444-
'Creates a development branch on a Supabase project. This will apply all migrations from the main project to a fresh branch database. Note that production data will not carry over. The branch will get its own project_id via the resulting project_ref. Use this ID to execute queries and migrations on the branch.',
444+
'Creates a development branch on a Supabase project. This will apply all migrations from the main project to a fresh branch database. Note that production data will not carry over. The branch will get its own project_id via the resulting project_ref. Use this ID to execute queries and migrations on the branch. Branching is only available on a paid org and each branch will incur additional costs. You must confirm that the user understands these costs before calling this function. Details here: https://supabase.com/docs/guides/deployment/branching#pricing',
445445
parameters: z.object({
446446
project_id: z.string(),
447447
name: z

0 commit comments

Comments
 (0)