Agent-Native Calendar
Agent-Native Google Calendar - manage events, sync, and public booking
作者提供的说明(英文原文)
Schema, database, document, user and dev-server tools for a Rebase backend project.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
REBASE_PROJECT_DIR, REBASE_BASE_URL, REBASE_API_TOKEN, REBASE_MCP_ALLOW_REMOTE_WRITES标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"rebase": {
"command": "npx",
"args": [
"-y",
"@rebasepro/mcp"
],
"env": {
"REBASE_PROJECT_DIR": "your-value",
"REBASE_BASE_URL": "your-value",
"REBASE_API_TOKEN": "your-value",
"REBASE_MCP_ALLOW_REMOTE_WRITES": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add rebase --env REBASE_PROJECT_DIR=your-value --env REBASE_BASE_URL=your-value --env REBASE_API_TOKEN=your-value --env REBASE_MCP_ALLOW_REMOTE_WRITES=your-value -- npx -y @rebasepro/mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"rebase": {
"command": "npx",
"args": [
"-y",
"@rebasepro/mcp"
],
"env": {
"REBASE_PROJECT_DIR": "your-value",
"REBASE_BASE_URL": "your-value",
"REBASE_API_TOKEN": "your-value",
"REBASE_MCP_ALLOW_REMOTE_WRITES": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"rebase": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@rebasepro/mcp"
],
"env": {
"REBASE_PROJECT_DIR": "your-value",
"REBASE_BASE_URL": "your-value",
"REBASE_API_TOKEN": "your-value",
"REBASE_MCP_ALLOW_REMOTE_WRITES": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
REBASE_PROJECT_DIR envREBASE_BASE_URL envREBASE_MCP_ALLOW_REMOTE_WRITES env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 rebasepro 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:REBASE_API_TOKEN
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.28.2)于今天进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Agent-Native Calendar, Excel MCP Server, MCP Server for Excel
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Agent-Native Google Calendar - manage events, sync, and public booking
Create and edit Excel files with AI: charts, PivotTables, formulas. No Excel needed.
Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Model Context Protocol (MCP) server that exposes Rebase schema, database, document CRUD, user management, and dev server tools to AI assistants.
pnpm add -D @rebasepro/mcp
A project made by rebase init already has it, pinned to the CLI's version: the server drives the project's own CLI and calls its own backend, so it should be the same release as both.
ESM-only: "type": "module" with no CommonJS build, so it is loaded with import. It needs Node >=22.22.0 (its engines floor), where require() of it resolves too: Node has supported require(esm) since 22.12.
Run the project's copy:
pnpm exec rebase-mcp
@rebasepro/mcp implements the Model Context Protocol over stdio, allowing AI assistants (Gemini, Claude, Cursor, etc.) to interact with a Rebase project. It provides tools and exposes collection definitions and generated schemas as MCP resources. It has native support for managing multiple local and remote projects.
The MCP server supports managing multiple Rebase projects simultaneously. This is ideal when working in an IDE with multiple open workspaces or when interacting with both local development servers and remote staging/production environments.
~/.rebase/projects.json.rebase dev is running locally, the MCP server automatically discovers the active development port and service key from .rebase/state.json inside the project directory, giving you zero-config local development.One precedence, in this order:
REBASE_PROJECT_DIR, REBASE_BASE_URL, REBASE_API_TOKEN. If any of them is set, the default project is rebuilt from them on every start. The rebuild is whole-entry: a token registered against the old projectDir is dropped rather than carried into a directory it was never issued for.rebase.json. ~/.rebase/projects.json is machine-wide, and a project you are standing in outranks a home-directory cache.A default derived from 1 or 2 is never written back to the registry: it is recomputed at every start, and persisting it would put one project's directory, backend URL and dev service key in the file every other project on the machine reads.
Auto-discovery fills gaps in all three cases and never overrules a value one of them supplied — not the token and not the baseUrl. Discovery reads the dev server's *service key*, which is an unscoped admin secret, so a narrow rk_live_* key you registered is what gets used even while rebase dev is running; likewise a project registered against https://staging.example.com stays there rather than being silently redirected to the local dev port. A baseUrl disagreement between the two is reported on stderr. Filling a gap is not: with no token registered, the SDK tools run on the discovered service key — full admin — and nothing says so.
rebase init writes "env": { "REBASE_PROJECT_DIR": "." } into the scaffolded .mcp.json — relative to the client's working directory, which for a project-level config file is the project.
The server reads configuration from environment variables and .env files:
| Variable | Default | Description |
|---|---|---|
REBASE_PROJECT_DIR | process.cwd() | Project root directory (the rebase.json directory) |
REBASE_BASE_URL | http://localhost:3001 | Rebase backend URL, when discovery finds no dev server |
REBASE_API_TOKEN | (empty) | Auth token for API calls to the app. REBASE_TOKEN (the CLI's control-plane token) is never sent to the app; the cloud tools pass it to the CLI only |
REBASE_MCP_ALLOW_REMOTE_WRITES | false | Allow destructive tools to run against non-local targets (see below) |
The server attempts to load .env from $REBASE_PROJECT_DIR/.env or $REBASE_PROJECT_DIR/app/.env. Those values configure the server itself. They are not passed on to the CLI or the dev server it spawns: those read the active project's own .env, and a variable handed down would outrank it, and the branch the checkout is switched to, as if you had exported it in your shell.
rebase_project_add accepts any baseUrl, and the CLI tools connect with whatever DATABASE_URL the project's .env declares. That means the same tool list that edits a scratch database on your laptop can drop production rows — with nothing in between but the assistant's judgement about which project is currently active.
Every tool that changes the target environment is refused unless that target is on the loopback interface. The gate is a list of what is *not* gated, so a newly added tool is protected by default:
rebase_schema_plan, rebase_doctor, rebase_db_branch_list, rebase_db_branch_info, rebase_db_branch_diff, list_documents, get_document, list_users, list_roles, storage_list_objects, storage_get_download_url, cron_list_jobs, cron_get_job, cron_get_job_logs, rebase_dev_logs, and the Rebase Cloud reads rebase_cloud_status, rebase_cloud_logs, rebase_cloud_env_list, rebase_cloud_deployments_list.rebase_cloud_provision, rebase_cloud_deploy, rebase_cloud_env_set, rebase_cloud_rollback. Provisioning creates a project and links this directory; the others change the linked cloud project, but they spawn rebase cloud, which acts on the project .rebase/cloud.json links with the CLI's own credential and the control plane's own permission checks; they never use baseUrl or DATABASE_URL, which is all the gate can check.rebase_schema_introspect, rebase_db_branch_switch, rebase_schema_generate, rebase_db_generate, rebase_generate_sdk, the dev-server tools, and the project-registry tools. These write local files or local state and have no remote target to check.rebase_db_push, rebase_db_migrate, rebase_db_branch_create, rebase_db_branch_delete.create_document, update_document, delete_document, create_user, update_user, delete_user, rebase_auth_reset_password, storage_delete_object, cron_trigger_job, cron_toggle_job, invoke_function.The two targets are not interchangeable: CLI tools never see baseUrl, so a localhost backend sitting next to a production DATABASE_URL is checked against the database, not the backend. create_user and update_user set roles, so they can mint an admin; invoke_function calls any function with any HTTP method; cron_toggle_job disables a scheduled backup silently. None of those is recoverable in the sense "additive" suggests, which is why the list is now the other way round.
The DATABASE_URL the gate checks is resolved the way the spawned CLI resolves it. A DATABASE_URL exported in the shell the server was started from wins outright. Otherwise the gate reads every DATABASE_URL and ADMIN_CONNECTION_STRING (the fallback the branch commands accept) in /.env, /backend/.env, DOTENV_CONFIG_PATH and the parent directory's .env, parsing each file with dotenv as the CLI does, and refuses if any of them is remote. If no connection string can be resolved at all, the DB tools are refused: an unverifiable target is not a safe one, and the child does its own resolution from files this process may not see.
Only loopback (localhost and *.localhost, 127.0.0.0/8, ::1, 0.0.0.0) counts as local — private ranges like 10.x and 192.168.x do not, since those are as likely to be a shared staging cluster as a laptop.
Set REBASE_MCP_ALLOW_REMOTE_WRITES=true to opt out.
The branch tools (rebase_db_branch_*) also require an admin, checked through GET /auth/me — which answers a signed-in user's access token only, so with a service key (including the one discovery supplies) or an rk_live_* API key every branch tool fails with "Admin authorization failed".
Rows, user records, storage listings, cron jobs, function responses and CLI output are returned inside an explicit << >> envelope. Anything stored in your database was written by somebody, and it arrives on the same channel as the tool contract the assistant is following; the envelope tells the model to treat it as inert content rather than instructions. It is a marker, not a sandbox — an assistant with these tools is only as safe as the content you let it read.
53 tools, in 10 groups. Tools marked ⚠ are refused against a non-local target unless REBASE_MCP_ALLOW_REMOTE_WRITES=true — see the gate above.
Spawn the Rebase CLI in the active project directory.
| Tool | Required | Description |
|---|---|---|
rebase_schema_generate | — | Generate Drizzle schema from Rebase TypeScript collection definitions |
rebase_db_push ⚠ | — | Apply the current Drizzle schema directly to the database (development shortcut, skips migration files) |
rebase_schema_introspect | — | Introspect the live database and generate Rebase collection definitions from existing tables |
rebase_db_generate | — | Generate SQL migration files from schema changes (compares current Drizzle schema against the last entity) |
rebase_db_migrate ⚠ | — | Run all pending SQL migrations against the database |
rebase_generate_sdk | — | Generate a fully-typed JavaScript/TypeScript SDK from collection definitions |
rebase_doctor | — | Detect schema drift between collection definitions, generated Drizzle schema, and the live PostgreSQL database |
rebase_db_branch_create ⚠ | name | Create a new database branch (Admins only) |
rebase_db_branch_list | — | List all database branches (Admins only) |
rebase_db_branch_delete ⚠ | name | Delete an existing database branch (Admins only) |
rebase_db_branch_info | name | Show information and status for a database branch (Admins only) |
rebase_db_branch_diff | name | Show what a database branch changed against the database it was made from (Admins only): added, dropped and altered tables, columns, constraints, indexes, triggers, RLS policies, enum types, views and functions as SQL, and per table the rows the branch inserted, updated and deleted, matched by primary key, with sample rows |
rebase_db_branch_switch | — | Point this checkout at a database branch, or back at the main database (Admins only) |
Ask the backend what a change would do. No CLI, no files written.
| Tool | Required | Description |
|---|---|---|
rebase_schema_plan | collectionId, collection | Show the SQL a collection change would run, without running any of it |
CRUD over a collection through @rebasepro/client.
| Tool | Required | Description |
|---|---|---|
list_documents | collection | List documents from a Rebase collection with optional filtering, sorting, and pagination |
get_document | collection, id | Get a single document by ID from a Rebase collection |
create_document ⚠ | collection, data | Create a new document in a Rebase collection |
update_document ⚠ | collection, id, data | Update an existing document in a Rebase collection |
delete_document ⚠ | collection, id | Delete a document from a Rebase collection |
| Tool | Required | Description |
|---|---|---|
list_users | — | List all users registered in the Rebase backend, including their roles |
| `c
只显示了开头部分;其余内容请在仓库中阅读