Butterbase Oss logo

Butterbase Oss

by butterbase-ai

Manage Butterbase schemas, auth, functions, storage, RAG, deployments, and other backend services through MCP tools.

Install Butterbase Oss

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-285": {
      "command": "npx",
      "args": [
        "-y",
        "@butterbase/mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

butterbase-ai/butterbase-oss exposes Butterbase's Postgres-backed application backend through MCP tools. Agents can manage schemas, row-level security, authentication, storage, serverless functions, realtime features, AI services, RAG collections, deployments, and related operations. It runs through the Butterbase HTTP endpoint at `/mcp` or the `@butterbase/mcp` stdio package. Reach for it when an agent needs to build, configure, operate, or query a Butterbase application without custom glue code.

Use cases

  • Create and migrate an application's Postgres schema
  • Configure authentication and row-level security policies
  • Deploy serverless functions and frontend applications
  • Ingest documents and search RAG collections
  • Operate Butterbase apps through an MCP-compatible agent

Key features

  • MCP access over HTTP or stdio
  • Postgres schemas, migrations, and row-level security
  • Auth, storage, functions, realtime, and hosting operations
  • AI gateway, agents, and RAG workflows
  • Audit logs, webhooks, and regional app moves
  • Optional managed-cloud Office tools

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

40/40 checks healthy over the last 58d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 5h ago via OSV.dev · @butterbase/mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars3kStargazers on the source repository.
npm downloads246Package downloads in the last 30 days.
Last commitTodayMost recent push to the default branch.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Butterbase Oss works

What butterbase-ai/butterbase-oss MCP server does

Butterbase's MCP surface gives agents access to the backend capabilities exposed by the Butterbase platform. The underlying data plane uses a separate Postgres database for each app, with declarative schemas, migrations, generated REST endpoints, and row-level security policies. Through MCP, an agent can work with application data and configuration rather than only retrieving information from a knowledge base.

The available backend areas include authentication, OAuth configuration, API keys, file storage, key-value data, serverless functions, durable per-key actors, realtime subscriptions, edge SSR, frontend hosting, custom domains, webhooks, audit logs, and app moves between regions. AI-related operations cover the model gateway, embeddings, model listings, RAG ingestion and search, synthesized answers, and declarative agent workflows.

An optional managed-cloud Office overlay adds the manage_office MCP tool. It uses explicit organization and platform credentials and supports office-oriented actions such as records, observations, retry keys, curated memory, and routines. The OSS-only MCP mode can run without that overlay.

How it works

The MCP endpoint is available over HTTP at /mcp. For local or process-based client configurations, the repository also provides the @butterbase/mcp package, which can be launched with npx @butterbase/mcp over stdio. This gives MCP-compatible clients two connection patterns: connect to a running Butterbase deployment over HTTP, or start the MCP package as a local subprocess.

Butterbase can be self-hosted with Docker Compose, or used through the managed Butterbase cloud. Self-hosting brings up the backend stack locally or in a cloud environment, while the managed option runs the same data plane as a multi-region service. The backend is built around Postgres and includes row-level security, storage, compute, realtime, and AI services behind the MCP tool surface.

Setup and configuration

For a self-hosted deployment, start the stack with:

Terminal
docker compose -f docker-compose.local.yml up -d

To use the stdio transport, install or invoke the MCP package with:

Terminal
npx @butterbase/mcp

The HTTP transport is exposed by the Butterbase deployment at /mcp. Managed-cloud operations require a Butterbase account. Office actions use an organization and platform credential, while protected actions can return a browser confirmation receipt for the initiating owner.

Tools and capabilities

The MCP surface covers the following areas:

  • Postgres schemas, migrations, generated REST APIs, and row-level security
  • Authentication, OAuth settings, JWT configuration, hooks, and service keys
  • File storage, presigned URLs, access controls, indexing, and key-value data
  • TypeScript serverless functions, durable objects, realtime subscriptions, and webhooks
  • Edge SSR, static or SPA hosting, and custom domains
  • AI gateway requests, embeddings, model discovery, agents, and human-approval pauses
  • RAG collections, document ingestion, semantic search, and generated answers
  • Audit logs, regional app moves, and optional managed-cloud Office operations

The repository also includes a Claude Code plugin with guided skills and slash commands for workflows such as planning, schema creation, authentication, functions, deployment, and submission.

Limitations and notes

The MCP server exposes Butterbase capabilities; it is not a general-purpose database connector for arbitrary Postgres installations. Each Butterbase app has its own Postgres database and platform configuration. Some features depend on the managed cloud, including account-based cloning and the Office overlay. Self-hosted deployments can use the OSS-only MCP mode without Office features.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Butterbase Oss

butterbase-ai/butterbase-oss is an MCP server that connects AI agents to Butterbase applications and exposes tools for Postgres schemas, authentication, storage, functions, realtime, AI gateway operations, RAG, deployments, and other backend management tasks. It supports HTTP through `/mcp` and stdio through `@butterbase/mcp`.

Run `npx @butterbase/mcp` to start the stdio server. For a self-hosted Butterbase deployment, start the stack with `docker compose -f docker-compose.local.yml up -d`; the HTTP MCP endpoint is available at `/mcp`.

Yes. Cursor can connect to MCP servers, and butterbase-ai/butterbase-oss provides both a stdio launch command and an HTTP endpoint. Configure Cursor to start `npx @butterbase/mcp` or connect it to the `/mcp` endpoint of a Butterbase deployment.

Yes. Butterbase is self-hostable with Docker Compose. Run `docker compose -f docker-compose.local.yml up -d` to bring up the stack locally or in a cloud environment, then use its `/mcp` HTTP endpoint or the stdio package.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewButterbase Oss AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-285?style=directory)](https://allmcps.com/mcp/mcp-285)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-285"><img src="https://allmcps.com/api/badge/mcp-285?style=directory" alt="Butterbase Oss on AllMCPs" /></a>