while.sh
sh.while/while
MCP server OK
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
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/sh.while/while)<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
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 10:43 | OK | 909 ms | 45 |
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| format | enum: "text" | "detail" | "json" | "guide" | "dockerfile" | no | text: the contract and the blocks; detail: one block (block); guide: designing an app; dockerfile: a typical Dockerfile (language); json: the summary. |
| language | enum: "rails" | "laravel" | "rust" | "java-maven" | "java-gradle" | "dotnet" | "hugo" | no | The language, for format dockerfile; without it: the list. |
| block | string | no | The building block (postgres, valkey…), for format detail. |
| trial | string | no | The 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| query | string | yes | The question, in a few words. |
| lang | enum: "en" | "fr" | no | By default, the user's language. |
| trial | string | no | The 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).
| Parameter | Type | Required | Description |
|---|---|---|---|
| project | string | no | The project. |
| environment | string | no | archive: the version's environment (production by default). |
| version | integer | no | archive: the version number; the live version by default. |
| format | enum: "auto" | "base64" | "link" | no | archive: the archive's form. |
| archive | boolean | no | true: the archive link of a deployed version. |
| path | string | no | A folder (empty, or ending in /): its list; a file: its content. |
| start | integer | no | A file: the first line returned (the rest of a long file, given by the response). |
| trial | string | no | The 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| project | string | no | The project. |
| environment | string | no | Production or a preview. |
| terminal | boolean | no | true: the curl command even when the client presents itself as a conversation (a client with a terminal that reaches while). |
| trial | string | no | The key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call. |
| language | enum: "en" | "fr" | no | Trial 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| project | string | no | The project. |
| files | object | no | Path → full content of the file (it replaces the old one); a .json as an object. |
| binary_files | object | no | Path → content of a binary file (image, font) in base64. |
| delete | array<string> | no | The files or folders to delete. |
| message | string | no | The commit message, in one sentence. |
| branch | string | no | A preview branch: production does not change. |
| deploy | boolean | no | true: also deploys it, like deploy_app (on a branch, its preview). |
| trial | string | no | The key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call. |
| language | enum: "en" | "fr" | no | Trial 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| project | string | no | The project. |
| environment | string | no | Production or a preview. |
| plan_id | string | no | Reread this plan (computed earlier) instead of computing one. |
| intent | string | no | Content of while.yaml; without it, the one in the latest commit at while (like deploy_app), otherwise the last one deployed. |
| from_state | integer | no | Go 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_seconds | integer | no | Longest wait, in seconds. |
| trial | string | no | The 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| project | string | no | The project. |
| environment | string | no | Production or a preview. |
| source_archive_base64 | string | no | Last resort, slow: the tar.gz archive of the sources, in base64. Exclusive with image and release. |
| release | integer | no | The number returned by an upload (or a version in progress): deploy_app follows its build and its deployment. |
| redeploy | integer | no | A 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. |
| image | string | no | OCI image already built (while registry or external), ideally with its digest. |
| digest | string | no | sha256: ; without it, while resolves it: the image always goes by its digest. |
| intent | string | no | Content of while.yaml, when deploying an image without sending sources. |
| confirm_overwrite | boolean | no | true: while.yaml overwrites what a person changed on screen. |
| wait | boolean | no | false: returns at once (follow with deploy_app { release }). |
| timeout_seconds | integer | no | Maximum wait; beyond it, the response says how to resume. |
| trial | string | no | The key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call. |
| language | enum: "en" | "fr" | no | Trial 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).
| Parameter | Type | Required | Description |
|---|---|---|---|
| project | string | no | The project. |
| environment | string | no | Production or a preview. |
| include | array<enum: "while_yaml" | "vulnerabilities" | "openings"> | no | An extra view on top of the state: while_yaml, vulnerabilities or openings. |
| since | string | no | vulnerabilities: the window of bots seen in the traffic; openings: the window of openings, 7d without since (30m, 6h, 7d…). |
| probe | boolean | no | false: without probing (does not wake a sleeping service). |
| trial | string | no | The 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_link | boolean | no | true: 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | no | Id of a request (approval_id): its detail, even decided. |
| trial | string | no | The 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).
| Parameter | Type | Required | Description |
|---|---|---|---|
| view | enum: "variables" | "domains" | "links" | "backups" | "queues" | "cdn" | no | The view returned. |
| project | string | no | The project. |
| environment | string | no | Production or a preview. |
| database | string | no | Database name; the first declared by default. |
| trial | string | no | The 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| project | string | no | The project. |
| environment | string | no | Production or a preview. |
| values | object | no | Key/value pairs: { "LOG_LEVEL": "debug" } |
| secret | boolean | no | true: in the vault, never read back (default). false: plain variable, which a person reads back in while, never an agent. |
| file | boolean | no | true: 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. |
| build | boolean | no | true: a build secret (build.secrets, e.g. NPM_TOKEN), read by builds only, never by the app. With delete: removes one. |
| delete | array<string> | no | Names of the variables or secrets to delete from this environment. |
| key | string | no | A single variable: its name (with "value"), instead of "values". |
| value | string | no | A single variable: its value (with "key"). |
| move | string | no | A name: this secret moves to the build (build: true) or to the app, its value kept in the vault. |
| trial | string | no | The 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).
| Parameter | Type | Required | Description |
|---|---|---|---|
| format | enum: "short" | "detailed" | no | The response format. |
| project | string | no | The project. |
| environment | string | no | Production or a preview. |
| database | string | no | Name of the database (databases[].name); the first declared by default. |
| sql | string | yes | A read statement. |
| limit | integer | no | Row cap: short 200, detailed 400 (2,000 at most); csv 10,000 (50,000). |
| max_bytes | integer | no | Byte limit: short 40 KB, detailed and csv 200 KB. |
| timeout_seconds | number | no | Query timeout. |
| trial | string | no | The 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| project | string | no | The project. |
| environment | string | no | Production or a preview. |
| build_id | string | no | To read a build's log rather than the application's. |
| query | string | no | A LogsQL filter (VictoriaLogs' query language: https://docs.victoriametrics.com/victorialogs/logsql/), for example "timeout"; "error": the error lines. |
| limit | integer | no | Lines returned: 100 by default, 200 with build_id; 1,000 at most. |
| trial | string | no | The 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).
| Parameter | Type | Required | Description |
|---|---|---|---|
| view | enum: "metrics" | "traces" | "errors" | "history" | "timeline" | "impact" | "database" | "ask" … | no | The view returned. |
| project | string | no | The project. |
| environment | string | no | Production or a preview. |
| query | string | no | A PromQL query (Prometheus' query language: https://prometheus.io/docs/prometheus/latest/querying/basics/); without it, traffic and errors. |
| range | enum: "15m" | "1h" | "24h" | "7d" | no | The window. |
| trace_id | string | no | One trace in detail: its id (32 hexadecimal characters). |
| service | string | no | The app's OTEL_SERVICE_NAME; by default, the project's name. |
| operation | string | no | Only the traces of this operation (span name): "GET /orders". |
| since_minutes | integer | no | Window, in minutes (30 days at most). |
| min_duration | string | no | Only the traces longer than this: "500ms", "2s". |
| errors | boolean | no | Only the traces with a span in error. |
| limit | integer | no | 100 at most. |
| since | string | no | Window: 30m, 2h, 1d, or an ISO 8601 date. |
| fingerprint | string | no | Fingerprint of a group, for its detail. |
| until | string | no | End (ISO 8601 date); now by default. |
| families | array<enum: "build" | "plan" | "deploy" | "rollback" | "incident" | "error" | "preview" | "approval" …> | no | Keep only these families. |
| version | integer | no | Version number; the active version by default. |
| window_minutes | integer | no | The compared window, before and after the version. |
| database | string | no | Database name; the first declared by default. |
| question | string | no | The question, in plain words. |
| url | string | no | An address of the environment: why a PoP keeps it or not. |
| trial | string | no | The 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| kind | enum: "bug" | "frustration" | "idea" | "other" | "integration" | "block" | yes | bug (while is wrong), frustration (the user's, in their words), idea, other, integration (a service to connect), block (a block to open). |
| message | string | yes | What happens, what was expected; 4,000 characters at most. |
| project | string | no | The project concerned. |
| organization | string | no | The organization; otherwise the project's or the token's. |
| tool | string | no | The MCP tool concerned. |
| route | string | no | The API route concerned ("POST /v1/…"). |
| reference | string | no | The identifier of an error, a call or a request. |
| service | string | no | integration: the service to connect (Stripe, Snowflake, Anthropic…). |
| usage | string | no | integration, block: what the app wants to do with it. |
| block | string | no | block: the block (its id in catalog). |
| volume | string | no | block: the expected volume (sends per day, GiB…). |
| authentication | enum: "api_key" | "oauth" | "oidc_federation" | "other" | no | integration: how the service authenticates (API key, OAuth, OIDC federation, other). |
| documentation | string | no | integration: the https address of its documentation. |
| trial | string | no | The 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).
| Parameter | Type | Required | Description |
|---|---|---|---|
| organization | string | no | The whole organization's feedback (its admins). |
| trial | string | no | The 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| project | string | no | A project; without it, the list. |
| include | array<enum: "webhooks"> | no | webhooks: its webhooks. |
| trial | string | no | The 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| project | string | yes | The project name (lowercase letters, digits, hyphens). |
| name | string | no | The display name (the project name by default). |
| budget_eur | number | no | Euros per month (20 by default; 0, no cap, or more than €20: admins); alert at 80% then 100%. |
| organization | string | no | The organization that holds it (the token's by default). |
| trial | string | no | The 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| organization_name | string | no | The user's organization. |
| project_name | string | no | The project, which makes the app's address. |
| trial | string | no | The 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| read_only | boolean | no | GET and HEAD only. |
| trial | string | no | The 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| string | yes | The user's email address. | |
| trial | string | no | The 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).
| Parameter | Type | Required | Description |
|---|---|---|---|
| group | enum: "alerts" | "feedback_and_docs" | "environments_and_storage" | "administer" | "connections" | "functions" | "data_relays" | yes | The 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| project | string | no | The project. |
| forge | enum: "github" | "gitlab" | no | The repository's forge. |
| repo | string | no | "owner/name" (GitHub) or "group/project" (GitLab). |
| token | string | no | Access token for the forge, stored in the vault; without it, through the while App (GitHub) or an authorized GitLab group. |
| base_url | string | no | Address of a self-hosted GitLab. |
| unlink | boolean | no | true: 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| plan_id | string | yes | The plan returned by plan_deploy. |
| project | string | no | The project. |
| wait | boolean | no | true: answers once done. |
| timeout_seconds | integer | no | Longest wait, in seconds. |
| discard | boolean | no | true: 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| project | string | no | The project. |
| environment | string | no | Production or a preview. |
| to | integer | no | The target version number; without it, the previous active version. |
| wait | boolean | no | true: answers once done. |
| approval_id | string | no | The 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| project | string | no | The project. |
| name | string | no | Name of the environment (otherwise, the branch). |
| branch | string | no | The Git branch. |
| from | string | no | Reference environment. |
| copy_database | boolean | no | Copy the production data (otherwise empty databases): needs data.backup on its databases. |
| ttl_hours | integer | no | Lifetime of the preview, in hours. |
| wait | boolean | no | true: 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| project | string | no | The project. |
| environment | string | no | Production or a preview. |
| name | string | no | The proposed name of the link ("Dupont client demo"). |
| days | integer | no | The proposed expiry: 1, 7 or 30 days (otherwise 7). |
| dev_address | string | no | The 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| project | string | no | The project. |
| environment | string | no | Production or a preview. |
| database | string | no | Database name; the first declared by default. |
| test_restore | boolean | no | Restore it to a throwaway database, to prove it. |
| wait | boolean | no | Wait 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| project | string | no | The project. |
| environment | string | no | Production or a preview. |
| database | string | no | Database name; the first declared by default. |
| backup_id | string | no | The backup (get_environment { view: "backups" }); the last successful one by default. |
| instant | string | no | Restore the database to this instant (ISO 8601), 14 days at most; excludes backup_id. |
| approval_id | string | no | The request, accepted or approved (its id), when the action needs one. |
| wait | boolean | no | true: answers once done. |
| reason | string | no | Why 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| project | string | no | The project. |
| environment | string | no | Production or a preview. |
| task | string | no | Name of a task, for its detailed history. |
| limit | integer | no | Number 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| project | string | no | The project. |
| environment | string | no | Production or a preview. |
| task | string | yes | Name of the task (crons[].name). |
| args | array<string> | no | Arguments appended to the command: ["--since", "2026-10-12"]. |
| env | object | no | Extra variables for this run only. |
| catch_up | object | no | Period to catch up: the run is counted "catch_up" and receives it as variables. |
| wait | boolean | no | true: answers once done. |
| timeout_seconds | integer | no | Longest wait, in seconds. |
| approval_id | string | no | The 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | The 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| organization | string | no | The organization. |
| project | string | no | Shortcut for scope.project. |
| scope | object | no | {}: the organization; otherwise down to a table, a connection, or a source of a relay. |
| who | string | no | An address, group: , service_account: , app: / , task: / , or token: . |
| permission | enum: "org.view" | "org.admin" | "access.grant" | "roles.define" | "projects.create" | "app.use" | "project.view" | "project.deploy" … | no | With who: "can X on the scope?". |
| activity | boolean | no | With 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| organization | string | no | The organization. |
| role | string | no | The role (missing.proposed_role). |
| permission | enum: "org.view" | "org.admin" | "access.grant" | "roles.define" | "projects.create" | "app.use" | "project.view" | "project.deploy" … | no | Or a permission (the smallest role that grants it). |
| scope | object | no | {}: the organization; otherwise down to a table, a connection, or a source of a relay. |
| days | integer | no | Duration, in days; not used for an app (for), whose right has no expiry. |
| reason | string | yes | Why ("Q4 audit"), read by whoever decides. |
| renew | string | no | One of your assignments to extend (only days and reason count). |
| for | string | no | For an app that will call a connection: app: / or task: / , role connection-caller (or connection-writer), scope { connection }. |
| tool | string | no | Or 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| organization | string | no | The organization. |
| tab | enum: "all" | "agents" | "security" | "approvals" | no | Ready-made filter. |
| person | string | no | Address or name (partial) of the person, or "while". |
| via | enum: "agent" | "app" | "task" | "interface" | "browser" | "api" | "while" | no | What the action went through. |
| family | string | no | Families, separated by commas: deploy, data, security, access, permissions, approval, task, alert, connection, app, observation, loop (agents' wake-ups). |
| project | string | no | Project name. |
| resource | string | no | Text searched in the object ("carnet", "main.reservations"), or id or type of resource. |
| who | string | no | An identity, written as for explain_access (what it did). |
| assignment | string | no | An assignment's history (its id): granted, revoked, expired, flagged, kept. |
| since | string | no | Start: 30m, 24h, 7d, a date (2026-10-18) or an ISO 8601 instant. |
| until | string | no | End, same format; a date alone counts the whole day. |
| limit | integer | no | Maximum number of items returned. |
| cursor | string | no | The "next" of a previous response. |
| verify | boolean | no | Check 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| view | enum: "detail" | "limits" | "bindings" | no | The view returned. |
| organization | string | no | The organization. |
| connection | string | no | Connection name (meteo): its detail. |
| since | string | no | With connection: the call log since this date (2026-10-01); 7 days by default. |
| until | string | no | With connection and since: up to this date (now by default). |
| refusal | boolean | no | With 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| organization | string | no | The organization. |
| name | string | yes | Lowercase, digits, hyphens: weather, accounting. |
| model | enum: "anthropic" | "openai" | "mistral" | "snowflake" | "snowflake_pat" | no | An AI or Snowflake (account, user, role, warehouse): domain and recipe set automatically. |
| domain | string | no | API host, no path: api.example.com. |
| secondary_domains | array<string> | no | Hosts relayed without a key (/~ /…). |
| authentication | object | no | Recipe, 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},… |
| rules | array<object> | no | Its writes, and its reads if reads: listed. Federated: required. A POST that reads: its pattern in read too. |
| read | array<string> | no | Patterns read with POST (a search, a GraphQL query): /api/v1/searches. |
| reads | enum: "all" | "listed" | no | all, except refused_paths; listed: those in rules. |
| refused_paths | array<object> | no | Refused before any rule: /admin/**. |
| rate_per_minute | integer | no | Calls allowed per minute. |
| owner | string | no | Email of the owner; by default, the signed-in user. |
| label | string | no | The displayed name ("Pennylane"). |
| project | string | no | The project of the calling apps; by default, the token's. |
| apps | array<string> | no | Calling services and tasks (web, task:charger); by default, those of the while.yaml that declare it. |
| direction | enum: "read" | "write" | no | The apps will also write (POST, PUT, PATCH, DELETE). |
| update | boolean | no | An 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| organization | string | no | The organization. |
| connection | string | yes | Connection name (list_connections). |
| path | string | yes | Path at the provider, with its query string: /api/v1/slots?site=origines. |
| body | no | Only 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| view | enum: "detail" | "existing" | "sources" | "map" | "rules" | "branding" | "private_network" | "private_networks" … | no | The view returned. |
| organization | string | no | The organization. |
| source | string | no | view sources: one card, “type:name” (database:crm/main). |
| destination | string | no | network/destination. |
| minutes | integer | no | 60 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| organization | string | no | The organization. |
| string | yes | The person's address. | |
| role | enum: "owner" | "admin" | "developer" | "reader" | "access" | "external" | no | On 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). |
| project | string | no | The app where the role is given; without it: the whole organization. |
| reason | string | no | The reason for the assignment (in the log); "member of the organization" by default. |
| resend | boolean | no | true: 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| organization | string | no | The organization. |
| who | string | yes | An address, group: , service_account: , app: / or task: / . |
| role | string | yes | A 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" }). |
| scope | object | yes | {}: the organization; otherwise down to a table, a connection, or a source of a relay. |
| until | string | no | End date (included): 2026-11-30. |
| days | integer | no | Duration, in days. |
| reason | string | yes | Why ("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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| organization | string | no | The organization. |
| assignment | string | yes | The assignment's id. |
| reason | string | yes | Why (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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| scope | enum: "project" | "organization" | no | A project, or the organization. |
| project | string | no | The project. |
| organization | string | no | For an organization token: its name; optional with an organization token. |
| name | string | no | What it is for ("GitLab CI"). |
| permissions | array<string> | no | deploy and read by default. |
| environments | array<string> | no | Where it can act (production, previews, or names); without a list, everywhere. |
| days | integer | no | Lifetime 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| organization | string | no | The organization. |
| connection | string | no | Connection name (list_connections). |
| change | enum: "refuse" | "remove" | "limit_reads" | "all_reads" | "restore" | "allow" | "forward_authorization" | "drop_authorization" | no | The action, as the review offers it. |
| method | enum: "GET" | "HEAD" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "*" | no | HTTP method. |
| pattern | string | no | Path, e.g. /api/v1/slots/*/close. |
| reason | string | no | Why this rule, in one sentence. |
| approve_each_call | boolean | no | true: each call waits to be accepted. |
| read | boolean | no | A POST that only reads. |
| lock | boolean | no | true: its reads limited to what was used in 30 days. |
| caller | string | no | Who is limited (agent: , group:finance, app:boutique/web…). |
| window | enum: "minute" | "hour" | "day" | "month" | no | The window. |
| calls | integer | no | The number of calls allowed per window. |
| remove_limit | string | no | The 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| organization | string | no | The organization. |
| connection | string | yes | Name of the federated connection. |
| binding | string | no | The id of the binding. |
| reason | string | no | Why (in the log). |
| resume | boolean | no | true: resume the binding. |
| approve_production_deploys | boolean | no | true: its production deploys go through a request; false: they do not. |
| project | string | no | The app's project. |
| caller | string | no | A 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.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://app.while.sh/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http while https://app.while.sh/mcpCustomize > Connectors > + Add > Add custom connector ; Name : while ; URL : https://app.while.sh/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : while ; Server URL : https://app.while.sh/mcp ; Create as a plugin{
"mcpServers": {
"while": {
"url": "https://app.while.sh/mcp"
}
}
}{
"mcpServers": {
"while": {
"type": "http",
"url": "https://app.while.sh/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"while": {
"url": "https://app.while.sh/mcp"
}
}
}{
"mcpServers": {
"while": {
"httpUrl": "https://app.while.sh/mcp"
}
}
}[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.