# While MCP server

Source: https://glimind.com/server/mcp-registry%2Fsh.while%2Fwhile
Registry id: `mcp-registry/sh.while/while`
Status: live (checked 2026-11-22T14:54:45.025Z)

## Measurements (30 days)

- Uptime: 99.84%
- Checks: 683
- Outages (90 days): 6

## Install

```json
{
  "mcpServers": {
    "while-mcp-server": {
      "type": "http",
      "url": "https://app.while.sh/mcp"
    }
  }
}
```

Claude Code:

```sh
claude mcp add --transport http while-mcp-server https://app.while.sh/mcp
```

## Tools (45)

- `acknowledge_announcement`: Records that an announcement from the while team has been read.
- `apply_plan`: Applies a plan computed by plan_deploy (what it changes goes live); discard: true drops it without applying anything.
- `backup_database`: Starts a backup of a database declared in while.yaml, and a test restore on a throwaway database that proves it.
- `call_connection`: Calls the HTTP API of a third party that the organization declared as a connection (its name and domain: list_connections), on its base address, within its rule
- `create_preview`: A preview environment for a branch, with its own address.
- `create_project`: Creates a project in an organization, with its monthly budget (€20 by default); deploy_app then deploys an app to it.
- `create_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 c
- `declare_connection`: Declares an external API (domain, authentication without a secret, callers), to be approved; a person enters the secret in while.
- `deploy_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 re
- `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 di
- `get_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.
- `get_app_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 vuln
- `get_catalog`: What while can run, block by block: what it does, its cost, the while.yaml line that declares it.
- `get_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
- `get_logs`: An environment's logs (or a build's: build_id), most recent first, filterable by a text.
- `get_organization`: Without organization, your organizations; otherwise, view detail (members, groups, approvers), existing (what exists for the person, to_say), map (projects, dat
- `get_project`: Without project, the projects the identity sees; project, one project and its environments; include: ["webhooks"], its webhooks.
- `grant_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. Access for 
- `invite_member`: Invites a person with a role on an app (project; otherwise the whole organization); for an internal app, role access and project, in one confirmation. An addres
- `keep_trial`: 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
- `link_git_repo`: Keeps the code on GitHub or GitLab: a push to the default branch deploys production, a pull or merge request opens a preview; unlink removes the link.
- `list_approvals`: The approvals a person still has to grant in while (a production deployment, a restore…), and their state; id: a single one.
- `list_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 c
- `list_feedback`: The feedback sent to the while team and its replies; organization: the organization's feedback (its admins).
- `list_tasks`: An environment's scheduled jobs, their schedule, their last runs and the next one.
- `load_tools`: Ajoute un groupe d'outils à cet agent : alerts (alertes, incidents, canaux), feedback_and_docs (remarques de page, retours, doc), environments_and_storage (doma
- `observe_app`: What is happening in production, by view: metrics, traces, errors (grouped), history (versions and events), timeline, impact (a version's effect), database (fre
- `open_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.
- `plan_deploy`: What a deployment would change, block by block, and what each block costs per month; the plan is kept for apply_plan.
- `query_database`: 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
- `read_source`: The project's code at while, without changing anything: a folder (empty path or ending in /) gives its file list; a file, its content, in pages of 60,000 charac
- `request_access`: Requests a permission for the person (or their agent): whoever can grant it decides in while.
- `request_access_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 w
- `restore_backup`: Restores a database from a backup (the last successful one by default) or to a point in time; its current data is replaced, with an approval in production.
- `revoke_role`: Removes an assignment at once; the last owner stays.
- `rollback_app`: Puts a previous version of an environment back online (the previous one by default, or to); the live version is replaced.
- `run_task`: 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.
- `search_docs`: The passages of while's documentation that answer a question, with their address.
- `send_feedback`: 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. wh
- `set_connection_binding`: Without binding, requests (pending approval) that a production app call a federated connection (OIDC), with a short token signed by while, without a secret; fed
- `set_env`: Sets or removes an environment's variables and secrets (in the vault by default, never read back); they apply at the next deployment. get_environment { view: "v
- `sign_up`: 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 l
- `update_connection`: One setting per call: method and pattern request a rule; lock: true ends the learning, the rules drawn from the observed calls apply, the rest is refused (both 
- `upload_source`: 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
- `write_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, witho

Measured by Glimind (https://glimind.com): MCP handshake + tool list only, no tool is ever called. CC BY 4.0.
