{
 "type": "mcp",
 "name": "Leash",
 "registry_name": "build.leash/leash",
 "also_published_as": [],
 "description": "One sign-in and a private Postgres database for every app you build with AI. Hosted, OAuth sign-in.",
 "url": "https://leash.build/mcp",
 "transport": "streamable-http",
 "website": "https://leash.build/docs",
 "repo": null,
 "ours": false,
 "publisher": "build.leash",
 "categories": [
  "database",
  "devops",
  "dev-tools"
 ],
 "tests": {
  "tested_at": "2026-11-25T09:12:20.203Z",
  "http_status": 200,
  "initialize": "ok",
  "tools_list": "ok",
  "tool_count": 20,
  "latency_ms": 107,
  "tools_list_ms": 94,
  "protocol_version": "2025-06-18",
  "oauth_discovery": null,
  "server_info": {
   "name": "leash",
   "version": "1.0.0"
  },
  "error": null
 },
 "signals": {
  "github_stars": null,
  "license": null,
  "repo_pushed_at": null,
  "repo_archived": null,
  "npm_downloads_30d": null,
  "adoption_note": null,
  "registry_updated_at": "2026-11-23T03:47:21.224809Z",
  "registry_published_at": "2026-11-23T03:47:21.224809Z",
  "pypi_downloads": "missing"
 },
 "checks": {
  "latency": 100,
  "tool_docs": 100,
  "breadth": 77.4,
  "freshness": 100,
  "license": "missing",
  "adoption": "missing",
  "protocol": 100
 },
 "score": 57.7,
 "missing": [
  "license",
  "adoption"
 ],
 "tools": [
  "list_apps",
  "create_app",
  "set_app_origins",
  "usage",
  "reclaim_space",
  "list_tables",
  "describe_table",
  "query",
  "execute",
  "apply_schema_change",
  "mint_device_key",
  "list_device_keys",
  "revoke_device_key",
  "list_snapshots",
  "restore_snapshot",
  "get_direct_connection",
  "list_files",
  "read_file",
  "delete_file",
  "restore_file"
 ],
 "tool_docs": [
  {
   "n": "list_apps",
   "d": "List the person's Leash apps (id, slug, allowed origins)."
  },
  {
   "n": "create_app",
   "d": "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"
  },
  {
   "n": "set_app_origins",
   "d": "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."
  },
  {
   "n": "usage",
   "d": "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"
  },
  {
   "n": "reclaim_space",
   "d": "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"
  },
  {
   "n": "list_tables",
   "d": "List the app's tables and views (name, kind, estimated row count)."
  },
  {
   "n": "describe_table",
   "d": "Describe one of the app's tables or views: columns (name, type, nullable, default), primary key, constraints, indexes, and a view's definition."
  },
  {
   "n": "query",
   "d": "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"
  },
  {
   "n": "execute",
   "d": "Run one SQL statement that changes data (insert/update/delete) or the schema. Returns { rowCount, columns, rows, rowsTruncated, snapshots }, or for DDL { change"
  },
  {
   "n": "apply_schema_change",
   "d": "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"
  },
  {
   "n": "mint_device_key",
   "d": "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 "
  },
  {
   "n": "list_device_keys",
   "d": "List the app's device keys (id, name, created, last used, revoked). Never shows the keys themselves."
  },
  {
   "n": "revoke_device_key",
   "d": "Revoke one of the app's device keys (it stops working immediately)."
  },
  {
   "n": "list_snapshots",
   "d": "List the app's safety snapshots (taken automatically before destructive changes; kept 7 days), newest first."
  },
  {
   "n": "restore_snapshot",
   "d": "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"
  },
  {
   "n": "get_direct_connection",
   "d": "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"
  },
  {
   "n": "list_files",
   "d": "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."
  },
  {
   "n": "read_file",
   "d": "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"
  },
  {
   "n": "delete_file",
   "d": "Delete a file. It moves to the trash and can be restored for 7 days, then it is gone for good."
  },
  {
   "n": "restore_file",
   "d": "Bring a deleted file back from the trash (within 7 days of deleting it)."
  }
 ],
 "passed": true,
 "auth_required": false,
 "fail_reason": null,
 "category_confidence": 0.968,
 "category_source": "hand",
 "category_scores": {
  "database": 3.28,
  "memory": 0.48,
  "design-docs": 0.4,
  "productivity": 0.1
 },
 "subcategory": null,
 "id": "build-leash-leash",
 "listing": {
  "plan": "curated",
  "fee_usd": null,
  "note": "Listing fees are not active. Placement is earned only by test results."
 },
 "status": "listed",
 "first_seen": "2026-11-24",
 "uptime_days": "2/2",
 "override": {
  "category": "database",
  "subcategory": null,
  "note": "hand label round 2"
 }
}