Skip to content

MCP Tools

These tools are available when connected via MCP. See MCP Setup for connection instructions.

ToolDescription
init_appCreate a new app. Returns app_id and API base URL.
list_appsList all apps with metadata.
delete_appPermanently delete an app. Irreversible.
get_app_configRead app configuration (CORS, JWT, storage limits).
update_corsSet allowed CORS origins.
update_jwt_configConfigure access/refresh token lifetimes.
generate_service_keyGenerate a bb_sk_ API key. Shown only once.
ToolDescription
get_schemaRead current database schema.
apply_schemaApply declarative schema. Set dry_run: true to preview.
dry_run_schemaPreview SQL without executing.
list_migrationsView migration history.
ToolDescription
select_rowsQuery rows with filtering, sorting, pagination.
insert_rowInsert a row into a table.
ToolDescription
configure_oauth_providerRegister a social sign-in provider.
get_oauth_configList configured OAuth providers.
update_oauth_providerModify an OAuth provider.
delete_oauth_providerRemove an OAuth provider.
enable_rlsEnable row-level security on a table.
create_policyCreate a custom RLS policy.
create_user_isolation_policyQuick user isolation setup.
get_rls_policiesList active RLS policies.
delete_rls_policyRemove RLS from a table.
query_audit_logsSearch auth audit logs.
ToolDescription
generate_upload_urlGet a presigned upload URL.
generate_download_urlGet a presigned download URL.
get_storage_objectsList all files.
delete_storage_objectDelete a file.
ToolDescription
deploy_functionDeploy a TypeScript/JavaScript function.
list_functionsList deployed functions.
invoke_functionTest-invoke a function.
delete_functionDelete a function.
update_function_envUpdate environment variables.
get_function_logsView invocation logs.
ToolDescription
create_frontend_deploymentCreate deployment and get upload URL.
start_frontend_deploymentStart deployment after upload.
list_frontend_deploymentsView deployment history.
set_frontend_envConfigure build environment variables.
ToolDescription
configure_realtimeEnable realtime on tables.
get_realtime_configView realtime configuration.
ToolDescription
submit_suggestionSubmit feedback, bug reports, or feature requests.
butterbase_docsRead documentation by topic.