L'Atlas / MCP servers / while.sh

while.sh

sh.while/while

MCP server OK

Get a review See pricing

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

Technical sheet

Author
while.sh (registry namespace)
Repository
—
Site
while.sh/en
Version
2.3.0
Transport
Streamable HTTP
Authentication
None (observed by our test)
Server address
https://app.while.sh/mcp Streamable HTTP
Tools
45
Categories
AI, agents and memory
Last updated
21 Nov 2026
Published
21 Nov 2026

Badge for your README

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/sh.while/while.svg?lang=en)](https://latlas.dev/en/mcp/sh.while/while)
HTML
<a href="https://latlas.dev/en/mcp/sh.while/while"><img src="https://latlas.dev/badge/fiche/sh.while/while.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>

Our tests

Every week: initialize then tools/list, without credentials, never calling a tool. Method

Address
https://app.while.sh/mcp
Last result
OK 28 Nov 2026, 10:43
Response time
909 ms (initialize + tools/list)
Protocol version
2025-11-25
Announced name
while 2.3.0
Tools
45

History

DateResultResponseTools
28 Nov 2026, 10:43OK909 ms45

Exposed tools (45, from 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.

ParameterTypeRequiredDescription
formatenum: "text" | "detail" | "json" | "guide" | "dockerfile"notext: 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"noThe language, for format dockerfile; without it: the list.
blockstringnoThe building block (postgres, valkey…), for format detail.
trialstringnoThe 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.

ParameterTypeRequiredDescription
querystringyesThe question, in a few words.
langenum: "en" | "fr"noBy default, the user's language.
trialstringnoThe 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).

ParameterTypeRequiredDescription
projectstringnoThe project.
environmentstringnoarchive: the version's environment (production by default).
versionintegernoarchive: the version number; the live version by default.
formatenum: "auto" | "base64" | "link"noarchive: the archive's form.
archivebooleannotrue: the archive link of a deployed version.
pathstringnoA folder (empty, or ending in /): its list; a file: its content.
startintegernoA file: the first line returned (the rest of a long file, given by the response).
trialstringnoThe 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.

ParameterTypeRequiredDescription
projectstringnoThe project.
environmentstringnoProduction or a preview.
terminalbooleannotrue: the curl command even when the client presents itself as a conversation (a client with a terminal that reaches while).
trialstringnoThe 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"noTrial 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.

ParameterTypeRequiredDescription
projectstringnoThe project.
filesobjectnoPath → full content of the file (it replaces the old one); a .json as an object.
binary_filesobjectnoPath → content of a binary file (image, font) in base64.
deletearray<string>noThe files or folders to delete.
messagestringnoThe commit message, in one sentence.
branchstringnoA preview branch: production does not change.
deploybooleannotrue: also deploys it, like deploy_app (on a branch, its preview).
trialstringnoThe 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"noTrial 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.

ParameterTypeRequiredDescription
projectstringnoThe project.
environmentstringnoProduction or a preview.
plan_idstringnoReread this plan (computed earlier) instead of computing one.
intentstringnoContent of while.yaml; without it, the one in the latest commit at while (like deploy_app), otherwise the last one deployed.
from_stateintegernoGo 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_secondsintegernoLongest wait, in seconds.
trialstringnoThe 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.

ParameterTypeRequiredDescription
projectstringnoThe project.
environmentstringnoProduction or a preview.
source_archive_base64stringnoLast resort, slow: the tar.gz archive of the sources, in base64. Exclusive with image and release.
releaseintegernoThe number returned by an upload (or a version in progress): deploy_app follows its build and its deployment.
redeployintegernoA 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.
imagestringnoOCI image already built (while registry or external), ideally with its digest.
digeststringnosha256: ; without it, while resolves it: the image always goes by its digest.
intentstringnoContent of while.yaml, when deploying an image without sending sources.
confirm_overwritebooleannotrue: while.yaml overwrites what a person changed on screen.
waitbooleannofalse: returns at once (follow with deploy_app { release }).
timeout_secondsintegernoMaximum wait; beyond it, the response says how to resume.
trialstringnoThe 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"noTrial 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).

ParameterTypeRequiredDescription
projectstringnoThe project.
environmentstringnoProduction or a preview.
includearray<enum: "while_yaml" | "vulnerabilities" | "openings">noAn extra view on top of the state: while_yaml, vulnerabilities or openings.
sincestringnovulnerabilities: the window of bots seen in the traffic; openings: the window of openings, 7d without since (30m, 6h, 7d…).
probebooleannofalse: without probing (does not wake a sleeping service).
trialstringnoThe 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_linkbooleannotrue: 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.

ParameterTypeRequiredDescription
idstringnoId of a request (approval_id): its detail, even decided.
trialstringnoThe 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).

ParameterTypeRequiredDescription
viewenum: "variables" | "domains" | "links" | "backups" | "queues" | "cdn"noThe view returned.
projectstringnoThe project.
environmentstringnoProduction or a preview.
databasestringnoDatabase name; the first declared by default.
trialstringnoThe 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.

ParameterTypeRequiredDescription
projectstringnoThe project.
environmentstringnoProduction or a preview.
valuesobjectnoKey/value pairs: { "LOG_LEVEL": "debug" }
secretbooleannotrue: in the vault, never read back (default). false: plain variable, which a person reads back in while, never an agent.
filebooleannotrue: 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.
buildbooleannotrue: a build secret (build.secrets, e.g. NPM_TOKEN), read by builds only, never by the app. With delete: removes one.
deletearray<string>noNames of the variables or secrets to delete from this environment.
keystringnoA single variable: its name (with "value"), instead of "values".
valuestringnoA single variable: its value (with "key").
movestringnoA name: this secret moves to the build (build: true) or to the app, its value kept in the vault.
trialstringnoThe 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).

ParameterTypeRequiredDescription
formatenum: "short" | "detailed"noThe response format.
projectstringnoThe project.
environmentstringnoProduction or a preview.
databasestringnoName of the database (databases[].name); the first declared by default.
sqlstringyesA read statement.
limitintegernoRow cap: short 200, detailed 400 (2,000 at most); csv 10,000 (50,000).
max_bytesintegernoByte limit: short 40 KB, detailed and csv 200 KB.
timeout_secondsnumbernoQuery timeout.
trialstringnoThe 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.

ParameterTypeRequiredDescription
projectstringnoThe project.
environmentstringnoProduction or a preview.
build_idstringnoTo read a build's log rather than the application's.
querystringnoA LogsQL filter (VictoriaLogs' query language: https://docs.victoriametrics.com/victorialogs/logsql/), for example "timeout"; "error": the error lines.
limitintegernoLines returned: 100 by default, 200 with build_id; 1,000 at most.
trialstringnoThe 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).

ParameterTypeRequiredDescription
viewenum: "metrics" | "traces" | "errors" | "history" | "timeline" | "impact" | "database" | "ask" …noThe view returned.
projectstringnoThe project.
environmentstringnoProduction or a preview.
querystringnoA PromQL query (Prometheus' query language: https://prometheus.io/docs/prometheus/latest/querying/basics/); without it, traffic and errors.
rangeenum: "15m" | "1h" | "24h" | "7d"noThe window.
trace_idstringnoOne trace in detail: its id (32 hexadecimal characters).
servicestringnoThe app's OTEL_SERVICE_NAME; by default, the project's name.
operationstringnoOnly the traces of this operation (span name): "GET /orders".
since_minutesintegernoWindow, in minutes (30 days at most).
min_durationstringnoOnly the traces longer than this: "500ms", "2s".
errorsbooleannoOnly the traces with a span in error.
limitintegerno100 at most.
sincestringnoWindow: 30m, 2h, 1d, or an ISO 8601 date.
fingerprintstringnoFingerprint of a group, for its detail.
untilstringnoEnd (ISO 8601 date); now by default.
familiesarray<enum: "build" | "plan" | "deploy" | "rollback" | "incident" | "error" | "preview" | "approval" …>noKeep only these families.
versionintegernoVersion number; the active version by default.
window_minutesintegernoThe compared window, before and after the version.
databasestringnoDatabase name; the first declared by default.
questionstringnoThe question, in plain words.
urlstringnoAn address of the environment: why a PoP keeps it or not.
trialstringnoThe 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.

ParameterTypeRequiredDescription
kindenum: "bug" | "frustration" | "idea" | "other" | "integration" | "block"yesbug (while is wrong), frustration (the user's, in their words), idea, other, integration (a service to connect), block (a block to open).
messagestringyesWhat happens, what was expected; 4,000 characters at most.
projectstringnoThe project concerned.
organizationstringnoThe organization; otherwise the project's or the token's.
toolstringnoThe MCP tool concerned.
routestringnoThe API route concerned ("POST /v1/…").
referencestringnoThe identifier of an error, a call or a request.
servicestringnointegration: the service to connect (Stripe, Snowflake, Anthropic…).
usagestringnointegration, block: what the app wants to do with it.
blockstringnoblock: the block (its id in catalog).
volumestringnoblock: the expected volume (sends per day, GiB…).
authenticationenum: "api_key" | "oauth" | "oidc_federation" | "other"nointegration: how the service authenticates (API key, OAuth, OIDC federation, other).
documentationstringnointegration: the https address of its documentation.
trialstringnoThe 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).

ParameterTypeRequiredDescription
organizationstringnoThe whole organization's feedback (its admins).
trialstringnoThe 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.

ParameterTypeRequiredDescription
projectstringnoA project; without it, the list.
includearray<enum: "webhooks">nowebhooks: its webhooks.
trialstringnoThe 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.

ParameterTypeRequiredDescription
projectstringyesThe project name (lowercase letters, digits, hyphens).
namestringnoThe display name (the project name by default).
budget_eurnumbernoEuros per month (20 by default; 0, no cap, or more than €20: admins); alert at 80% then 100%.
organizationstringnoThe organization that holds it (the token's by default).
trialstringnoThe 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.

ParameterTypeRequiredDescription
organization_namestringnoThe user's organization.
project_namestringnoThe project, which makes the app's address.
trialstringnoThe 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.

ParameterTypeRequiredDescription
read_onlybooleannoGET and HEAD only.
trialstringnoThe 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.

ParameterTypeRequiredDescription
emailstringyesThe user's email address.
trialstringnoThe 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).

ParameterTypeRequiredDescription
groupenum: "alerts" | "feedback_and_docs" | "environments_and_storage" | "administer" | "connections" | "functions" | "data_relays"yesThe 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.

ParameterTypeRequiredDescription
projectstringnoThe project.
forgeenum: "github" | "gitlab"noThe repository's forge.
repostringno"owner/name" (GitHub) or "group/project" (GitLab).
tokenstringnoAccess token for the forge, stored in the vault; without it, through the while App (GitHub) or an authorized GitLab group.
base_urlstringnoAddress of a self-hosted GitLab.
unlinkbooleannotrue: 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.

ParameterTypeRequiredDescription
plan_idstringyesThe plan returned by plan_deploy.
projectstringnoThe project.
waitbooleannotrue: answers once done.
timeout_secondsintegernoLongest wait, in seconds.
discardbooleannotrue: 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.

ParameterTypeRequiredDescription
projectstringnoThe project.
environmentstringnoProduction or a preview.
tointegernoThe target version number; without it, the previous active version.
waitbooleannotrue: answers once done.
approval_idstringnoThe 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.

ParameterTypeRequiredDescription
projectstringnoThe project.
namestringnoName of the environment (otherwise, the branch).
branchstringnoThe Git branch.
fromstringnoReference environment.
copy_databasebooleannoCopy the production data (otherwise empty databases): needs data.backup on its databases.
ttl_hoursintegernoLifetime of the preview, in hours.
waitbooleannotrue: 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.

ParameterTypeRequiredDescription
projectstringnoThe project.
environmentstringnoProduction or a preview.
namestringnoThe proposed name of the link ("Dupont client demo").
daysintegernoThe proposed expiry: 1, 7 or 30 days (otherwise 7).
dev_addressstringnoThe 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.

ParameterTypeRequiredDescription
projectstringnoThe project.
environmentstringnoProduction or a preview.
databasestringnoDatabase name; the first declared by default.
test_restorebooleannoRestore it to a throwaway database, to prove it.
waitbooleannoWait 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.

ParameterTypeRequiredDescription
projectstringnoThe project.
environmentstringnoProduction or a preview.
databasestringnoDatabase name; the first declared by default.
backup_idstringnoThe backup (get_environment { view: "backups" }); the last successful one by default.
instantstringnoRestore the database to this instant (ISO 8601), 14 days at most; excludes backup_id.
approval_idstringnoThe request, accepted or approved (its id), when the action needs one.
waitbooleannotrue: answers once done.
reasonstringnoWhy 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.

ParameterTypeRequiredDescription
projectstringnoThe project.
environmentstringnoProduction or a preview.
taskstringnoName of a task, for its detailed history.
limitintegernoNumber 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.

ParameterTypeRequiredDescription
projectstringnoThe project.
environmentstringnoProduction or a preview.
taskstringyesName of the task (crons[].name).
argsarray<string>noArguments appended to the command: ["--since", "2026-10-12"].
envobjectnoExtra variables for this run only.
catch_upobjectnoPeriod to catch up: the run is counted "catch_up" and receives it as variables.
waitbooleannotrue: answers once done.
timeout_secondsintegernoLongest wait, in seconds.
approval_idstringnoThe 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.

ParameterTypeRequiredDescription
idstringyesThe 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.

ParameterTypeRequiredDescription
organizationstringnoThe organization.
projectstringnoShortcut for scope.project.
scopeobjectno{}: the organization; otherwise down to a table, a connection, or a source of a relay.
whostringnoAn 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" …noWith who: "can X on the scope?".
activitybooleannoWith 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.

ParameterTypeRequiredDescription
organizationstringnoThe organization.
rolestringnoThe role (missing.proposed_role).
permissionenum: "org.view" | "org.admin" | "access.grant" | "roles.define" | "projects.create" | "app.use" | "project.view" | "project.deploy" …noOr a permission (the smallest role that grants it).
scopeobjectno{}: the organization; otherwise down to a table, a connection, or a source of a relay.
daysintegernoDuration, in days; not used for an app (for), whose right has no expiry.
reasonstringyesWhy ("Q4 audit"), read by whoever decides.
renewstringnoOne of your assignments to extend (only days and reason count).
forstringnoFor an app that will call a connection: app: / or task: / , role connection-caller (or connection-writer), scope { connection }.
toolstringnoOr 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.

ParameterTypeRequiredDescription
organizationstringnoThe organization.
tabenum: "all" | "agents" | "security" | "approvals"noReady-made filter.
personstringnoAddress or name (partial) of the person, or "while".
viaenum: "agent" | "app" | "task" | "interface" | "browser" | "api" | "while"noWhat the action went through.
familystringnoFamilies, separated by commas: deploy, data, security, access, permissions, approval, task, alert, connection, app, observation, loop (agents' wake-ups).
projectstringnoProject name.
resourcestringnoText searched in the object ("carnet", "main.reservations"), or id or type of resource.
whostringnoAn identity, written as for explain_access (what it did).
assignmentstringnoAn assignment's history (its id): granted, revoked, expired, flagged, kept.
sincestringnoStart: 30m, 24h, 7d, a date (2026-10-18) or an ISO 8601 instant.
untilstringnoEnd, same format; a date alone counts the whole day.
limitintegernoMaximum number of items returned.
cursorstringnoThe "next" of a previous response.
verifybooleannoCheck 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.

ParameterTypeRequiredDescription
viewenum: "detail" | "limits" | "bindings"noThe view returned.
organizationstringnoThe organization.
connectionstringnoConnection name (meteo): its detail.
sincestringnoWith connection: the call log since this date (2026-10-01); 7 days by default.
untilstringnoWith connection and since: up to this date (now by default).
refusalbooleannoWith 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.

ParameterTypeRequiredDescription
organizationstringnoThe organization.
namestringyesLowercase, digits, hyphens: weather, accounting.
modelenum: "anthropic" | "openai" | "mistral" | "snowflake" | "snowflake_pat"noAn AI or Snowflake (account, user, role, warehouse): domain and recipe set automatically.
domainstringnoAPI host, no path: api.example.com.
secondary_domainsarray<string>noHosts relayed without a key (/~ /…).
authenticationobjectnoRecipe, 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>noIts writes, and its reads if reads: listed. Federated: required. A POST that reads: its pattern in read too.
readarray<string>noPatterns read with POST (a search, a GraphQL query): /api/v1/searches.
readsenum: "all" | "listed"noall, except refused_paths; listed: those in rules.
refused_pathsarray<object>noRefused before any rule: /admin/**.
rate_per_minuteintegernoCalls allowed per minute.
ownerstringnoEmail of the owner; by default, the signed-in user.
labelstringnoThe displayed name ("Pennylane").
projectstringnoThe project of the calling apps; by default, the token's.
appsarray<string>noCalling services and tasks (web, task:charger); by default, those of the while.yaml that declare it.
directionenum: "read" | "write"noThe apps will also write (POST, PUT, PATCH, DELETE).
updatebooleannoAn 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.

ParameterTypeRequiredDescription
organizationstringnoThe organization.
connectionstringyesConnection name (list_connections).
pathstringyesPath at the provider, with its query string: /api/v1/slots?site=origines.
bodynoOnly 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.

ParameterTypeRequiredDescription
viewenum: "detail" | "existing" | "sources" | "map" | "rules" | "branding" | "private_network" | "private_networks" …noThe view returned.
organizationstringnoThe organization.
sourcestringnoview sources: one card, “type:name” (database:crm/main).
destinationstringnonetwork/destination.
minutesintegerno60 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.

ParameterTypeRequiredDescription
organizationstringnoThe organization.
emailstringyesThe person's address.
roleenum: "owner" | "admin" | "developer" | "reader" | "access" | "external"noOn 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).
projectstringnoThe app where the role is given; without it: the whole organization.
reasonstringnoThe reason for the assignment (in the log); "member of the organization" by default.
resendbooleannotrue: 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.

ParameterTypeRequiredDescription
organizationstringnoThe organization.
whostringyesAn address, group: , service_account: , app: / or task: / .
rolestringyesA 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" }).
scopeobjectyes{}: the organization; otherwise down to a table, a connection, or a source of a relay.
untilstringnoEnd date (included): 2026-11-30.
daysintegernoDuration, in days.
reasonstringyesWhy ("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.

ParameterTypeRequiredDescription
organizationstringnoThe organization.
assignmentstringyesThe assignment's id.
reasonstringyesWhy (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.

ParameterTypeRequiredDescription
scopeenum: "project" | "organization"noA project, or the organization.
projectstringnoThe project.
organizationstringnoFor an organization token: its name; optional with an organization token.
namestringnoWhat it is for ("GitLab CI").
permissionsarray<string>nodeploy and read by default.
environmentsarray<string>noWhere it can act (production, previews, or names); without a list, everywhere.
daysintegernoLifetime 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.

ParameterTypeRequiredDescription
organizationstringnoThe organization.
connectionstringnoConnection name (list_connections).
changeenum: "refuse" | "remove" | "limit_reads" | "all_reads" | "restore" | "allow" | "forward_authorization" | "drop_authorization"noThe action, as the review offers it.
methodenum: "GET" | "HEAD" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "*"noHTTP method.
patternstringnoPath, e.g. /api/v1/slots/*/close.
reasonstringnoWhy this rule, in one sentence.
approve_each_callbooleannotrue: each call waits to be accepted.
readbooleannoA POST that only reads.
lockbooleannotrue: its reads limited to what was used in 30 days.
callerstringnoWho is limited (agent: , group:finance, app:boutique/web…).
windowenum: "minute" | "hour" | "day" | "month"noThe window.
callsintegernoThe number of calls allowed per window.
remove_limitstringnoThe 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.

ParameterTypeRequiredDescription
organizationstringnoThe organization.
connectionstringyesName of the federated connection.
bindingstringnoThe id of the binding.
reasonstringnoWhy (in the log).
resumebooleannotrue: resume the binding.
approve_production_deploysbooleannotrue: its production deploys go through a request; false: they do not.
projectstringnoThe app's project.
callerstringnoA request: the app's service (web), or "task: ".

Client compatibility

Based on the transports each client documents as supported; this is not a live test inside the client.

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

Ready-to-copy configs

Remote address used: https://app.while.sh/mcp. Formats taken from each client’s documentation.

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 · retrieved 29 Nov 2026. L’Atlas adds no data beyond this source and its own tests.