Scribase
Supabase-compatible Postgres for agents: projects, branches, SQL, auth, storage, email.
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"scribase": {
"url": "https://api.scribase.com/mcp"
}
}
}원격 엔드포인트
https://api.scribase.com/mcpstreamable-http할 수 있는 일
도구 목록
도구 (20)
🟢projects_list(cursor, limit, organization_id)
List your projects with their branches and status. Start here to find project ids. Scope: projects:read.
입력 스키마
{
"type": "object",
"properties": {
"cursor": {
"description": "The next_cursor of the previous page",
"type": "string"
},
"limit": {
"description": "Maximum items (default 50), e.g. 20",
"maximum": 200,
"minimum": 1,
"type": "integer"
},
"organization_id": {
"description": "Organization id, e.g. `acme`. Default: the token's.",
"type": "string"
}
},
"additionalProperties": false
}🟡projects_create(confirm_billable_cents, engine, name, organization_id, region, ...)
Create a backend (Postgres, Auth, Storage, Realtime, Functions) and wait until it is live. All arguments are optional. Returns the project URL and publishable key for createClient(). A 402 confirm_billable answer means it adds to the bill: ask the user, then call again with confirm_billable_cents. Scope: projects:write.
입력 스키마
{
"type": "object",
"properties": {
"confirm_billable_cents": {
"description": "The monthly_delta_cents of the 402 confirm_billable answer, once the user approved the charge, e.g. 500. Never guess it.",
"maximum": 10000000,
"minimum": 0,
"type": "integer"
},
"engine": {
"description": "Database engine. Default: the deployment's. `postgres-cow` has instant branches; `neon-cloud` scales to zero.",
"enum": [
"postgres-cow",
"neon-cloud",
"neon-local"
],
"type": "string"
},
"name": {
"description": "Project name, e.g. `todo-app` (lowercase letters, digits, hyphens). Optional.",
"type": "string"
},
"organization_id": {
"description": "Organization id, e.g. `acme`. Default: the token's.",
"type": "string"
},
"region": {
"description": "Region id. Optional; hosted Scribase runs in `eu-frankfurt`.",
"type": "string"
},
"wait_seconds": {
"description": "Seconds to wait until live (default 60; 0 returns at once)",
"maximum": 120,
"minimum": 0,
"type": "integer"
}
},
"additionalProperties": false
}🟢keys_get(branch, include_secret, organization_id, project_id)
The project URL and publishable (anon) key for supabase-js, as .env lines. The secret (server-only) key is included only with include_secret: true and the keys:secret scope; it bypasses row level security and must never reach client code. Scope: keys:read.
입력 스키마
{
"type": "object",
"properties": {
"branch": {
"description": "Branch id, e.g. `pr-42`. Default `production`.",
"type": "string"
},
"include_secret": {
"description": "Also return the secret key (needs keys:secret)",
"type": "boolean"
},
"organization_id": {
"description": "Organization id, e.g. `acme`. Default: the token's.",
"type": "string"
},
"project_id": {
"description": "Project id, e.g. `todo-app`. Default: the last one used, or your only one.",
"type": "string"
}
},
"additionalProperties": false
}🟡projects_start(name)
Start a real backend with no account and no bearer token: a temporary project (deleted after about 72h unless claimed). Returns connection details, an agent token to use as the bearer for every other tool, and a claim_url. Show the person the `keep.hint` line at once: only a person can claim the project (sign up, same URL and keys). With a bearer token, use projects_create instead.
입력 스키마
{
"type": "object",
"properties": {
"name": {
"description": "Project name, e.g. `todo-app` (lowercase letters, digits, hyphens). Optional.",
"type": "string"
}
},
"additionalProperties": false
}🔴sql_execute(branch, confirm, limit, organization_id, project_id, ...)
Run SQL on a branch as the project's database role. Read-only by default; pass read_only: false to write (database:write). DROP, TRUNCATE and DELETE/UPDATE without WHERE need confirm: true and the destructive scope (production:destructive on production). Use migrations_apply for schema changes. Scope: database:read.
입력 스키마
{
"type": "object",
"properties": {
"branch": {
"description": "Branch id, e.g. `pr-42`. Default `production`.",
"type": "string"
},
"confirm": {
"description": "true only after the user approved the destructive operation",
"type": "boolean"
},
"limit": {
"description": "Maximum rows to return (default 100)",
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"organization_id": {
"description": "Organization id, e.g. `acme`. Default: the token's.",
"type": "string"
},
"project_id": {
"description": "Project id, e.g. `todo-app`. Default: the last one used, or your only one.",
"type": "string"
},
"query": {
"description": "SQL, e.g. `select * from todos limit 10`. One statement when read-only; a script in one transaction when writing.",
"type": "string"
},
"read_only": {
"description": "Default true. Set false to write (needs database:write).",
"type": "boolean"
}
},
"required": [
"query"
],
"additionalProperties": false
}🔴migrations_apply(branch, confirm, dry_run, name, organization_id, ...)
Record and apply one migration (name + SQL) in a single transaction, then reload the REST API's schema cache. It is linted first: a table without row level security is blocked. dry_run: true only lints. Destructive SQL needs confirm: true and the destructive scope (production:destructive on production). Scope: database:write.
입력 스키마
{
"type": "object",
"properties": {
"branch": {
"description": "Branch id, e.g. `pr-42`. Default `production`.",
"type": "string"
},
"confirm": {
"description": "true only after the user approved the destructive operation",
"type": "boolean"
},
"dry_run": {
"description": "Only lint and plan; change nothing",
"type": "boolean"
},
"name": {
"description": "Short snake_case name, e.g. `create_todos`",
"type": "string"
},
"organization_id": {
"description": "Organization id, e.g. `acme`. Default: the token's.",
"type": "string"
},
"project_id": {
"description": "Project id, e.g. `todo-app`. Default: the last one used, or your only one.",
"type": "string"
},
"sql": {
"description": "The migration's SQL",
"type": "string"
},
"version": {
"description": "Version number; default is the current UTC time as YYYYMMDDHHMMSS",
"type": "string"
}
},
"required": [
"name",
"sql"
],
"additionalProperties": false
}🟢tables_list(branch, cursor, limit, organization_id, project_id, ...)
Tables on a branch with row counts, and whether row level security is on. Scope: database:read.
입력 스키마
{
"type": "object",
"properties": {
"branch": {
"description": "Branch id, e.g. `pr-42`. Default `production`.",
"type": "string"
},
"cursor": {
"description": "The next_cursor of the previous page",
"type": "string"
},
"limit": {
"description": "Maximum items (default 50), e.g. 20",
"maximum": 200,
"minimum": 1,
"type": "integer"
},
"organization_id": {
"description": "Organization id, e.g. `acme`. Default: the token's.",
"type": "string"
},
"project_id": {
"description": "Project id, e.g. `todo-app`. Default: the last one used, or your only one.",
"type": "string"
},
"schema": {
"description": "Schema, default `public`",
"type": "string"
}
},
"additionalProperties": false
}🟢tables_describe(branch, organization_id, project_id, schema, table)
Columns, primary key, foreign keys, indexes, row level security and policies of one table. Scope: database:read.
입력 스키마
{
"type": "object",
"properties": {
"branch": {
"description": "Branch id, e.g. `pr-42`. Default `production`.",
"type": "string"
},
"organization_id": {
"description": "Organization id, e.g. `acme`. Default: the token's.",
"type": "string"
},
"project_id": {
"description": "Project id, e.g. `todo-app`. Default: the last one used, or your only one.",
"type": "string"
},
"schema": {
"description": "Schema, default `public`",
"type": "string"
},
"table": {
"description": "Table name",
"type": "string"
}
},
"required": [
"table"
],
"additionalProperties": false
}🟢types_generate(branch, organization_id, project_id, schemas)
The supabase-js `Database` TypeScript type for a branch's schema. Save it as database.types.ts and use createClient<Database>(url, key). Scope: database:read.
입력 스키마
{
"type": "object",
"properties": {
"branch": {
"description": "Branch id, e.g. `pr-42`. Default `production`.",
"type": "string"
},
"organization_id": {
"description": "Organization id, e.g. `acme`. Default: the token's.",
"type": "string"
},
"project_id": {
"description": "Project id, e.g. `todo-app`. Default: the last one used, or your only one.",
"type": "string"
},
"schemas": {
"description": "Schemas to include, default [\"public\"]",
"items": {
"type": "string"
},
"type": "array"
}
},
"additionalProperties": false
}🟡functions_deploy(branch, entrypoint, files, import_map, name, ...)
Create or replace an edge function (Deno, TypeScript). Pass `source` for a single file, or `files` (path -> source) with an `entrypoint`. It is served at <project URL>/functions/v1/<name>. Scope: functions:write.
입력 스키마
{
"type": "object",
"properties": {
"branch": {
"description": "Branch id, e.g. `pr-42`. Default `production`.",
"type": "string"
},
"entrypoint": {
"description": "Entrypoint inside files, default index.ts",
"type": "string"
},
"files": {
"description": "Multi-file deploy: {\"path\": \"source\"}",
"type": "object"
},
"import_map": {
"description": "Inline import map",
"type": "object"
},
"name": {
"description": "Function name: letters, digits, - and _",
"type": "string"
},
"organization_id": {
"description": "Organization id, e.g. `acme`. Default: the token's.",
"type": "string"
},
"project_id": {
"description": "Project id, e.g. `todo-app`. Default: the last one used, or your only one.",
"type": "string"
},
"source": {
"description": "The entrypoint module's source (index.ts)",
"type": "string"
},
"verify_jwt": {
"description": "Require a valid JWT to call it (default true)",
"type": "boolean"
}
},
"required": [
"name"
],
"additionalProperties": false
}🟢storage_buckets_list(branch, cursor, limit, organization_id, project_id)
Storage buckets on a branch. Scope: storage:read.
입력 스키마
{
"type": "object",
"properties": {
"branch": {
"description": "Branch id, e.g. `pr-42`. Default `production`.",
"type": "string"
},
"cursor": {
"description": "The next_cursor of the previous page",
"type": "string"
},
"limit": {
"description": "Maximum items (default 50), e.g. 20",
"maximum": 200,
"minimum": 1,
"type": "integer"
},
"organization_id": {
"description": "Organization id, e.g. `acme`. Default: the token's.",
"type": "string"
},
"project_id": {
"description": "Project id, e.g. `todo-app`. Default: the last one used, or your only one.",
"type": "string"
}
},
"additionalProperties": false
}🟢auth_config_get(branch, organization_id, project_id)
Auth settings (site URL, redirect allow list, JWT expiry, sign-up rules) and providers. Scope: auth:read.
입력 스키마
{
"type": "object",
"properties": {
"branch": {
"description": "Branch id, e.g. `pr-42`. Default `production`.",
"type": "string"
},
"organization_id": {
"description": "Organization id, e.g. `acme`. Default: the token's.",
"type": "string"
},
"project_id": {
"description": "Project id, e.g. `todo-app`. Default: the last one used, or your only one.",
"type": "string"
}
},
"additionalProperties": false
}🟢logs_get(branch, cursor, level, limit, organization_id, ...)
Recent log lines for a branch, newest first: auth, rest, storage, realtime, functions or gateway. Scope: logs:read.
입력 스키마
{
"type": "object",
"properties": {
"branch": {
"description": "Branch id, e.g. `pr-42`. Default `production`.",
"type": "string"
},
"cursor": {
"description": "The next_cursor of the previous page",
"type": "string"
},
"level": {
"description": "Minimum level",
"enum": [
"debug",
"info",
"warn",
"error"
],
"type": "string"
},
"limit": {
"description": "Lines to return (default 100)",
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"organization_id": {
"description": "Organization id, e.g. `acme`. Default: the token's.",
"type": "string"
},
"project_id": {
"description": "Project id, e.g. `todo-app`. Default: the last one used, or your only one.",
"type": "string"
},
"search": {
"description": "Case-insensitive text to find in messages",
"type": "string"
},
"service": {
"description": "Service to read (default all)",
"enum": [
"all",
"auth",
"rest",
"storage",
"realtime",
"functions",
"gateway"
],
"type": "string"
},
"since_ms": {
"description": "Only lines at or after this epoch-millisecond time",
"maximum": 99999999999999,
"minimum": 0,
"type": "integer"
}
},
"additionalProperties": false
}🟢branches_list(cursor, limit, organization_id, project_id)
Branches of a project with kind, status, parent and expiry. Production is protected. Scope: branches:read.
입력 스키마
{
"type": "object",
"properties": {
"cursor": {
"description": "The next_cursor of the previous page",
"type": "string"
},
"limit": {
"description": "Maximum items (default 50), e.g. 20",
"maximum": 200,
"minimum": 1,
"type": "integer"
},
"organization_id": {
"description": "Organization id, e.g. `acme`. Default: the token's.",
"type": "string"
},
"project_id": {
"description": "Project id, e.g. `todo-app`. Default: the last one used, or your only one.",
"type": "string"
}
},
"additionalProperties": false
}🟡branches_create(data, from, from_time, name, organization_id, ...)
Fork a branch from production (or `from`) for one task, agent or pull request: a copy-on-write database with its own URL and keys. Expires after ttl_hours. Returns its URL and publishable key once live. Scope: branches:write.
입력 스키마
{
"type": "object",
"properties": {
"data": {
"description": "What to copy from the parent (default snapshot: schema and data, copy-on-write)",
"enum": [
"snapshot",
"schema_only",
"sanitized"
],
"type": "string"
},
"from": {
"description": "Parent branch, default production",
"type": "string"
},
"from_time": {
"description": "Optional RFC 3339 time, e.g. 2026-09-28T10:15:00Z: the branch holds its parent as it was then (inside the project's history window, shown on the Branches page)",
"type": "string"
},
"name": {
"description": "Branch id, e.g. `add-comments`. Optional: generated.",
"type": "string"
},
"organization_id": {
"description": "Organization id, e.g. `acme`. Default: the token's.",
"type": "string"
},
"project_id": {
"description": "Project id, e.g. `todo-app`. Default: the last one used, or your only one.",
"type": "string"
},
"ttl_hours": {
"description": "Hours until it expires (default 24)",
"maximum": 720,
"minimum": 1,
"type": "integer"
},
"wait_seconds": {
"description": "Seconds to wait until live (default 60; 0 returns at once)",
"maximum": 120,
"minimum": 0,
"type": "integer"
}
},
"additionalProperties": false
}🔴branches_merge(apply, branch, confirm, into, organization_id, ...)
Merge a branch's schema changes into its parent (default production). Without apply it is a dry run that shows the plan and conflicts; apply: true with confirm: true applies it. Scope: branches:write.
입력 스키마
{
"type": "object",
"properties": {
"apply": {
"description": "Apply the merge (default false: plan only)",
"type": "boolean"
},
"branch": {
"description": "The branch to merge",
"type": "string"
},
"confirm": {
"description": "true only after the user approved the destructive operation",
"type": "boolean"
},
"into": {
"description": "Target branch, default production",
"type": "string"
},
"organization_id": {
"description": "Organization id, e.g. `acme`. Default: the token's.",
"type": "string"
},
"project_id": {
"description": "Project id, e.g. `todo-app`. Default: the last one used, or your only one.",
"type": "string"
}
},
"required": [
"branch"
],
"additionalProperties": false
}🟢docs_search(limit, query)
Search Scribase docs: how to connect an app, row level security, branching, migrations, functions, storage, auth, tokens. Returns short answers with links.
입력 스키마
{
"type": "object",
"properties": {
"limit": {
"description": "Results (default 5)",
"maximum": 10,
"minimum": 1,
"type": "integer"
},
"query": {
"description": "The question, e.g. `how do I add Google sign-in`",
"type": "string"
}
},
"required": [
"query"
],
"additionalProperties": false
}🟢auth_users(environment_id, limit, organization_id, page, project_id)
List auth users via the per-environment GoTrue admin API. GET .../auth/users.
입력 스키마
{
"type": "object",
"properties": {
"environment_id": {
"description": "Environment (branch) id, e.g. `production` or `pr-42`.",
"type": "string"
},
"limit": {
"description": "Maximum users to return",
"type": "integer"
},
"organization_id": {
"description": "Organization id (letters, digits, hyphens), e.g. `acme`. projects_list shows it.",
"type": "string"
},
"page": {
"description": "Page number (1-based)",
"type": "integer"
},
"project_id": {
"description": "Project id, e.g. `todo-app`. projects_list shows it.",
"type": "string"
}
},
"required": [
"organization_id",
"project_id",
"environment_id"
]
}🟢search_tools(limit, query, toolset)
Find Scribase tools that are not listed here, by task or by toolset (database, schema, schedules, services, branches, observability, mobile, platform, org, backups, import). Returns names, descriptions and input schemas; run one with call_tool. No arguments lists the toolsets.
입력 스키마
{
"type": "object",
"properties": {
"limit": {
"description": "Maximum matches for `query` (default 8, max 25), e.g. 5.",
"type": "integer"
},
"query": {
"description": "What you want to do, in plain words, e.g. `run a cron job every night`. Optional.",
"type": "string"
},
"toolset": {
"description": "List every tool of one toolset, e.g. `schedules`. Optional.",
"enum": [
"core",
"database",
"schema",
"schedules",
"services",
"branches",
"observability",
"mobile",
"platform",
"org",
"backups",
"import",
"legacy"
],
"type": "string"
}
},
"additionalProperties": false
}🔴call_tool(arguments, name)
Run any Scribase tool by name, including ones search_tools found that are not listed here. Same scopes, confirmations and limits as calling the tool directly.
입력 스키마
{
"type": "object",
"properties": {
"arguments": {
"description": "The tool's arguments, per its input schema, e.g. {\"name\": \"nightly\", \"schedule\": \"0 3 * * *\", \"sql\": \"select 1\"}.",
"type": "object"
},
"name": {
"description": "Tool name as search_tools returned it, e.g. `schedule_create`.",
"type": "string"
}
},
"required": [
"name"
],
"additionalProperties": false
}커뮤니티
증거