Files
supabase/apps/docs/spec/mcp_tools_permissions.json
supabase-supabase-autofixer[bot]andzamotany e54394cfd8 feat: update mgmt api docs (#49743)
This PR updates Management API docs automatically.

This regenerates:

- Management API specs and sections
- Personal Access Tokens permission-to-endpoint table
- Personal Access Tokens MCP tool permissions table

Sources include the live Management API specs, MCP permission map,
and Studio's shared permission catalog.

Co-authored-by: zamotany <17573635+zamotany@users.noreply.github.com>
2026-09-30 18:34:09 +02:00

37 lines
1.8 KiB
JSON

{
"list_organizations": [["organizations_read"]],
"get_organization": [["organization_admin_read"]],
"list_projects": [["projects_read"]],
"get_project": [["project_admin_read"]],
"create_project": [["organization_projects_create"]],
"pause_project": [["project_admin_write"]],
"restore_project": [["project_admin_write"]],
"list_branches": [["branching_development_read"], ["branching_production_read"]],
"create_branch": [["branching_development_create"], ["branching_production_create"]],
"delete_branch": [["branching_production_delete"], ["branching_development_delete"]],
"merge_branch": [["branching_production_write"], ["branching_development_write"]],
"reset_branch": [["branching_production_write"], ["branching_development_write"]],
"rebase_branch": [["branching_production_write"], ["branching_development_write"]],
"execute_sql": [["database_read"]],
"list_tables": [["database_read"]],
"list_extensions": [["database_read"]],
"list_migrations": [["database_migrations_read"]],
"apply_migration": [["database_migrations_write"]],
"get_logs": [["analytics_logs_read"]],
"query_logs": [["analytics_logs_read"]],
"get_advisors": [["advisors_read"]],
"generate_typescript_types": [["database_read"]],
"get_project_url": [["project_admin_read"]],
"get_publishable_keys": [["api_gateway_keys_read"]],
"list_edge_functions": [["edge_functions_read"]],
"get_edge_function": [["edge_functions_read"]],
"deploy_edge_function": [["edge_functions_write"]],
"create_edge_function_secret": [["edge_functions_secrets_write", "edge_functions_secrets_read"]],
"get_storage_config": [["storage_config_read"]],
"update_storage_config": [["storage_config_write"]],
"list_storage_buckets": [["storage_read"]],
"get_cost": [["organization_admin_read", "projects_read"]],
"confirm_cost": [[]],
"search_docs": [[]]
}