Serveur MCP

Leash

build.leash/leash

Serveur MCP OK 20 outils

Faire examiner Voir les tarifs

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

Fiche technique

Auteur
leash.build (espace de noms du registre)
Dépôt
—
Site
leash.build/docs
Version
1.1.0
Transport
Streamable HTTP
Authentification
Aucune (constatée par notre test)
Adresse du serveur
https://leash.build/mcp Streamable HTTP
Outils
20
Catégories
Bases de données
Comparatifs
Serveurs MCP pour Postgres
Dernière mise à jour
23 nov. 2026
Publication
23 nov. 2026

Badge pour votre README

Référencé sur L’Atlas

Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.

MarkdownREADME.md
[![Référencé sur L’Atlas](https://latlas.dev/badge/fiche/build.leash/leash.svg)](https://latlas.dev/mcp/build.leash/leash)
HTML
<a href="https://latlas.dev/mcp/build.leash/leash"><img src="https://latlas.dev/badge/fiche/build.leash/leash.svg" alt="Référencé sur L’Atlas" height="20"></a>

Nos tests

Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode

Adresse
https://leash.build/mcp
Dernier résultat
OK 28 nov. 2026, 08:10
Temps de réponse
902 ms (initialize + tools/list)
Version du protocole
2025-11-25
Nom annoncé
leash 1.0.0
Outils
20

Historique

DateRésultatRéponseOutils
28 nov. 2026, 08:10OK902 ms20

Outils exposés (20, réponse à tools/list, 28 nov. 2026)

list_apps

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

Aucun paramètre.

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 allows 1 app, Plus 10, Pro 25.

ParamètreTypeRequisDescription
slugstringouiShort name, e.g. notes
originsarray<string>nonWeb origins the app is served from, e.g. https://myapp.example.com or http://localhost:5173 (no path).

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.

ParamètreTypeRequisDescription
appstringouiThe app's slug or id (from list_apps / create_app).
originsarray<string>ouiWeb origins the app is served from, e.g. https://myapp.example.com or http://localhost:5173 (no path).

usage

Show the account's storage, database and files apart: database bytes per app as last measured (null with a note until first measured, a few minutes after the first write) and file bytes per app, each total vs the plan's limit, plan, whether writes are blocked for being over the database storage limit (file storage full only stops new uploads), snapshot usage, and the database server's state (running/stopped: it sleeps when idle and wakes on the next request).

Aucun paramètre.

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 still blocked.

ParamètreTypeRequisDescription
appstringouiThe app's slug or id (from list_apps / create_app).

list_tables

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

ParamètreTypeRequisDescription
appstringouiThe app's slug or id (from list_apps / create_app).

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.

ParamètreTypeRequisDescription
appstringouiThe app's slug or id (from list_apps / create_app).
tablestringouiTable or view name (unqualified).

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.

ParamètreTypeRequisDescription
appstringouiThe app's slug or id (from list_apps / create_app).
sqlstringouiExactly one SQL statement. Use $1, $2 … for values.
paramsarray<any>nonValues for $1, $2 … (strings, numbers, booleans, null, or JSON for json/jsonb columns).

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 true the write still happened in full and rowCount counts every row. An update/delete touching more than 100 rows (or inside a WITH clause), a truncate or a drop first saves a 7-day snapshot of the table. EXPLAIN ANALYZE of a write is refused. One statement per call; time limit per statement = the plan's (Free 5 s, Plus and Pro 30 s).

ParamètreTypeRequisDescription
appstringouiThe app's slug or id (from list_apps / create_app).
sqlstringouiExactly one SQL statement. Use $1, $2 … for values.
paramsarray<any>nonValues for $1, $2 … (strings, numbers, booleans, null, or JSON for json/jsonb columns).
descriptionstringnonFor schema changes: what and why (logged).
allowWithoutSnapshotbooleannonGo ahead even if a safety snapshot can't be taken (cap reached). Only when the person agrees.

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; if the snapshot cap is reached the change is refused unless allowWithoutSnapshot. Returns { changeId, snapshots }. One statement per call.

ParamètreTypeRequisDescription
appstringouiThe app's slug or id (from list_apps / create_app).
sqlstringouiExactly one SQL statement. Use $1, $2 … for values.
descriptionstringouiWhat the change does and why (logged).
allowWithoutSnapshotbooleannonGo ahead even if a safety snapshot can't be taken (cap reached). Only when the person agrees.

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.

ParamètreTypeRequisDescription
appstringouiThe app's slug or id (from list_apps / create_app).
namestringouiWhich device or script, e.g. laptop-sync

list_device_keys

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

ParamètreTypeRequisDescription
appstringouiThe app's slug or id (from list_apps / create_app).

revoke_device_key

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

ParamètreTypeRequisDescription
appstringouiThe app's slug or id (from list_apps / create_app).
keyIdstringouiThe key's id from list_device_keys

list_snapshots

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

ParamètreTypeRequisDescription
appstringouiThe app's slug or id (from list_apps / create_app).

restore_snapshot

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

ParamètreTypeRequisDescription
appstringouiThe app's slug or id (from list_apps / create_app).
snapshotIdstringoui
asTablestringnonName for the restored table (must not exist).

get_direct_connection

Plus and 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.

ParamètreTypeRequisDescription
appstringouiThe app's slug or id (from list_apps / create_app).

list_files

List the app's private files (photos, PDFs and videos the app stored), newest first: id, name, type, size, created. No links or contents; use read_file to see one.

ParamètreTypeRequisDescription
appstringouiThe app's slug or id (from list_apps / create_app).
limitintegernonHow many files to return (default 50, max 100).
offsetintegernonHow many files to skip (for the next page).
include_deletedbooleannonAlso list files in the trash (they show deleted_at).

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. Videos and larger files can't be opened: only their details are returned.

ParamètreTypeRequisDescription
appstringouiThe app's slug or id (from list_apps / create_app).
idstringouiThe file's id from list_files.

delete_file

Delete a file. It moves to the trash and can be restored for 7 days, then it is gone for good.

ParamètreTypeRequisDescription
appstringouiThe app's slug or id (from list_apps / create_app).
idstringouiThe file's id from list_files.

restore_file

Bring a deleted file back from the trash (within 7 days of deleting it).

ParamètreTypeRequisDescription
appstringouiThe app's slug or id (from list_apps / create_app).
idstringouiThe file's id from list_files.

Compatibilité clients

Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.

ClientTransports documentésCe serveurSource
Claude Codestdio Streamable HTTP SSEtransport acceptédoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport acceptédoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport acceptédoc
Cursorstdio Streamable HTTP SSEtransport acceptédoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport acceptédoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport acceptédoc
Gemini CLIstdio Streamable HTTP SSEtransport acceptédoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport acceptédoc

Configs prêtes à copier

Adresse distante utilisée : https://leash.build/mcp. Formats repris de la documentation de chaque client.

Claude Code
claude mcp add --transport http leash https://leash.build/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : leash ; URL : https://leash.build/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : leash ; Server URL : https://leash.build/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "leash": {
      "url": "https://leash.build/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "leash": {
      "type": "http",
      "url": "https://leash.build/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "leash": {
      "url": "https://leash.build/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "leash": {
      "httpUrl": "https://leash.build/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.leash]
url = "https://leash.build/mcp"

Citer cette source

Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.

Leash · L’Atlas · Test du

Markdown
[Leash — L’Atlas](https://latlas.dev/mcp/build.leash/leash)
Méthode et limites des tests

Source : Registre officiel MCP · relevé le 30 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.