L'Atlas / Serveurs MCP / while.sh

while.sh

sh.while/while

Serveur MCP OK

Faire examiner Voir les tarifs

Deploy and share tools built with Claude or ChatGPT: your team, a client or everyone. No sign-up.

Fiche technique

Auteur
while.sh (espace de noms du registre)
Dépôt
—
Site
while.sh/en
Version
2.3.0
Transport
Streamable HTTP
Authentification
Aucune (constatée par notre test)
Adresse du serveur
https://app.while.sh/mcp Streamable HTTP
Outils
45
Catégories
IA, agents et mémoire
Dernière mise à jour
21 nov. 2026
Publication
21 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/sh.while/while.svg)](https://latlas.dev/mcp/sh.while/while)
HTML
<a href="https://latlas.dev/mcp/sh.while/while"><img src="https://latlas.dev/badge/fiche/sh.while/while.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://app.while.sh/mcp
Dernier résultat
OK 28 nov. 2026, 10:43
Temps de réponse
909 ms (initialize + tools/list)
Version du protocole
2025-11-25
Nom annoncé
while 2.3.0
Outils
45

Historique

DateRésultatRéponseOutils
28 nov. 2026, 10:43OK909 ms45

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

get_catalog

Read while's catalog

What while can run, block by block: what it does, its cost, the while.yaml line that declares it.

ParamètreTypeRequisDescription
formatenum: "text" | "detail" | "json" | "guide" | "dockerfile"nontext: the contract and the blocks; detail: one block (block); guide: designing an app; dockerfile: a typical Dockerfile (language); json: the summary.
languageenum: "rails" | "laravel" | "rust" | "java-maven" | "java-gradle" | "dotnet" | "hugo"nonThe language, for format dockerfile; without it: the list.
blockstringnonThe building block (postgres, valkey…), for format detail.
trialstringnonThe key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call.

search_docs

Search while's docs

The passages of while's documentation that answer a question, with their address.

ParamètreTypeRequisDescription
querystringouiThe question, in a few words.
langenum: "en" | "fr"nonBy default, the user's language.
trialstringnonThe key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call.

read_source

Read the project's code

The project's code at while, without changing anything: a folder or a file (path), in pages of 60,000 characters, or the archive link of a deployed version (archive).

ParamètreTypeRequisDescription
projectstringnonThe project.
environmentstringnonarchive: the version's environment (production by default).
versionintegernonarchive: the version number; the live version by default.
formatenum: "auto" | "base64" | "link"nonarchive: the archive's form.
archivebooleannontrue: the archive link of a deployed version.
pathstringnonA folder (empty, or ending in /): its list; a file: its content.
startintegernonA file: the first line returned (the rest of a long file, given by the response).
trialstringnonThe key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call.

upload_source

Send code from a terminal

Trial version, not for production, online for a limited time. Without a key, this first call creates the trial. The upload command (curl) that sends the project folder to while from a terminal, through a 15-minute link; deploy_app then deploys it.

ParamètreTypeRequisDescription
projectstringnonThe project.
environmentstringnonProduction or a preview.
terminalbooleannontrue: the curl command even when the client presents itself as a conversation (a client with a terminal that reaches while).
trialstringnonThe key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call.
languageenum: "en" | "fr"nonTrial creation: your human's language. while's texts for them are in that language, to_say included. Without this parameter, your session's language, then English.

write_files

Write project files

Trial version, not for production, online for a limited time. Without a key, this first call creates the trial. A commit on the project's branch at while, without a terminal: each named file is replaced by its full content, a binary file in base64 in binary_files, those in delete are removed; deploy: true also deploys it. 2 MiB and 200 files per call.

ParamètreTypeRequisDescription
projectstringnonThe project.
filesobjectnonPath → full content of the file (it replaces the old one); a .json as an object.
binary_filesobjectnonPath → content of a binary file (image, font) in base64.
deletearray<string>nonThe files or folders to delete.
messagestringnonThe commit message, in one sentence.
branchstringnonA preview branch: production does not change.
deploybooleannontrue: also deploys it, like deploy_app (on a branch, its preview).
trialstringnonThe key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call.
languageenum: "en" | "fr"nonTrial creation: your human's language. while's texts for them are in that language, to_say included. Without this parameter, your session's language, then English.

plan_deploy

Plan a deployment

What a deployment would change, block by block, and what each block costs per month; the plan is kept for apply_plan.

ParamètreTypeRequisDescription
projectstringnonThe project.
environmentstringnonProduction or a preview.
plan_idstringnonReread this plan (computed earlier) instead of computing one.
intentstringnonContent of while.yaml; without it, the one in the latest commit at while (like deploy_app), otherwise the last one deployed.
from_stateintegernonGo back to a state version (number given by observe_app { view: "history" }): the plan says what to change to get it back; then apply_plan.
timeout_secondsintegernonLongest wait, in seconds.
trialstringnonThe key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call.

deploy_app

Deploy an app

Trial version, not for production, online for a limited time. Without a key, this first call creates the trial. Builds the code sent (or the GitHub or GitLab repository linked with link_git_repo, or an image) and deploys it; reversible: rollback_app restores the previous version.

ParamètreTypeRequisDescription
projectstringnonThe project.
environmentstringnonProduction or a preview.
source_archive_base64stringnonLast resort, slow: the tar.gz archive of the sources, in base64. Exclusive with image and release.
releaseintegernonThe number returned by an upload (or a version in progress): deploy_app follows its build and its deployment.
redeployintegernonA version already built, put back online with today's variables and secrets (after set_env, or to restart an app that went down), without rebuilding. Going back: rollback_app.
imagestringnonOCI image already built (while registry or external), ideally with its digest.
digeststringnonsha256: ; without it, while resolves it: the image always goes by its digest.
intentstringnonContent of while.yaml, when deploying an image without sending sources.
confirm_overwritebooleannontrue: while.yaml overwrites what a person changed on screen.
waitbooleannonfalse: returns at once (follow with deploy_app { release }).
timeout_secondsintegernonMaximum wait; beyond it, the response says how to resume.
trialstringnonThe key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call.
languageenum: "en" | "fr"nonTrial creation: your human's language. while's texts for them are in that language, to_say included. Without this parameter, your session's language, then English.

get_app_status

Read an app's status

An environment's state: its live version, its addresses, its health, its services, its recent traffic; include: its live while.yaml (while_yaml), its known vulnerabilities and the bots seen (vulnerabilities), or who opened the app, when and how (openings).

ParamètreTypeRequisDescription
projectstringnonThe project.
environmentstringnonProduction or a preview.
includearray<enum: "while_yaml" | "vulnerabilities" | "openings">nonAn extra view on top of the state: while_yaml, vulnerabilities or openings.
sincestringnonvulnerabilities: the window of bots seen in the traffic; openings: the window of openings, 7d without since (30m, 6h, 7d…).
probebooleannonfalse: without probing (does not wake a sleeping service).
trialstringnonThe key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call.
renew_keep_linkbooleannontrue: a new claim link, and the one given before stops working. Without this parameter, the link that is still valid.

list_approvals

Read pending requests

The requests a person still has to accept or approve in while (a production deployment, a restore…), and their state; id: a single one.

ParamètreTypeRequisDescription
idstringnonId of a request (approval_id): its detail, even decided.
trialstringnonThe key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call.

get_environment

Read an environment

An environment, by view: variables, the names of its variables and secrets (never the values); domains, its domains and their DNS proof; links, its access links (never the link); backups, the last 50 backups of a database (their id for restore_backup); queues, its queues and their state; cdn, its CDN (the zone of each service, the state of each address, the PoPs' traffic).

ParamètreTypeRequisDescription
viewenum: "variables" | "domains" | "links" | "backups" | "queues" | "cdn"nonThe view returned.
projectstringnonThe project.
environmentstringnonProduction or a preview.
databasestringnonDatabase name; the first declared by default.
trialstringnonThe key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call.

set_env

Set variables and secrets

Sets or removes an environment's variables and secrets (in the vault by default, never read back); they apply at the next deployment.

ParamètreTypeRequisDescription
projectstringnonThe project.
environmentstringnonProduction or a preview.
valuesobjectnonKey/value pairs: { "LOG_LEVEL": "debug" }
secretbooleannontrue: in the vault, never read back (default). false: plain variable, which a person reads back in while, never an agent.
filebooleannontrue: a secret delivered as a file, never as a variable: the app reads it in /run/secrets/ . Required for a secret in the production of a project linked to a federated connection.
buildbooleannontrue: a build secret (build.secrets, e.g. NPM_TOKEN), read by builds only, never by the app. With delete: removes one.
deletearray<string>nonNames of the variables or secrets to delete from this environment.
keystringnonA single variable: its name (with "value"), instead of "values".
valuestringnonA single variable: its value (with "key").
movestringnonA name: this secret moves to the build (build: true) or to the app, its value kept in the vault.
trialstringnonThe key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call.

query_database

Read a database with SQL

A read-only SQL query on one of the project's PostgreSQL databases; format short (default; a cut response says how to read the rest), detailed (wider limits) or csv (an export).

ParamètreTypeRequisDescription
formatenum: "short" | "detailed"nonThe response format.
projectstringnonThe project.
environmentstringnonProduction or a preview.
databasestringnonName of the database (databases[].name); the first declared by default.
sqlstringouiA read statement.
limitintegernonRow cap: short 200, detailed 400 (2,000 at most); csv 10,000 (50,000).
max_bytesintegernonByte limit: short 40 KB, detailed and csv 200 KB.
timeout_secondsnumbernonQuery timeout.
trialstringnonThe key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call.

get_logs

Read logs

An environment's logs (or a build's: build_id), most recent first, filterable by a text.

ParamètreTypeRequisDescription
projectstringnonThe project.
environmentstringnonProduction or a preview.
build_idstringnonTo read a build's log rather than the application's.
querystringnonA LogsQL filter (VictoriaLogs' query language: https://docs.victoriametrics.com/victorialogs/logsql/), for example "timeout"; "error": the error lines.
limitintegernonLines returned: 100 by default, 200 with build_id; 1,000 at most.
trialstringnonThe key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call.

observe_app

Understand what is happening

What is happening in production, by view: metrics, traces, errors (grouped), history (versions and events), timeline, impact (a version's effect), database (frequent and slow SQL queries), edge (what the CDN PoPs serve) or ask (dated facts around a question).

ParamètreTypeRequisDescription
viewenum: "metrics" | "traces" | "errors" | "history" | "timeline" | "impact" | "database" | "ask" …nonThe view returned.
projectstringnonThe project.
environmentstringnonProduction or a preview.
querystringnonA PromQL query (Prometheus' query language: https://prometheus.io/docs/prometheus/latest/querying/basics/); without it, traffic and errors.
rangeenum: "15m" | "1h" | "24h" | "7d"nonThe window.
trace_idstringnonOne trace in detail: its id (32 hexadecimal characters).
servicestringnonThe app's OTEL_SERVICE_NAME; by default, the project's name.
operationstringnonOnly the traces of this operation (span name): "GET /orders".
since_minutesintegernonWindow, in minutes (30 days at most).
min_durationstringnonOnly the traces longer than this: "500ms", "2s".
errorsbooleannonOnly the traces with a span in error.
limitintegernon100 at most.
sincestringnonWindow: 30m, 2h, 1d, or an ISO 8601 date.
fingerprintstringnonFingerprint of a group, for its detail.
untilstringnonEnd (ISO 8601 date); now by default.
familiesarray<enum: "build" | "plan" | "deploy" | "rollback" | "incident" | "error" | "preview" | "approval" …>nonKeep only these families.
versionintegernonVersion number; the active version by default.
window_minutesintegernonThe compared window, before and after the version.
databasestringnonDatabase name; the first declared by default.
questionstringnonThe question, in plain words.
urlstringnonAn address of the environment: why a PoP keeps it or not.
trialstringnonThe key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call.

send_feedback

Send feedback to the while team

Sends feedback to the while team in the person's words, at their request. It also requests a block (kind: "block") as soon as the person's need calls for it. while attaches who sends it, the organization, its version and the last 5 failed calls of this identity (the tool and the code only), never the conversation.

ParamètreTypeRequisDescription
kindenum: "bug" | "frustration" | "idea" | "other" | "integration" | "block"ouibug (while is wrong), frustration (the user's, in their words), idea, other, integration (a service to connect), block (a block to open).
messagestringouiWhat happens, what was expected; 4,000 characters at most.
projectstringnonThe project concerned.
organizationstringnonThe organization; otherwise the project's or the token's.
toolstringnonThe MCP tool concerned.
routestringnonThe API route concerned ("POST /v1/…").
referencestringnonThe identifier of an error, a call or a request.
servicestringnonintegration: the service to connect (Stripe, Snowflake, Anthropic…).
usagestringnonintegration, block: what the app wants to do with it.
blockstringnonblock: the block (its id in catalog).
volumestringnonblock: the expected volume (sends per day, GiB…).
authenticationenum: "api_key" | "oauth" | "oidc_federation" | "other"nonintegration: how the service authenticates (API key, OAuth, OIDC federation, other).
documentationstringnonintegration: the https address of its documentation.
trialstringnonThe key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call.

list_feedback

Read feedback and replies

The feedback sent to the while team and its replies; organization: the organization's feedback (its admins).

ParamètreTypeRequisDescription
organizationstringnonThe whole organization's feedback (its admins).
trialstringnonThe key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call.

get_project

Read projects

Without project, the projects the identity sees; project, one project and its environments; include: ["webhooks"], its webhooks.

ParamètreTypeRequisDescription
projectstringnonA project; without it, the list.
includearray<enum: "webhooks">nonwebhooks: its webhooks.
trialstringnonThe key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call.

create_project

Create a project

Creates a project in an organization, with its monthly budget (€20 by default); deploy_app then deploys an app to it.

ParamètreTypeRequisDescription
projectstringouiThe project name (lowercase letters, digits, hyphens).
namestringnonThe display name (the project name by default).
budget_eurnumbernonEuros per month (20 by default; 0, no cap, or more than €20: admins); alert at 80% then 100%.
organizationstringnonThe organization that holds it (the token's by default).
trialstringnonThe key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call.

keep_trial

Keep the trial app

When the user wants to keep their trial app: returns the link that keeps it in their own organization. Ask them first for their organization's name, and for the project's name, which makes the app's address; the page proposes names and lets them change them.

ParamètreTypeRequisDescription
organization_namestringnonThe user's organization.
project_namestringnonThe project, which makes the app's address.
trialstringnonThe key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call.

open_trial_app

Open the trial app

To check the trial app yourself, past the "Trial tool" page that visitors see first: a one-hour identifier for its address, tied to the trial key. Write cookie.value to the file named in file, then run the curl command (or the Playwright setting), which reads it from there: never in an argument. read_only: GET and HEAD only.

ParamètreTypeRequisDescription
read_onlybooleannonGET and HEAD only.
trialstringnonThe key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call.

sign_up

Create the user's while account

Sends the user's email address to while, which emails them a link (60 min) to choose a password. With the trial key, the trial app moves to their account. The link and the password are never returned here.

ParamètreTypeRequisDescription
emailstringouiThe user's email address.
trialstringnonThe key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call.

load_tools

Load a tool group

Adds a tool group to this agent: alerts (alerts, incidents, channels), feedback_and_docs (page notes, feedback, docs), environments_and_storage (domains, internal apps, git credential, buckets, destroying or restarting an environment, proposing a private destination, linking apps privately, reading MikroTik sites, the network entry points and egress), administer (members, groups, roles, access, tokens, service accounts, bindings, usage, project settings and deletion, organization settings), connections (calling a connection's API, writes included), functions (trying the function in front of a connection), data_relays (reading and writing a customer's private databases and APIs through its data relay).

ParamètreTypeRequisDescription
groupenum: "alerts" | "feedback_and_docs" | "environments_and_storage" | "administer" | "connections" | "functions" | "data_relays"ouiThe group to load.

link_git_repo

Link a git repository

Keeps the code on GitHub or GitLab (without a token: the while App, an authorized GitLab group): a push to the default branch deploys production, a pull or merge request opens a preview; unlink removes the link.

ParamètreTypeRequisDescription
projectstringnonThe project.
forgeenum: "github" | "gitlab"nonThe repository's forge.
repostringnon"owner/name" (GitHub) or "group/project" (GitLab).
tokenstringnonAccess token for the forge, stored in the vault; without it, through the while App (GitHub) or an authorized GitLab group.
base_urlstringnonAddress of a self-hosted GitLab.
unlinkbooleannontrue: removes the link and the webhook.

apply_plan

Apply a plan

Applies a plan computed by plan_deploy (what it changes goes live); discard: true drops it without applying anything.

ParamètreTypeRequisDescription
plan_idstringouiThe plan returned by plan_deploy.
projectstringnonThe project.
waitbooleannontrue: answers once done.
timeout_secondsintegernonLongest wait, in seconds.
discardbooleannontrue: drop the plan instead of applying it.

rollback_app

Roll back to a previous version

Puts a previous version of an environment back online (the previous one by default, or to); the live version is replaced.

ParamètreTypeRequisDescription
projectstringnonThe project.
environmentstringnonProduction or a preview.
tointegernonThe target version number; without it, the previous active version.
waitbooleannontrue: answers once done.
approval_idstringnonThe request, accepted or approved (its id), when the action needs one.

create_preview

Create a preview

A preview environment for a branch, with its own address.

ParamètreTypeRequisDescription
projectstringnonThe project.
namestringnonName of the environment (otherwise, the branch).
branchstringnonThe Git branch.
fromstringnonReference environment.
copy_databasebooleannonCopy the production data (otherwise empty databases): needs data.backup on its databases.
ttl_hoursintegernonLifetime of the preview, in hours.
waitbooleannontrue: answers once done.

request_access_link

Share an app with a link

Share an internal app, show it to a client or a tester without a while account: requests a sharing link (access link); a person creates it and passes it on in while. With dev_address: the workstation's dev address (its dev server), 7 days at most.

ParamètreTypeRequisDescription
projectstringnonThe project.
environmentstringnonProduction or a preview.
namestringnonThe proposed name of the link ("Dupont client demo").
daysintegernonThe proposed expiry: 1, 7 or 30 days (otherwise 7).
dev_addressstringnonThe name of a dev address (what follows -dev- in -dev- ): share it rather than an environment.

backup_database

Back up a database

Starts a backup of a database declared in while.yaml, and a test restore on a throwaway database that proves it.

ParamètreTypeRequisDescription
projectstringnonThe project.
environmentstringnonProduction or a preview.
databasestringnonDatabase name; the first declared by default.
test_restorebooleannonRestore it to a throwaway database, to prove it.
waitbooleannonWait for the backup (and its restore test) to receive its id and its result.

restore_backup

Restore a database

Restores a database from a backup or to a point in time; its current data is replaced, and in production this goes through a request.

ParamètreTypeRequisDescription
projectstringnonThe project.
environmentstringnonProduction or a preview.
databasestringnonDatabase name; the first declared by default.
backup_idstringnonThe backup (get_environment { view: "backups" }); the last successful one by default.
instantstringnonRestore the database to this instant (ISO 8601), 14 days at most; excludes backup_id.
approval_idstringnonThe request, accepted or approved (its id), when the action needs one.
waitbooleannontrue: answers once done.
reasonstringnonWhy restore, in one sentence for the person who accepts or approves.

list_tasks

List the scheduled jobs

An environment's scheduled jobs, their schedule, their last runs and the next one.

ParamètreTypeRequisDescription
projectstringnonThe project.
environmentstringnonProduction or a preview.
taskstringnonName of a task, for its detailed history.
limitintegernonNumber of runs in the detailed history.

run_task

Run a job

Runs one of the app's scheduled jobs from its while.yaml now, without waiting for its time: the app's code, in its environment; while runs nothing else.

ParamètreTypeRequisDescription
projectstringnonThe project.
environmentstringnonProduction or a preview.
taskstringouiName of the task (crons[].name).
argsarray<string>nonArguments appended to the command: ["--since", "2026-10-12"].
envobjectnonExtra variables for this run only.
catch_upobjectnonPeriod to catch up: the run is counted "catch_up" and receives it as variables.
waitbooleannontrue: answers once done.
timeout_secondsintegernonLongest wait, in seconds.
approval_idstringnonThe request, accepted or approved (its id), when the action needs one.

acknowledge_announcement

Acknowledge an announcement

Records that an announcement from the while team has been read.

ParamètreTypeRequisDescription
idstringouiThe id of the announcement (id, in the announcements).

explain_access

Explain access

Who has access to what, in sentences; with who and permission, yes or no and why (the chain that grants it, or what is missing); activity: what this identity did with it.

ParamètreTypeRequisDescription
organizationstringnonThe organization.
projectstringnonShortcut for scope.project.
scopeobjectnon{}: the organization; otherwise down to a table, a connection, or a source of a relay.
whostringnonAn address, group: , service_account: , app: / , task: / , or token: .
permissionenum: "org.view" | "org.admin" | "access.grant" | "roles.define" | "projects.create" | "app.use" | "project.view" | "project.deploy" …nonWith who: "can X on the scope?".
activitybooleannonWith who: what the identity did (log, calls).

request_access

Request access

Requests a permission for the person (or their agent): whoever can grant it decides in while.

ParamètreTypeRequisDescription
organizationstringnonThe organization.
rolestringnonThe role (missing.proposed_role).
permissionenum: "org.view" | "org.admin" | "access.grant" | "roles.define" | "projects.create" | "app.use" | "project.view" | "project.deploy" …nonOr a permission (the smallest role that grants it).
scopeobjectnon{}: the organization; otherwise down to a table, a connection, or a source of a relay.
daysintegernonDuration, in days; not used for an app (for), whose right has no expiry.
reasonstringouiWhy ("Q4 audit"), read by whoever decides.
renewstringnonOne of your assignments to extend (only days and reason count).
forstringnonFor an app that will call a connection: app: / or task: / , role connection-caller (or connection-writer), scope { connection }.
toolstringnonOr the id of a reserved tool (view existing).

get_activity_log

Read the organization's activity log

The organization's activity log, append-only and chained: who did what and through what (a person, an agent, the API, a task, while), filterable.

ParamètreTypeRequisDescription
organizationstringnonThe organization.
tabenum: "all" | "agents" | "security" | "approvals"nonReady-made filter.
personstringnonAddress or name (partial) of the person, or "while".
viaenum: "agent" | "app" | "task" | "interface" | "browser" | "api" | "while"nonWhat the action went through.
familystringnonFamilies, separated by commas: deploy, data, security, access, permissions, approval, task, alert, connection, app, observation, loop (agents' wake-ups).
projectstringnonProject name.
resourcestringnonText searched in the object ("carnet", "main.reservations"), or id or type of resource.
whostringnonAn identity, written as for explain_access (what it did).
assignmentstringnonAn assignment's history (its id): granted, revoked, expired, flagged, kept.
sincestringnonStart: 30m, 24h, 7d, a date (2026-10-18) or an ISO 8601 instant.
untilstringnonEnd, same format; a date alone counts the whole day.
limitintegernonMaximum number of items returned.
cursorstringnonThe "next" of a previous response.
verifybooleannonCheck the log's chain instead of reading it.

list_connections

Read connections

The organization's external APIs, called through while: without connection, their list; connection, its detail, its rules and how to call it; view limits, the call limits; bindings, a federated connection's bindings.

ParamètreTypeRequisDescription
viewenum: "detail" | "limits" | "bindings"nonThe view returned.
organizationstringnonThe organization.
connectionstringnonConnection name (meteo): its detail.
sincestringnonWith connection: the call log since this date (2026-10-01); 7 days by default.
untilstringnonWith connection and since: up to this date (now by default).
refusalbooleannonWith since: refusals only.

declare_connection

Declare a connection

Declares an external API (domain, authentication without a secret, callers), to be accepted; a person enters the secret in while.

ParamètreTypeRequisDescription
organizationstringnonThe organization.
namestringouiLowercase, digits, hyphens: weather, accounting.
modelenum: "anthropic" | "openai" | "mistral" | "snowflake" | "snowflake_pat"nonAn AI or Snowflake (account, user, role, warehouse): domain and recipe set automatically.
domainstringnonAPI host, no path: api.example.com.
secondary_domainsarray<string>nonHosts relayed without a key (/~ /…).
authenticationobjectnonRecipe, no secret: header {name, prefix}; parameter {name}; oauth2 {token_url|issuer, scope, client_auth basic|body, header}; session {login_url, token_field, duration_seconds}; jwt {mode exchange|client_assertion|direct, token_url|issuer, alg RS256|ES256, duration_s, claims {iss, aud, scope, sub},…
rulesarray<object>nonIts writes, and its reads if reads: listed. Federated: required. A POST that reads: its pattern in read too.
readarray<string>nonPatterns read with POST (a search, a GraphQL query): /api/v1/searches.
readsenum: "all" | "listed"nonall, except refused_paths; listed: those in rules.
refused_pathsarray<object>nonRefused before any rule: /admin/**.
rate_per_minuteintegernonCalls allowed per minute.
ownerstringnonEmail of the owner; by default, the signed-in user.
labelstringnonThe displayed name ("Pennylane").
projectstringnonThe project of the calling apps; by default, the token's.
appsarray<string>nonCalling services and tasks (web, task:charger); by default, those of the while.yaml that declare it.
directionenum: "read" | "write"nonThe apps will also write (POST, PUT, PATCH, DELETE).
updatebooleannonAn existing connection: read becomes the wanted list; removing applies at once, adding goes through a request.

read_connection

Read a connection's API

Reads the HTTP API of a third party the organization declared as a connection: GET, or POST with body on a path it declares as a read; nothing else goes out. Its rights, rules and function apply; while adds the authentication and keeps a trace of the call.

ParamètreTypeRequisDescription
organizationstringnonThe organization.
connectionstringouiConnection name (list_connections).
pathstringouiPath at the provider, with its query string: /api/v1/slots?site=origines.
bodynonOnly on a path declared as a read (POST): an object (sent as JSON) or text.

get_organization

Read organizations

Without organization, your organizations; otherwise, view detail (members, groups, stewards), existing (what exists for the person, to_say), sources (the catalog of sources, the person's access and the call to request it; source: one card), map (projects, databases, connections), rules (requests, budget), branding, private_network, private_networks, private_destination, private_network_log, vpn_ingress.

ParamètreTypeRequisDescription
viewenum: "detail" | "existing" | "sources" | "map" | "rules" | "branding" | "private_network" | "private_networks" …nonThe view returned.
organizationstringnonThe organization.
sourcestringnonview sources: one card, “type:name” (database:crm/main).
destinationstringnonnetwork/destination.
minutesintegernon60 by default.

invite_member

Invite a person

Invites a person with a role on an app (project; otherwise the whole organization); for an internal app, role access and project, in one request. An address with no email (.test, .invalid…) is refused.

ParamètreTypeRequisDescription
organizationstringnonThe organization.
emailstringouiThe person's address.
roleenum: "owner" | "admin" | "developer" | "reader" | "access" | "external"nonOn an app (project): access to use it, or reader, developer, admin. On the whole organization: developer by default; external sees only what it is granted. People who only use your internal apps: Access on the app (access and project).
projectstringnonThe app where the role is given; without it: the whole organization.
reasonstringnonThe reason for the assignment (in the log); "member of the organization" by default.
resendbooleannontrue: sends the pending invitation again (a new link, once an hour), without changing anything else.

grant_role

Grant a role

Grants a role to an identity (a person, a group, a service account, an app) on a scope, until a date; only what one holds oneself, never to oneself. On a relay source, an app only receives source-reader, accepted by its owners. Access for an address in the company's domain: it waits for their first sign-in.

ParamètreTypeRequisDescription
organizationstringnonThe organization.
whostringouiAn address, group: , service_account: , app: / or task: / .
rolestringouiA built-in role (owner, admin, developer, reader, access, data-reader, connection-caller, connection-writer, service-caller, data-writer, source-reader, source-writer) or one of the organization's (review_access { view: "roles" }).
scopeobjectoui{}: the organization; otherwise down to a table, a connection, or a source of a relay.
untilstringnonEnd date (included): 2026-11-30.
daysintegernonDuration, in days.
reasonstringouiWhy ("Q4 audit"): it goes to the log and is read in the sentence.

revoke_role

Revoke a role

Removes an assignment at once; the last owner stays.

ParamètreTypeRequisDescription
organizationstringnonThe organization.
assignmentstringouiThe assignment's id.
reasonstringouiWhy (in the log).

create_token

Create an API token

Creates an API token for a project or for the organization, with its permissions, its environments and its lifetime; it is returned only once. Not by an agent connected through OAuth: a person creates it in while.

ParamètreTypeRequisDescription
scopeenum: "project" | "organization"nonA project, or the organization.
projectstringnonThe project.
organizationstringnonFor an organization token: its name; optional with an organization token.
namestringnonWhat it is for ("GitLab CI").
permissionsarray<string>nondeploy and read by default.
environmentsarray<string>nonWhere it can act (production, previews, or names); without a list, everywhere.
daysintegernonLifetime in days (30 by default, 0 without expiry).

update_connection

Configure a connection

One setting per call: change, a review action (refuse, remove; all_reads, restore; forward_authorization, drop_authorization: keyless, the app's Authorization); method and pattern alone request a rule; lock limits its reads. caller, window and calls set a call limit, remove_limit removes it.

ParamètreTypeRequisDescription
organizationstringnonThe organization.
connectionstringnonConnection name (list_connections).
changeenum: "refuse" | "remove" | "limit_reads" | "all_reads" | "restore" | "allow" | "forward_authorization" | "drop_authorization"nonThe action, as the review offers it.
methodenum: "GET" | "HEAD" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "*"nonHTTP method.
patternstringnonPath, e.g. /api/v1/slots/*/close.
reasonstringnonWhy this rule, in one sentence.
approve_each_callbooleannontrue: each call waits to be accepted.
readbooleannonA POST that only reads.
lockbooleannontrue: its reads limited to what was used in 30 days.
callerstringnonWho is limited (agent: , group:finance, app:boutique/web…).
windowenum: "minute" | "hour" | "day" | "month"nonThe window.
callsintegernonThe number of calls allowed per window.
remove_limitstringnonThe limit to remove (its id, list_connections { view: "limits" }).

set_connection_binding

Request or configure a federated binding

Without binding, requests (to be accepted) that a production app call a federated connection (OIDC), with a short token signed by while, without a secret; federation must be enabled there. With binding: resume: true resumes a suspended binding; approve_production_deploys, the box for its production deploys.

ParamètreTypeRequisDescription
organizationstringnonThe organization.
connectionstringouiName of the federated connection.
bindingstringnonThe id of the binding.
reasonstringnonWhy (in the log).
resumebooleannontrue: resume the binding.
approve_production_deploysbooleannontrue: its production deploys go through a request; false: they do not.
projectstringnonThe app's project.
callerstringnonA request: the app's service (web), or "task: ".

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://app.while.sh/mcp. Formats repris de la documentation de chaque client.

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

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