# Backenly

> Build and manage a PostgreSQL backend through MCP with a coding agent.

- **URL**: https://followmcp.com/en/servers/backenly
- **Category**: Database
- **Origin**: Community
- **Stars**: 102
- **FMRS Score**: 54/100 (Grade D)
- **Source**: https://github.com/backenly/backenly
- **Transports**: stdio (local process), Streamable HTTP
- **Runtimes**: Node.js 20+, Hosted (no local runtime)
- **Auth**: API key / credential required

## Overview
Backenly is a backend platform for coding agents. Through MCP, an agent can configure PostgreSQL, REST APIs, authentication, storage, realtime features, and functions. The source says changes are planned, verified, and reversible, with human approval required for risky or irreversible actions.

## Best for
- Developers who want to drive backend changes with natural language and MCP.
- Applications that need PostgreSQL, PostgREST, and project-level row-level security.
- Teams that want change management with verification, history, audit, and approval steps.

## Not for
- Users who only need a general-purpose database query tool without the Backenly platform.
- Workflows that require structural SQL changes to bypass platform governance.
- Users who expect agents to perform every risky or irreversible change automatically.

## Required permissions
- Connection requires a scoped BACKENLY_API_KEY; the manifest says read-only keys are supported.
- Available actions depend on key permissions; write tools may change database contents or project settings.
- According to the source, risky, destructive, or irreversible actions wait for human handling or approval.

## Risks
- Write operations can change schema, data, authentication, storage, or project configuration; review the scope and approval state before proceeding.
- The autonomy loop may apply repairs within its reversible safe band; understand the project's automation settings.
- API keys are secret credentials; protect them and use appropriately scoped keys.

## Tools (20)
- `read_backend_state`: Inspect the project's current backend state.
- `get_table_schema`: Inspect a table's schema.
- `run_query`: Run a query.
- `fetch_docs`: Fetch documentation.
- `apply_migration`: Apply a database migration.
- `enable_auth`: Enable authentication.
- `set_rls`: Configure row-level security.
- `create_bucket`: Create a storage bucket.
- `generate_function`: Generate a function.
- `enable_realtime`: Enable realtime features.
- `db_insert`: Insert database data.
- `db_update`: Update database data.
- `db_delete`: Delete database data.
- `branch`: Manage preview branches.
- `create_api_key`: Create an API key.
- `set_env_var`: Set an environment variable.
- `get_database_credentials`: Retrieve database credentials.
- `check_approval`: Check an operation's approval status.
- `generate_types`: Generate type definitions.
- `backend_chat`: Interact with the backend in natural language.
