butterbase-ai/butterbase

Open-source backend-as-a-service. Postgres, auth, storage, functions, AI gateway, MCP.

What it solves

Butterbase provides a complete, AI-native backend-as-a-service that eliminates the need for complex "glue code" when building AI-driven applications. It solves the problem of fragmented infrastructure by bundling essential services—like databases, authentication, and AI gateways—into a single, self-hostable platform that allows AI agents to interact with your backend using standard tools.

How it works

Butterbase uses a Postgres-backed architecture where every application receives its own isolated database with row-level security. It exposes all its capabilities—including storage, serverless functions, and RAG—as a Model Context Protocol (MCP) server. This allows AI agents to perform tasks directly on your backend. You can self-host the entire stack using Docker Compose or use their managed cloud service.

Who it’s for

It is designed for developers building AI-integrated applications who want a unified, open-source backend without vendor lock-in. It is particularly useful for those who want to deploy agents that can read and write to their application data, manage user authentication, or trigger serverless functions without writing custom API integrations.

Highlights

  • Open-source (Apache 2.0) with no feature-gated "community edition."
  • Built-in MCP server allows AI agents to operate your backend via tools.
  • Real Postgres database per app with declarative schemas and migrations.
  • Includes advanced AI features like an LLM gateway, RAG, and durable stateful actors.
  • Supports serverless functions, realtime subscriptions, and file storage.
  • Self-hostable in one command using Docker Compose.

Related

  • Project
  • Project
  • Project
  • Project
  • Project