Skip to content
MCP server

Backenly

Let a coding agent build a Postgres backend; destructive actions wait for approval

Install
Pricing
Freemium
Platforms
Web, API, CLI
Runs
Locally or Remotely
Version
0.4.0
Listing updated
2 days ago

About Backenly

Backenly is a freemium MCP server for developer tools. It can run locally on your machine or as a hosted remote server.

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.

Install

Run in a terminal

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

Add to Settings → Connectors → Add custom connector

https://backenly.com/api/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "backenly": {
      "url": "https://backenly.com/api/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

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

Add to ~/.codeium/windsurf/mcp_config.json

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

Add to your client's MCP settings (most use this shape)

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

Configuration

  • BACKENLY_API_KEYScoped Backenly MCP key (mcp_live_...). Create one at backenly.com/app under your project, Connect, MCP. Read-only keys are supported.Required
  • BACKENLY_PROJECTOptional project id. Used to detect a key/project mismatch.
  • BACKENLY_API_URLOptional endpoint override for self-hosted Backenly instances. Defaults to https://backenly.com.

Tools this server provides (23)

Taken from the project documentation; the running server may differ.

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.

What it does

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

Pricing

Freemium, from $25 a month

Free plan; Pro $25/mo ($20/mo billed yearly); Enterprise custom

Prices change. Check backenly.com before you buy.

Backenly 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 to Backenly

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools