# Backenly

> Backenly is a freemium MCP server for developer tools. Let a coding agent build a Postgres backend; destructive actions wait for approval. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Starting price:** $25 a month
- **Platforms:** Web, API, CLI, self-hosted
- **Website:** https://backenly.com/mcp
- **Repository:** https://github.com/backenly/backenly/tree/HEAD/packages/mcp-server
- **MCP Registry name:** io.github.backenly/backenly
- **Categories:** developer tools, databases
- **Listing updated:** 2026-11-15

## About

Backenly's server is for people who want an agent to do real backend work rather than only write code: 23 tools cover PostgreSQL, REST APIs, auth, storage, realtime and functions inside a Backenly project. Reads are open, schema changes are checked and verified, and anything destructive is parked until a person approves. apply_migration refuses DROP statements outright, and dropping or emptying a table, dropping a column or discarding a branch go through a route that waits for approval.

A key is scoped to one project, and a read-only key reduces the catalogue to 16 tools. run_query executes as a SELECT-only database role, so isolation is a database grant rather than a parser, and secret-bearing columns come back redacted. Typed tools compile straight to SQL without model calls and cost nothing; only the natural-language backend_chat tool uses AI credits. There are two routes in: the remote endpoint at backenly.com/api/mcp with a key or browser sign-in, or the @backenly/mcp-server npm package over stdio.

The platform is open source under Apache-2.0 and can be self-hosted. Backenly Cloud has Free and Pro plans.

## Features

- **Governed schema changes:** SQL goes in, checked typed actions come out as one change.
- **Approval for destructive actions:** Drops and branch discards wait for a person.
- **Scoped read-only keys:** A read-only key narrows the tools to 16.
- **SELECT-only queries:** run_query runs as a restricted Postgres role.
- **Preview branches:** Branches merge back once approved.
- **Generated types:** TypeScript types, a typed client or OpenAPI from the live schema.

## Good for

- Add tables and row-level security from a chat
- Seed or repair rows with filtered updates
- Generate TypeScript types from the live database
- Inspect a backend's schema before writing code

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http backenly https://backenly.com/api/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://backenly.com/api/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "backenly": {
      "url": "https://backenly.com/api/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "backenly": {
      "type": "http",
      "url": "https://backenly.com/api/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "backenly": {
      "serverUrl": "https://backenly.com/api/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "backenly": {
      "type": "http",
      "url": "https://backenly.com/api/mcp"
    }
  }
}
```

## Tools

- `read_backend_state`: Reads the backend's state, section by section.
- `get_table_schema`: Returns one table in full with constraints and RLS policies.
- `run_query`: Runs read-only SQL as a SELECT-only role.
- `generate_types`: Generates TypeScript types, a typed client or OpenAPI from the live catalog.
- `fetch_docs`: Pulls current Backenly docs.
- `check_approval`: Checks the state of a parked action.
- `apply_migration`: Applies SQL as one governed schema change and refuses DROP statements.
- `set_rls`: Installs row-level security as exact SQL predicates.
- `branch`: Creates preview branches that merge back after approval.
- `db_insert`: Inserts rows.
- `db_update`: Updates rows; needs a non-empty filter.
- `db_delete`: Deletes rows; needs a non-empty filter.
- `auth`: Manages sign-in providers and users.
- `storage`: Manages buckets and files.
- `functions`: Manages server functions and schedules.
- `realtime`: Manages live updates.
- `integrations`: Manages provider keys.
- `monitoring`: Reads metrics and logs.
- `autonomy`: Controls the maintenance loop.
- `webhooks`: Manages signed webhooks.
- `deploy`: Runs deploys.
- `connect`: Manages keys and connections.
- `backend_chat`: Plans a change from a plain-language description using Backenly's own model.

## FAQ

### What does it cost?

Free is $0 with one project and 200 AI credits; Pro is $25 a month, or $20 billed yearly.

### Do typed tools use credits?

No, only backend_chat and generate_function do.

### Can I self-host?

Yes. The platform is Apache-2.0 and can be self-hosted.

### How does it connect?

Remote endpoint with a key or browser sign-in, or the npm package over stdio.

### Is Backenly free?

Backenly has a free plan, with paid plans for more usage or features. Paid plans start at $25 a month.

### How do I add Backenly to Claude Code?

Run this command in your terminal: claude mcp add --transport http backenly https://backenly.com/api/mcp

### What are the best alternatives to Backenly?

The closest alternatives to Backenly are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/backenly
