Open-source backend-as-a-service for Postgres — REST, typed SDK, auth, storage, realtime and row-level security over your own database, with a schema-driven admin panel when you want one.
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Topics declared
- ✓Documented (README)
git clone https://github.com/rebasepro/rebase{
"mcpServers": {
"rebase": {
"command": "node",
"args": ["/path/to/rebase/dist/index.js"]
}
}
}Resumen de MCP Servers
<p align="center">
<a href="https://rebase.pro">
<img src="https://rebase.pro/img/logo_small.png" width="240px" alt="Rebase logo" />
</a>
</p>
<h1 align="center">Rebase</h1>
<h3 align="center">The Open-Source Backend-as-a-Service for Postgres — with the Admin Panel that comes with it</h3>
<p align="center">
<strong>Point it at a database and get a working backend in minutes.</strong><br/>
REST, auth, storage, realtime and backups over your own Postgres — then add a
schema-driven admin panel, or don't.<br/>
Own your data, own your code. The absolute easiest way to build on PostgreSQL.
</p>
<p align="center">
<strong>Public beta.</strong> The API you write against can change in a minor,
with a changelog entry. Your data cannot break quietly.<br/>
<a href="https://rebase.pro/docs/compatibility">What that promise rests on, and
which subsystems are ready</a>
</p>
<p align="center">
<a href="https://demo.rebase.pro">Live Demo</a> •
<a href="https://rebase.pro/docs">Documentation</a> •
<a href="https://rebase.pro/product">Features</a> •
<a href="https://discord.gg/fxy7xsQm3m">Discord</a>
</p>
<p align="center">
<a href="https://github.com/rebasepro/rebase/actions/workflows/ci.yml"><img src="https://img.shields.io/github/actions/workflow/status/rebasepro/rebase/ci.yml?branch=main&style=flat-square&label=CI" alt="CI" /></a>
<a href="https://www.npmjs.com/package/@rebasepro/app"><img src="https://img.shields.io/npm/v/@rebasepro/app.svg?style=flat-square&color=orange" alt="NPM Version" /></a>
<a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/license-MIT-purple.svg?style=flat-square" alt="License: MIT" /></a>
<a href="https://www.npmjs.com/package/@rebasepro/app"><img src="https://img.shields.io/npm/dw/@rebasepro/app?style=flat-square&color=blue" alt="NPM Downloads" /></a>
<a href="https://discord.gg/fxy7xsQm3m"><img src="https://img.shields.io/discord/1013768502458470442?style=flat-square&logo=discord&logoColor=white&label=Discord" alt="Discord" /></a>
</p>
<br/>
<p align="center">
<img src="https://rebase.pro/img/demo_products.png" width="800px" alt="Rebase Dashboard" />
</p>
---
## What is Rebase?
Rebase is a **developer-first**, open-source backend-as-a-service built on **PostgreSQL** — authentication, S3-compatible storage, realtime, backups and auto-generated REST APIs over a database you own. It is **self-hosted** and agent-native, with a built-in MCP server for AI-assisted development.
The admin panel is the **second layer of the same definition**: add collection definitions and you get a schema-driven back-office built from them, extensible with your own **React** components, serverless functions, and scripts.
### Adopt only what you want
Three modes, same packages, wired differently — see [MODULAR-ARCHITECTURE.md](docs/MODULAR-ARCHITECTURE.md).
| Mode | You get | Comparable to |
| --- | --- | --- |
| **BaaS** | REST + auth + storage + realtime + backups over your database. No config files, no UI, no React in the dependency tree. | Supabase |
| **CMS** | BaaS + a schema-driven admin UI built from your collection definitions. | Payload, Directus |
| **Full** | CMS + Studio (SQL editor, schema visualizer, RLS editor, logs, API explorer). | Supabase + Payload |
### ✨ Key Highlights
- 🔓 **No Vendor Lock-in** — Self-host anywhere. Full control over your infrastructure, code, and database.
- 🧱 **Modular** — Start as a pure API and add the admin panel later, or never. Nothing is bundled that you didn't ask for.
- ⚡ **Instant Setup** — `pnpm dlx @rebasepro/cli init` scaffolds a complete project in seconds.
- 🗄️ **PostgreSQL First** — First-class Postgres support with Drizzle ORM, schema introspection, and automatic migrations.
- 🔒 **Secure by Default** — Authorization is Postgres RLS, not application code. Tables without row-level security aren't served.
- 🧩 **Radical Extensibility** — Not constrained to pre-built widgets. If you can build it in React, you can build it in Rebase.
- 🎨 **Premium UI** — Fast, accessible design system built on Tailwind CSS v4 and Radix UI.
- 🤖 **AI-Ready** — MCP server for AI-assisted database management, plus data enhancement and insights plugins.
---
## ⚡ Quick Start
Scaffold a complete, self-hosted Rebase application connected to your database:
```bash
pnpm dlx @rebasepro/cli init my-rebase-app
cd my-rebase-app
pnpm install
pnpm run dev
```
That is the whole first run — no database to install, no schema step. With no
`DATABASE_URL` set, `rebase dev` starts a managed PostgreSQL (PGlite) that lives
in the project directory, generates the schema from your collections, and creates
the tables at boot.
**Read the URLs from its output.** `rebase dev` picks a free port per project
rather than fixed ones, so they differ between projects. `PORT` and
`VITE_API_URL` in `.env` apply to `rebase start`, not here.
Useful flags: `--yes` (required when there is no terminal to prompt, such as CI),
`--headless` (see below), `--template <name>`, and `--install` / `--no-install`
on `init`; `--docker` on `dev` to use the compose Postgres in this project
instead, and `--no-db` to start nothing — set `DATABASE_URL` yourself.
**To use your own Postgres instead:** uncomment `DATABASE_URL` in `.env` and run
`pnpm run dev` again. Nothing else changes — a `DATABASE_URL` that is set is
never touched, and one pointing anywhere other than this machine is left alone
entirely.
### Just want the API?
Rebase is modular — take only the parts you want:
```bash
pnpm dlx @rebasepro/cli init my-api --headless
```
That scaffolds a headless backend: REST, auth, storage, realtime and backups over
your database, with **no collection files and no UI**. Tables are served
automatically, derived from your schema at boot — change the schema with a
migration and the API follows. No React anywhere in the dependency tree.
A fresh headless project has no tables yet, so `/api/data/*` answers
`404 NO_COLLECTIONS` until you create some. Point it at a database that already
has tables, or add them with a migration, and they appear.
The three adoption modes — BaaS (like Supabase), CMS (like Payload/Directus), and
both together — are described in [MODULAR-ARCHITECTURE.md](docs/MODULAR-ARCHITECTURE.md).
---
## Features
### 🏓 Full Admin Panel & CMS
An incredibly fast, windowed spreadsheet view to manage your database with inline editing, real-time updates, filtering, sorting, and text search. Switch between multiple view modes:
- **Spreadsheet table** — Inline editing, column reordering, drag-and-drop
- **Card grid** — Visual overview with image previews
- **List view** — Compact, scannable layout
- **Custom views** — Build any React component as a collection view
### 🔒 Typed Schema & Database Migrations
Define your data models using pure TypeScript collections. Rebase automatically generates your Drizzle ORM schema, handles PostgreSQL migrations, and keeps your live database perfectly in sync using built-in tooling like `rebase doctor`.
### 💾 Backups & Restore
First-class database backups for self-hosted Postgres, built on `pg_dump` / `pg_restore`:
- `rebase db backup --out <path|s3://…>` — compressed, custom-format dumps
- `rebase db restore <backup>` — confirmation-gated, with `--create-db` / `--target-db` to restore into a fresh database
- **Scheduled backups** via the built-in cron system, uploading to your configured storage backend with retention pruning
- **Studio Backups panel** — browse and download backups from the admin UI
See **[docs/backups.md](docs/backups.md)** for the full guide, including security and PITR notes.
### 🔐 Authentication & Access Control
Built-in authentication with multiple providers:
- **Email/Password** — With password reset flow
- **Google OAuth** — One-click sign-in
- **Anonymous** — For guest access
Granular **role-based access control (RBAC)** with customizable permissions per collection, field, and action.
### 📦 S3-Compatible Storage
Native S3-compatible file storage with:
- Drag-and-drop uploads with progress tracking
- Automatic image resizing and optimization
- File metadata management
- Storage browser in Studio
### 🛠️ Studio — Developer Toolbox
A full developer environment built into the admin panel:
| Tool | Description |
|---|---|
| **SQL Editor** | Write and execute SQL queries directly against your database with schema-aware autocomplete |
| **RLS Policy Editor** | Visual editor for PostgreSQL Row-Level Security policies |
| **Schema Visualizer** | Interactive ER diagram of your database with relationship mapping |
| **JS/TS Editor** | In-browser code editor for scripts and functions |
| **API Explorer** | Browse and test your auto-generated REST API endpoints |
| **Cron Jobs** | Schedule and monitor recurring tasks |
| **Storage Browser** | Browse and manage files in your S3-compatible storage |
### 🔌 Realtime Engine
A full WebSocket engine built into every Rebase backend:
- **Live data subscriptions** — Subscribe to collection queries or individual entities. Changes propagate instantly with RLS-aware security.
- **Broadcast channels** — Send typed messages between connected clients. Build chat, notifications, or collaborative features.
- **Presence tracking** — Track who's online, sync user state across clients (typing indicators, cursor positions, online status).
- **Auto-reconnect** — Exponential backoff, automatic resubscription, and token refresh on reconnect.
### 📴 Offline & Local-First Sync
Opt in with `offline: true` and the client SDK keeps a local database of rows instead of a cache of responses:
- **Reads survive a dropped connection** — filters, sorting and pagination are evaluated against the local rows, so lists keep rendering.
- **Writes apply instantly** — a write made offline lands locally, queues, and replays in order when the connection returns. One the server rejects is rolled back.
- **Live queries** — `observe()` emits from the localLo que la gente pregunta sobre rebase
¿Qué es rebasepro/rebase?
+
rebasepro/rebase es mcp servers para el ecosistema de Claude AI. Open-source backend-as-a-service for Postgres — REST, typed SDK, auth, storage, realtime and row-level security over your own database, with a schema-driven admin panel when you want one. Tiene 8 estrellas en GitHub y su última actualización registrada es del 2026-09-09.
¿Cómo se instala rebase?
+
Puedes instalar rebase clonando el repositorio (https://github.com/rebasepro/rebase) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.
¿Es seguro usar rebasepro/rebase?
+
Nuestro agente de seguridad ha analizado rebasepro/rebase y le ha asignado un Trust Score de 95/100 (tier: Verified). Revisa el desglose completo de comprobaciones superadas y flags en esta página.
¿Quién mantiene rebasepro/rebase?
+
rebasepro/rebase es mantenido por rebasepro. La última actividad registrada en GitHub es del 2026-09-09, con 7 issues abiertos.
¿Hay alternativas a rebase?
+
Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.
Despliega rebase en tu cloud
Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.
¿Mantienes este repo? Añade un badge a tu README
Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.
[](https://claudewave.com/repo/rebasepro-rebase)<a href="https://claudewave.com/repo/rebasepro-rebase"><img src="https://claudewave.com/api/badge/rebasepro-rebase" alt="Featured on ClaudeWave: rebasepro/rebase" width="320" height="64" /></a>Más MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
The fastest path to AI-powered full stack observability, even for lean teams.
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!