# butterbase-ai/butterbase-oss [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/butterbase-ai/butterbase-oss  
**GitHub Stars:** 3033  
**npm Downloads (last month):** 307  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mcp-285

## Description
Butterbase MCP server — manage your backend: schemas, auth, functions, storage, RAG, deploys.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "butterbase-oss": {
    "command": "npx",
    "args": ["-y","@butterbase/mcp"]
  }
}
```

## Documentation

## 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:

```bash
docker compose -f docker-compose.local.yml up -d
```

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

```bash
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.

_Full upstream README: https://allmcps.com/mcp/mcp-285/readme_

