Leash
One sign-in and a private Postgres database for every app you build with AI. Hosted, OAuth sign-in.
Status: Listed — passed its latest tests · Score: 57.7/100 · Category: Databases & data warehouses, Cloud, DevOps & observability, Developer tools & code · Ranked: #10 in Databases & data warehouses (MCP)
Connect: https://leash.build/mcp (streamable-http)
Score breakdown
| latency | 100 |
|---|---|
| tool docs | 100 |
| breadth | 77.4 |
| freshness | 100 |
| license | missing |
| adoption | missing |
| protocol | 100 |
Live test results
| tested at | 2026-11-24T21:34:50.683Z |
|---|---|
| http status | 200 |
| initialize | ok |
| tools list | ok |
| tool count | 20 |
| latency ms | 118 |
| tools list ms | 160 |
| protocol version | 2025-06-18 |
| oauth discovery | missing |
| server info | {"name":"leash","version":"1.0.0"} |
| error | missing |
Usage and freshness signals
| github stars | missing |
|---|---|
| license | missing |
| repo pushed at | missing |
| repo archived | missing |
| npm downloads 30d | missing |
| adoption note | missing |
| registry updated at | 2026-11-23T03:47:21.224809Z |
| registry published at | 2026-11-23T03:47:21.224809Z |
| pypi downloads | missing |
Tools (20)
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: whe |
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 lim |
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 |
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 |
execute | Run one SQL statement that changes data (insert/update/delete) or the schema. Returns { rowCount, columns, rows, rowsTruncated, snapshots }, or for DDL { change |
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. De |
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 |
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 |
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 |
list_files | List the app's private files (photos and PDFs the app stored), newest first: id, name, type, size, created. No links or contents; use read_file to see one. |
read_file | Read one of the app's files. Files up to 5 MB come back: images so you can see them, PDFs as a file. Larger files can't be opened: only their details are return |
delete_file | Delete a file. It moves to the trash and can be restored for 7 days, then it is gone for good. |
restore_file | Bring a deleted file back from the trash (within 7 days of deleting it). |
Links: website · JSON · first seen 2026-11-24 · days passed 2/2 · registry name build.leash/leash