You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -124,7 +129,7 @@ export function createSupabaseMcpServer(options: SupabaseMcpServerOptions) {
124
129
}),
125
130
get_cost: tool({
126
131
description:
127
-
'Gets the cost of creating a new project or branch. Never assume organization as costs can be different for each.',
132
+
'Gets the cost of creating a new project. Never assume organization when creating a project as costs can be different for each.',
128
133
parameters: z.object({
129
134
type: z.enum(['project','branch']),
130
135
organization_id: z
@@ -154,7 +159,7 @@ export function createSupabaseMcpServer(options: SupabaseMcpServerOptions) {
154
159
}),
155
160
confirm_cost: tool({
156
161
description:
157
-
'Ask the user to confirm their understanding of the cost of creating a new project or branch. Call `get_cost` first. Returns a unique ID for this confirmation which should be passed to `create_project` or `create_branch`.',
162
+
'Ask the user to confirm their understanding of the cost of creating a new project. Call `get_cost` first. Returns a unique ID for this confirmation which should be passed to `create_project`.',
158
163
parameters: z.object({
159
164
type: z.enum(['project','branch']),
160
165
recurrence: z.enum(['hourly','monthly']),
@@ -504,33 +509,17 @@ export function createSupabaseMcpServer(options: SupabaseMcpServerOptions) {
504
509
505
510
// Experimental features
506
511
create_branch: tool({
507
-
description:
508
-
'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.',
512
+
description: `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.
513
+
514
+
The cost of each active branch is $${BRANCH_COST_HOURLY} per hour. Always show this to the user before creating a branch and suggest deleting any unused branches to avoid incurring extra charges.`,
0 commit comments