NestDaddy

Leash

build.leash/leash · v1.1.0

One sign-in and a private Postgres database for every app you build with AI. Hosted, OAuth sign-in.

Is this your server? Claim it to get a Verified maintainer mark, your own note here, and an email when it goes down or its tools change. Free.

MCP Score How we grade

A server needs 3 daily checks before it gets a grade (2 so far).

Fixed something? Run the same check now. The grade updates at once.

Connect Remote server

Terminal
claude mcp add --transport http leash https://leash.build/mcp
~/.cursor/mcp.json
{
  "mcpServers": {
    "leash": {
      "url": "https://leash.build/mcp"
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "leash": {
      "type": "http",
      "url": "https://leash.build/mcp"
    }
  }
}
Claude Desktop
Settings > Connectors > Add custom connector
URL: https://leash.build/mcp

Tools 16 found in our last check

  • list_apps

    List the person's Leash apps (id, slug, allowed origins).

  • create_app

    Create a Leash app: its own walled-off Postgres schema and sign-in. slug: 2–40 chars, lowercase letters, digits and dashes, starting with a letter. origins: where the web app is served (needed for browser sign-in and CORS). Free plans allow 1 app, Pro 25.

  • set_app_origins

    Replace the app's allowed web origins (sign-in return URLs and CORS). Each is https://host[:port] or http://localhost:port, no path; at most 10.

  • usage

    Show the account's storage: bytes per app as last measured (null with a note until first measured, a few minutes after the first write), total vs the plan's limit, plan, whether writes are blocked for being over the limit, snapshot usage, and the database server's state (running…

  • reclaim_space

    Compact the app's tables that have many deleted rows (VACUUM FULL), then re-measure storage. Use after deleting lots of data to get back under the storage limit. Returns the tables compacted, the tables skipped because the app's role doesn't own them, and whether writes are stil…

  • list_tables

    List the app's tables and views (name, kind, estimated row count).

  • describe_table

    Describe one of the app's tables or views: columns (name, type, nullable, default), primary key, constraints, indexes, and a view's definition.

  • query

    Run one read-only SQL SELECT against the app's tables (its own schema). Returns { columns, rows (arrays), truncated }: at most 1000 rows and 10 MB; int8/numeric come back as strings, bytea as base64, dates as ISO text. Writes, multiple statements and system functions are refused.

  • execute

    Run one SQL statement that changes data (insert/update/delete) or the schema. Returns { rowCount, columns, rows, rowsTruncated, snapshots }, or for DDL { changeId, snapshots } (logged like apply_schema_change). At most 100 RETURNING rows (10 MB) come back: when rowsTruncated is…

  • apply_schema_change

    Apply one schema change (create/alter/drop table, index, view, sequence; truncate) to the app's own schema, recorded in its change log with your description. Destructive changes (drop table/column, column type change, truncate) first save a 7-day snapshot of each affected table;…

  • mint_device_key

    Mint a device key for a non-browser client of the app (script, extension, phone app). The key is returned ONCE: store it in the device's local config or secret store, never in browser code or a repo. Use it as Authorization: Bearer lk_… on the data API.

  • list_device_keys

    List the app's device keys (id, name, created, last used, revoked). Never shows the keys themselves.

  • revoke_device_key

    Revoke one of the app's device keys (it stops working immediately).

  • list_snapshots

    List the app's safety snapshots (taken automatically before destructive changes; kept 7 days), newest first.

  • restore_snapshot

    Restore a snapshot as a table in the app: under its original name if that table no longer exists, otherwise as <table>_restored_<timestamp>, or as asTable. Rows only: re-create constraints, indexes and defaults with apply_schema_change. Returns { table }.

  • get_direct_connection

    Pro only: a Postgres connection locked to the app's own schema, for apps with their own server (Drizzle, migrations). Keep it in the server's environment, never in browser code.

Details

Endpointhttps://leash.build/mcp (Streamable HTTP)
First published23 Nov 2026
Last updated23 Nov 2026
Registry namebuild.leash/leash

More databases servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.