BASE

Supabase

Supabase

Tool / library · Free + paid

A PostgreSQL backend platform: database, Auth, Storage, automatically generated APIs, realtime, and Edge Functions. Useful for applications that need users, data, and file storage after the frontend.

Resource illustration: Supabase

Open resource ↗

What you can use for free

Local development/self-hosting without a code fee; hosted Free provides two active projects and a 500 MB database.

Paid features and costs

Cloud Pro and additional resources; self-hosted servers, maintenance, and backups.

Access and limitations

Open source, with free local development and self-hosting without a license fee; infrastructure is separate. Hosted Free is limited to 2 active projects and a 500 MB database, with pausing after a week of inactivity. Cloud Pro and additional resources are paid. The local development stack is not a production self-hosted deployment. Self-hosting requires Postgres maintenance, updates, and backups; not all managed features are available. The MCP can read and modify data; connection settings include project scope and read-only mode.

Use cases

  • An application with sign-in and data access rights
  • Postgres with an API and file uploads
  • Agent work on database schemas and migrations through the official MCP

Example workflow

A possible workflow; this is not a report of hands-on testing.

Store personal notes with owner access.

Before you start

  • A test project and two users.
  • A notes table with a record owner.

Steps

  1. Create the table and configure grants and RLS policies.
  2. Connect reads and writes under an ordinary user account.
  3. Test an attempt to read and modify someone else's note.

Check your result

  • Other users' records are inaccessible to an ordinary user.
  • A privileged key is not used in the browser.

Choosing Supabase

Use PostgreSQL with Auth, Storage, and other backend services.

Choose this when

  • You need to connect user sign-in and access to their data quickly.
  • The ability to choose managed hosting or self-hosting matters.

Consider alternatives when

  • For your own Python API and application structure, consider Full Stack FastAPI Template.

Requirements

  • A Supabase project, database schema, and access policies; infrastructure and maintenance for self-hosting.

Things to consider

  • The self-hosted variant does not reproduce every managed platform capability.
  • The local CLI development stack must not be treated as a secure production deployment.

Frequently asked questions

Does user sign-in protect every table?

No. Configure permissions and Row Level Security for tables exposed through the API, then test access with different roles.

Related tasks and approaches

Tech stack

  • PostgreSQL

Agent compatibility

The official AI Tools section explicitly lists Codex with Plugin + MCP. Documentation confirms a local MCP through Supabase CLI; the standard local stack endpoint is localhost:54321/mcp. Installation and connection were not performed here.

License

The main repository is Apache-2.0; the platform comprises separate open-source components with their own licenses.

Apache 2.0 — permissive license with patent terms

You can use and modify the code in commercial and closed-source projects. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks.

License terms

Technologies and topics

  • PostgreSQL
  • Storage
  • Realtime

Sources

Other resources