while MCP
A French PaaS MCP server that allows AI agents to deploy applications, PostgreSQL databases, caches, S3 storage, and scheduled jobs. It provides an HTTP endpoint for agents to manage cloud resources directly.
Endpoint and access
Optional OAuth sign-in: the endpoint lists tools without signing in. Account tools can prompt OAuth in your client; other task prerequisites may also apply.
https://app.while.sh/mcpWhat its tools do
45 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Read-only (17)
Can change data (28)
upload_sourcewrite_filesplan_deploydeploy_appset_envsend_feedbackcreate_projectkeep_trialopen_trial_appsign_upload_toolslink_git_repoapply_planrollback_appcreate_previewrequest_access_linkbackup_databaserestore_backuprun_taskacknowledge_announcementrequest_accessdeclare_connectioninvite_membergrant_rolerevoke_rolecreate_tokenupdate_connectionset_connection_binding
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Passed Official MCP Registry namespace is tied to while.sh ·
- Passed Endpoint is on the registry namespace domain ·
- Uptime 100% over 90 days
- Availability 3 of 3 checks passed in 30 days
What you can do with it
- Deploy applications made by AI agents
- Manage PostgreSQL databases
- Configure caches and S3 storage
- Schedule and run jobs
Source and maintenance
Protocol and capabilities
- Server
- while 2.3.0
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 45 advertised
- Resources
- Not advertised
- Resource templates
- Not advertised
- Prompts
- Not advertised
{
"tools": {}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
45 advertised
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.
{
"type": "object",
"properties": {
"block": {
"type": "string",
"description": "format detail: a single building block, by its id (postgres, valkey…)."
},
"trial": {
"type": "string",
"description": "The key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call."
},
"format": {
"enum": [
"text",
"detail",
"json",
"guide",
"dockerfile"
],
"type": "string",
"default": "text",
"description": "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"
],
"type": "string",
"description": "format dockerfile: the typical Dockerfile for this language; without it: the list."
}
},
"additionalProperties": false
}{
"title": "Read while's catalog",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}search_docs — Search while's docs
The passages of while's documentation that answer a question, with their address.
{
"type": "object",
"required": [
"query"
],
"properties": {
"lang": {
"enum": [
"en",
"fr"
],
"type": "string",
"description": "By default, the user's language."
},
"query": {
"type": "string",
"description": "The question, in a few words."
},
"trial": {
"type": "string",
"description": "The key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call."
}
},
"additionalProperties": false
}{
"title": "Search while's docs",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}read_source — Read the project's code
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 characters; archive: true, the archive link of a deployed version.
{
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "A folder (empty, or ending in /): its list; a file: its content."
},
"start": {
"type": "integer",
"minimum": 1,
"description": "A file: the first line returned (the rest of a long file, given by the response)."
},
"trial": {
"type": "string",
"description": "The key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call."
},
"format": {
"enum": [
"auto",
"base64",
"link"
],
"type": "string",
"default": "auto",
"description": "archive: the archive's form."
},
"archive": {
"type": "boolean",
"description": "true: the archive link of a deployed version."
},
"project": {
"type": "string",
"description": "The project."
},
"version": {
"type": "integer",
"minimum": 1,
"description": "archive: the version number; the live version by default."
},
"environment": {
"type": "string",
"default": "production",
"description": "archive: the version's environment (production by default)."
}
},
"additionalProperties": false
}{
"title": "Read the project's code",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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.
{
"type": "object",
"properties": {
"trial": {
"type": "string",
"description": "The key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call."
},
"project": {
"type": "string",
"description": "The project."
},
"language": {
"enum": [
"en",
"fr"
],
"type": "string",
"description": "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."
},
"terminal": {
"type": "boolean",
"description": "true: the curl command even when the client presents itself as a conversation (a client with a terminal that reaches while)."
},
"environment": {
"type": "string",
"default": "production",
"description": "Production or a preview."
}
},
"additionalProperties": false
}{
"title": "Send code from a terminal",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}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, those in delete are removed; deploy_app then deploys this commit. 2 MiB and 200 files per call.
{
"type": "object",
"required": [
"files"
],
"properties": {
"files": {
"type": "object",
"description": "Path → full text content of the file (it replaces the old one).",
"additionalProperties": {
"type": "string"
}
},
"trial": {
"type": "string",
"description": "The key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call."
},
"delete": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 200,
"description": "The files or folders to delete."
},
"message": {
"type": "string",
"description": "The commit message, in one sentence."
},
"project": {
"type": "string",
"description": "The project."
},
"language": {
"enum": [
"en",
"fr"
],
"type": "string",
"description": "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."
}
},
"additionalProperties": false
}{
"title": "Write project files",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}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.
{
"type": "object",
"properties": {
"trial": {
"type": "string",
"description": "The key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call."
},
"intent": {
"type": "string",
"description": "Content of while.yaml; without it, the one in the latest commit at while (like deploy_app), otherwise the last one deployed."
},
"plan_id": {
"type": "string",
"description": "Reread this plan (computed earlier) instead of computing one."
},
"project": {
"type": "string",
"description": "The project."
},
"from_state": {
"type": "integer",
"description": "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."
},
"environment": {
"type": "string",
"default": "production",
"description": "Production or a preview."
},
"timeout_seconds": {
"type": "integer",
"default": 120,
"description": "Longest wait, in seconds."
}
},
"additionalProperties": false
}{
"title": "Plan a deployment",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}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 to an environment, in place of the previous version; the response gives the version, its address, its build and what changed.
{
"type": "object",
"properties": {
"wait": {
"type": "boolean",
"default": true,
"description": "false: returns at once (follow with deploy_app { release })."
},
"image": {
"type": "string",
"description": "OCI image already built (while registry or external), ideally with its digest."
},
"trial": {
"type": "string",
"description": "The key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call."
},
"digest": {
"type": "string",
"description": "sha256:<64 hex>; without it, while resolves it: the image always goes by its digest."
},
"intent": {
"type": "string",
"description": "Content of while.yaml, when deploying an image without sending sources."
},
"project": {
"type": "string",
"description": "The project."
},
"release": {
"type": "integer",
"description": "The number returned by an upload (or a version in progress): deploy_app follows its build and its deployment."
},
"language": {
"enum": [
"en",
"fr"
],
"type": "string",
"description": "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."
},
"redeploy": {
"type": "integer",
"description": "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."
},
"environment": {
"type": "string",
"default": "production",
"description": "Production or a preview."
},
"timeout_seconds": {
"type": "integer",
"default": 300,
"maximum": 1800,
"description": "Maximum wait; beyond it, the response says how to resume."
},
"confirm_overwrite": {
"type": "boolean",
"description": "true: while.yaml overwrites what a person changed on screen."
},
"source_archive_base64": {
"type": "string",
"description": "Last resort, slow: the tar.gz archive of the sources, in base64. Exclusive with image and release."
}
},
"additionalProperties": false
}{
"title": "Deploy an app",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}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).
{
"type": "object",
"properties": {
"probe": {
"type": "boolean",
"default": true,
"description": "false: without probing (does not wake a sleeping service)."
},
"since": {
"type": "string",
"default": "24h",
"description": "vulnerabilities: the window of bots seen in the traffic; openings: the window of openings, 7d without since (30m, 6h, 7d…)."
},
"trial": {
"type": "string",
"description": "The key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call."
},
"include": {
"type": "array",
"items": {
"enum": [
"while_yaml",
"vulnerabilities",
"openings"
],
"type": "string"
},
"maxItems": 1,
"description": "An extra view on top of the state: while_yaml, vulnerabilities or openings."
},
"project": {
"type": "string",
"description": "The project."
},
"environment": {
"type": "string",
"default": "production",
"description": "Production or a preview."
},
"renew_keep_link": {
"type": "boolean",
"description": "true: a new claim link, and the one given before stops working. Without this parameter, the link that is still valid."
}
},
"additionalProperties": false
}{
"title": "Read an app's status",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}list_approvals — Read pending approvals
The approvals a person still has to grant in while (a production deployment, a restore…), and their state; id: a single one.
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Id of a request (approval_id): its detail, even decided."
},
"trial": {
"type": "string",
"description": "The key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call."
}
},
"additionalProperties": false
}{
"title": "Read pending approvals",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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).
{
"type": "object",
"properties": {
"view": {
"enum": [
"variables",
"domains",
"links",
"backups",
"queues",
"cdn"
],
"type": "string",
"default": "variables",
"description": "The view returned."
},
"trial": {
"type": "string",
"description": "The key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call."
},
"project": {
"type": "string",
"description": "The project."
},
"database": {
"type": "string",
"description": "Database name; the first declared by default."
},
"environment": {
"type": "string",
"default": "production",
"description": "Production or a preview."
}
},
"additionalProperties": false
}{
"title": "Read an environment",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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. get_environment { view: "variables" } reads their names.
{
"type": "object",
"properties": {
"key": {
"type": "string",
"description": "A single variable: its name (with \"value\"), instead of \"values\"."
},
"file": {
"type": "boolean",
"default": false,
"description": "true: a secret delivered as a file, never as a variable: the app reads it in /run/secrets/<NAME>. Required for a secret in the production of a project linked to a federated connection."
},
"move": {
"type": "string",
"description": "A name: this secret moves to the build (build: true) or to the app, its value kept in the vault."
},
"build": {
"type": "boolean",
"default": false,
"description": "true: a build secret (build.secrets, e.g. NPM_TOKEN), read by builds only, never by the app. With delete: removes one."
},
"trial": {
"type": "string",
"description": "The key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call."
},
"value": {
"type": "string",
"description": "A single variable: its value (with \"key\")."
},
"delete": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 100,
"description": "Names of the variables or secrets to delete from this environment."
},
"secret": {
"type": "boolean",
"default": true,
"description": "true: in the vault, never read back (default). false: plain variable, which a person reads back in while, never an agent."
},
"values": {
"type": "object",
"description": "Key/value pairs. Example: { \"LOG_LEVEL\": \"debug\" }",
"additionalProperties": {
"type": "string"
}
},
"project": {
"type": "string",
"description": "The project."
},
"environment": {
"type": "string",
"default": "production",
"description": "Production or a preview."
}
},
"additionalProperties": false
}{
"title": "Set variables and secrets",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}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).
{
"type": "object",
"required": [
"sql"
],
"properties": {
"sql": {
"type": "string",
"description": "A read statement."
},
"limit": {
"type": "integer",
"maximum": 50000,
"minimum": 1,
"description": "Row cap: short 200, detailed 400 (2,000 at most); csv 10,000 (50,000)."
},
"trial": {
"type": "string",
"description": "The key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call."
},
"format": {
"enum": [
"short",
"detailed"
],
"type": "string",
"default": "short",
"description": "The response format."
},
"project": {
"type": "string",
"description": "The project."
},
"database": {
"type": "string",
"description": "Name of the database (databases[].name); the first declared by default."
},
"max_bytes": {
"type": "integer",
"maximum": 200000,
"minimum": 1000,
"description": "Byte limit: short 40 KB, detailed and csv 200 KB."
},
"environment": {
"type": "string",
"default": "production",
"description": "Production or a preview."
},
"timeout_seconds": {
"type": "number",
"default": 10,
"maximum": 30,
"minimum": 0.5,
"description": "Query timeout."
}
},
"additionalProperties": false
}{
"title": "Read a database with SQL",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_logs — Read logs
An environment's logs (or a build's: build_id), most recent first, filterable by a text.
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"maximum": 1000,
"description": "Lines returned: 100 by default, 200 with build_id; 1,000 at most."
},
"query": {
"type": "string",
"description": "A LogsQL filter (VictoriaLogs' query language: https://docs.victoriametrics.com/victorialogs/logsql/), for example \"timeout\"; \"error\": the error lines."
},
"trial": {
"type": "string",
"description": "The key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call."
},
"project": {
"type": "string",
"description": "The project."
},
"build_id": {
"type": "string",
"description": "To read a build's log rather than the application's."
},
"environment": {
"type": "string",
"default": "production",
"description": "Production or a preview."
}
},
"additionalProperties": false
}{
"title": "Read logs",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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; url: why an address is kept or not) or ask (dated facts around a question).
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "An address of the environment: why a PoP keeps it or not."
},
"view": {
"enum": [
"metrics",
"traces",
"errors",
"history",
"timeline",
"impact",
"database",
"ask",
"edge"
],
"type": "string",
"default": "metrics",
"description": "The view returned."
},
"limit": {
"type": "integer",
"default": 20,
"description": "100 at most."
},
"query": {
"type": "string",
"description": "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"
],
"type": "string",
"default": "1h",
"description": "The window."
},
"since": {
"type": "string",
"default": "24h",
"description": "Window: 30m, 2h, 1d, or an ISO 8601 date."
},
"trial": {
"type": "string",
"description": "The key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call."
},
"until": {
"type": "string",
"description": "End (ISO 8601 date); now by default."
},
"errors": {
"type": "boolean",
"default": false,
"description": "Only the traces with a span in error."
},
"project": {
"type": "string",
"description": "The project."
},
"service": {
"type": "string",
"description": "The app's OTEL_SERVICE_NAME; by default, the project's name (what while sets)."
},
"version": {
"type": "integer",
"description": "Version number; the active version by default."
},
"database": {
"type": "string",
"description": "Database name; the first declared by default."
},
"families": {
"type": "array",
"items": {
"enum": [
"build",
"plan",
"deploy",
"rollback",
"incident",
"error",
"preview",
"approval",
"sleep",
"data",
"task",
"security",
"cost",
"agent",
"other"
],
"type": "string"
},
"description": "Keep only these families."
},
"question": {
"type": "string",
"minLength": 3,
"description": "The question, in plain words."
},
"trace_id": {
"type": "string",
"description": "One trace in detail: its id (32 hexadecimal characters)."
},
"operation": {
"type": "string",
"description": "Only the traces of this operation (span name), for example \"GET /orders\"."
},
"environment": {
"type": "string",
"default": "production",
"description": "Production or a preview."
},
"fingerprint": {
"type": "string",
"description": "Fingerprint of a group, for its detail."
},
"min_duration": {
"type": "string",
"description": "Only the traces longer than this, for example \"500ms\" or \"2s\"."
},
"since_minutes": {
"type": "integer",
"default": 60,
"description": "Window, in minutes (30 days at most)."
},
"window_minutes": {
"type": "integer",
"default": 30,
"maximum": 1440,
"minimum": 5,
"description": "The compared window, before and after the version."
}
},
"additionalProperties": false
}{
"title": "Understand what is happening",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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.
{
"type": "object",
"required": [
"kind",
"message"
],
"properties": {
"kind": {
"enum": [
"bug",
"frustration",
"idea",
"other",
"integration",
"block"
],
"type": "string",
"description": "bug (while is wrong), frustration (the user's, in their words), idea, other, integration (a service to connect), block (a block to open)."
},
"tool": {
"type": "string",
"description": "The MCP tool concerned."
},
"block": {
"type": "string",
"maxLength": 60,
"description": "block: the block (its id in catalog)."
},
"route": {
"type": "string",
"description": "The API route concerned (\"POST /v1/…\")."
},
"trial": {
"type": "string",
"description": "The key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call."
},
"usage": {
"type": "string",
"maxLength": 1000,
"description": "integration, block: what the app wants to do with it."
},
"volume": {
"type": "string",
"maxLength": 200,
"description": "block: the expected volume (sends per day, GiB…)."
},
"message": {
"type": "string",
"maxLength": 4000,
"description": "What happens, what was expected; 4,000 characters at most."
},
"project": {
"type": "string",
"description": "The project concerned."
},
"service": {
"type": "string",
"maxLength": 100,
"description": "integration: the service to connect (Stripe, Snowflake, Anthropic…)."
},
"reference": {
"type": "string",
"description": "The identifier of an error, a call or an approval."
},
"organization": {
"type": "string",
"description": "The organization; otherwise the project's or the token's."
},
"documentation": {
"type": "string",
"pattern": "^https://",
"maxLength": 500,
"description": "integration: the https address of its documentation."
},
"authentication": {
"enum": [
"api_key",
"oauth",
"oidc_federation",
"other"
],
"type": "string",
"description": "integration: how the service authenticates (API key, OAuth, OIDC federation, other)."
}
},
"additionalProperties": false
}{
"title": "Send feedback to the while team",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}list_feedback — Read feedback and replies
The feedback sent to the while team and its replies; organization: the organization's feedback (its admins).
{
"type": "object",
"properties": {
"trial": {
"type": "string",
"description": "The key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call."
},
"organization": {
"type": "string",
"description": "The whole organization's feedback (its admins)."
}
},
"additionalProperties": false
}{
"title": "Read feedback and replies",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_project — Read projects
Without project, the projects the identity sees; project, one project and its environments; include: ["webhooks"], its webhooks.
{
"type": "object",
"properties": {
"trial": {
"type": "string",
"description": "The key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call."
},
"include": {
"type": "array",
"items": {
"enum": [
"webhooks"
],
"type": "string"
},
"maxItems": 1,
"description": "webhooks: its webhooks."
},
"project": {
"type": "string",
"description": "A project; without it, the list."
}
},
"additionalProperties": false
}{
"title": "Read projects",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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.
{
"type": "object",
"required": [
"project"
],
"properties": {
"name": {
"type": "string",
"description": "The display name (the project name by default)."
},
"trial": {
"type": "string",
"description": "The key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call."
},
"project": {
"type": "string",
"description": "The project name (lowercase letters, digits, hyphens)."
},
"budget_eur": {
"type": "number",
"minimum": 0,
"description": "Euros per month (20 by default; 0, no cap, or more than €20: admins); alert at 80% then 100%."
},
"organization": {
"type": "string",
"description": "The organization that holds it (the token's by default)."
}
},
"additionalProperties": false
}{
"title": "Create a project",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}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.
{
"type": "object",
"properties": {
"trial": {
"type": "string",
"description": "The key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call."
},
"project_name": {
"type": "string",
"maxLength": 40,
"description": "The project, which makes the app's address."
},
"organization_name": {
"type": "string",
"maxLength": 60,
"description": "The user's organization."
}
}
}{
"title": "Keep the trial app",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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.
{
"type": "object",
"properties": {
"trial": {
"type": "string",
"description": "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_only": {
"type": "boolean",
"default": false,
"description": "GET and HEAD only."
}
}
}{
"title": "Open the trial app",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}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.
{
"type": "object",
"required": [
"email"
],
"properties": {
"email": {
"type": "string",
"description": "The user's email address."
},
"trial": {
"type": "string",
"description": "The key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call."
}
}
}{
"title": "Create the user's while account",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}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), 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).
{
"type": "object",
"required": [
"group"
],
"properties": {
"group": {
"enum": [
"alerts",
"feedback_and_docs",
"environments_and_storage",
"administer",
"connections",
"functions"
],
"type": "string",
"description": "The group to load."
}
},
"additionalProperties": false
}{
"title": "Load a tool group",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}link_git_repo — Link a git repository
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.
{
"type": "object",
"properties": {
"repo": {
"type": "string",
"description": "\"owner/name\" (GitHub) or \"group/project\" (GitLab)."
},
"forge": {
"enum": [
"github",
"gitlab"
],
"type": "string",
"description": "The repository's forge."
},
"token": {
"type": "string",
"description": "Access token for the forge; it goes to the vault."
},
"unlink": {
"type": "boolean",
"default": false,
"description": "true: removes the link and the webhook."
},
"project": {
"type": "string",
"description": "The project."
},
"base_url": {
"type": "string",
"description": "Address of a self-hosted GitLab."
}
},
"additionalProperties": false
}{
"title": "Link a git repository",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}apply_plan — Apply a plan
Applies a plan computed by plan_deploy (what it changes goes live); discard: true drops it without applying anything.
{
"type": "object",
"required": [
"plan_id"
],
"properties": {
"wait": {
"type": "boolean",
"default": true,
"description": "true: answers once done."
},
"discard": {
"type": "boolean",
"default": false,
"description": "true: drop the plan instead of applying it."
},
"plan_id": {
"type": "string",
"description": "The plan returned by plan_deploy."
},
"project": {
"type": "string",
"description": "The project."
},
"timeout_seconds": {
"type": "integer",
"default": 300,
"description": "Longest wait, in seconds."
}
},
"additionalProperties": false
}{
"title": "Apply a plan",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}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.
{
"type": "object",
"properties": {
"to": {
"type": "integer",
"description": "The target version number; without it, the previous active version."
},
"wait": {
"type": "boolean",
"default": true,
"description": "true: answers once done."
},
"project": {
"type": "string",
"description": "The project."
},
"approval_id": {
"type": "string",
"description": "Approval granted, when the organization requires an approval for a rollback in production."
},
"environment": {
"type": "string",
"default": "production",
"description": "Production or a preview."
}
},
"additionalProperties": false
}{
"title": "Roll back to a previous version",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}create_preview — Create a preview
A preview environment for a branch, with its own address.
{
"type": "object",
"properties": {
"from": {
"type": "string",
"default": "production",
"description": "Reference environment."
},
"name": {
"type": "string",
"description": "Name of the environment (otherwise, the branch)."
},
"wait": {
"type": "boolean",
"default": true,
"description": "true: answers once done."
},
"branch": {
"type": "string",
"description": "The Git branch."
},
"project": {
"type": "string",
"description": "The project."
},
"ttl_hours": {
"type": "integer",
"default": 24,
"description": "Lifetime of the preview, in hours."
},
"copy_database": {
"type": "boolean",
"default": false,
"description": "Copy the production data (otherwise empty databases): needs data.backup on its databases."
}
},
"additionalProperties": false
}{
"title": "Create a preview",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}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.
{
"type": "object",
"properties": {
"days": {
"type": "integer",
"description": "The proposed expiry: 1, 7 or 30 days (otherwise 7)."
},
"name": {
"type": "string",
"description": "The proposed name of the link (\"Dupont client demo\")."
},
"project": {
"type": "string",
"description": "The project."
},
"dev_address": {
"type": "string",
"description": "The name of a dev address (what follows -dev- in <project>-dev-<name>): share it rather than an environment."
},
"environment": {
"type": "string",
"default": "production",
"description": "Production or a preview."
}
},
"additionalProperties": false
}{
"title": "Share an app with a link",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}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.
{
"type": "object",
"properties": {
"wait": {
"type": "boolean",
"default": false,
"description": "Wait for the backup (and its restore test) to receive its id and its result."
},
"project": {
"type": "string",
"description": "The project."
},
"database": {
"type": "string",
"description": "Database name; the first declared by default."
},
"environment": {
"type": "string",
"default": "production",
"description": "Production or a preview."
},
"test_restore": {
"type": "boolean",
"default": true,
"description": "Restore it to a throwaway database, to prove it."
}
},
"additionalProperties": false
}{
"title": "Back up a database",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}restore_backup — Restore a database
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.
{
"type": "object",
"properties": {
"wait": {
"type": "boolean",
"default": false,
"description": "true: answers once done."
},
"reason": {
"type": "string",
"description": "Why restore, in one sentence for the person who approves."
},
"instant": {
"type": "string",
"description": "Restore the database to this instant (ISO 8601), 14 days at most; excludes backup_id."
},
"project": {
"type": "string",
"description": "The project."
},
"database": {
"type": "string",
"description": "Database name; the first declared by default."
},
"backup_id": {
"type": "string",
"description": "The backup (get_environment { view: \"backups\" }); the last successful one by default."
},
"approval_id": {
"type": "string",
"description": "The granted approval (its id), when the action needs one."
},
"environment": {
"type": "string",
"default": "production",
"description": "Production or a preview."
}
},
"additionalProperties": false
}{
"title": "Restore a database",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}list_tasks — List the scheduled jobs
An environment's scheduled jobs, their schedule, their last runs and the next one.
{
"type": "object",
"properties": {
"task": {
"type": "string",
"description": "Name of a task, for its detailed history."
},
"limit": {
"type": "integer",
"default": 20,
"maximum": 200,
"description": "Number of runs in the detailed history."
},
"project": {
"type": "string",
"description": "The project."
},
"environment": {
"type": "string",
"default": "production",
"description": "Production or a preview."
}
},
"additionalProperties": false
}{
"title": "List the scheduled jobs",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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.
{
"type": "object",
"required": [
"task"
],
"properties": {
"env": {
"type": "object",
"description": "Extra variables for this run only.",
"additionalProperties": {
"type": "string"
}
},
"args": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20,
"description": "Arguments appended to the command, for example [\"--since\", \"2026-10-12\"]."
},
"task": {
"type": "string",
"description": "Name of the task (crons[].name)."
},
"wait": {
"type": "boolean",
"default": false,
"description": "true: answers once done."
},
"project": {
"type": "string",
"description": "The project."
},
"catch_up": {
"type": "object",
"required": [
"start"
],
"properties": {
"end": {
"type": "string",
"description": "End of the period (included); the start by default."
},
"start": {
"type": "string",
"description": "Start of the period: 2026-10-12, or an ISO 8601 instant."
}
},
"description": "Period to catch up: the run is counted \"catch_up\" and receives it as variables.",
"additionalProperties": false
},
"approval_id": {
"type": "string",
"description": "Approval granted, if the organization requires one for a task in production."
},
"environment": {
"type": "string",
"default": "production",
"description": "Production or a preview."
},
"timeout_seconds": {
"type": "integer",
"default": 300,
"maximum": 1800,
"description": "Longest wait, in seconds."
}
},
"additionalProperties": false
}{
"title": "Run a job",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}acknowledge_announcement — Acknowledge an announcement
Records that an announcement from the while team has been read.
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "The id of the announcement (id, in the announcements)."
}
},
"additionalProperties": false
}{
"title": "Acknowledge an announcement",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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.
{
"type": "object",
"properties": {
"who": {
"type": "string",
"description": "An address, group:<name>, service_account:<name>, app:<project>/<service>, task:<project>/<task>, or token:<id or name>."
},
"scope": {
"type": "object",
"properties": {
"type": {
"enum": [
"organization"
],
"type": "string",
"description": "The whole organization."
},
"paths": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 100,
"description": "Patterns, e.g. \"/notes/**\"."
},
"table": {
"type": "string",
"description": "\"schema.table\"."
},
"schema": {
"type": "string",
"description": "PostgreSQL schema."
},
"columns": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 1600,
"description": "The table's columns."
},
"project": {
"type": "string",
"description": "Project name."
},
"database": {
"type": "string",
"description": "Database name."
},
"connection": {
"type": "string",
"description": "Connection name."
},
"environment": {
"type": "string",
"description": "The environment."
}
},
"description": "{}: the organization; otherwise down to a table, or a connection.",
"additionalProperties": false
},
"project": {
"type": "string",
"description": "Shortcut for scope.project."
},
"activity": {
"type": "boolean",
"default": true,
"description": "With who: what the identity did (log, calls)."
},
"permission": {
"enum": [
"org.view",
"org.admin",
"access.grant",
"roles.define",
"projects.create",
"app.use",
"project.view",
"project.deploy",
"project.configure",
"tasks.run",
"project.destroy",
"data.read",
"data.write",
"data.schema",
"data.backup",
"connection.read",
"connection.write",
"connection.configure",
"log.read",
"log.export",
"sources.read",
"sources.query",
"sources.write",
"sources.admin"
],
"type": "string",
"description": "With who: \"can X <permission> on the scope?\"."
},
"organization": {
"type": "string",
"description": "The organization."
}
},
"additionalProperties": false
}{
"title": "Explain access",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}request_access — Request access
Requests a permission for the person (or their agent): whoever can grant it decides in while.
{
"type": "object",
"required": [
"reason"
],
"properties": {
"for": {
"type": "string",
"description": "For an app that will call a connection: app:<project>/<service> or task:<project>/<task>, role connection-caller (or connection-writer), scope { connection }."
},
"days": {
"type": "integer",
"default": 7,
"maximum": 90,
"minimum": 1,
"description": "Duration, in days; not used for an app (for), whose right has no expiry."
},
"role": {
"type": "string",
"description": "The role (missing.proposed_role)."
},
"tool": {
"type": "string",
"description": "Or the id of a reserved tool (view existing)."
},
"renew": {
"type": "string",
"description": "One of your assignments to extend (only days and reason count)."
},
"scope": {
"type": "object",
"properties": {
"type": {
"enum": [
"organization"
],
"type": "string",
"description": "The whole organization."
},
"paths": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 100,
"description": "Patterns, e.g. \"/notes/**\"."
},
"table": {
"type": "string",
"description": "\"schema.table\"."
},
"schema": {
"type": "string",
"description": "PostgreSQL schema."
},
"columns": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 1600,
"description": "The table's columns."
},
"project": {
"type": "string",
"description": "Project name."
},
"database": {
"type": "string",
"description": "Database name."
},
"connection": {
"type": "string",
"description": "Connection name."
},
"environment": {
"type": "string",
"description": "The environment."
}
},
"description": "{}: the organization; otherwise down to a table, or a connection.",
"additionalProperties": false
},
"reason": {
"type": "string",
"description": "Why (\"Q4 audit\"), read by whoever decides."
},
"permission": {
"enum": [
"org.view",
"org.admin",
"access.grant",
"roles.define",
"projects.create",
"app.use",
"project.view",
"project.deploy",
"project.configure",
"tasks.run",
"project.destroy",
"data.read",
"data.write",
"data.schema",
"data.backup",
"connection.read",
"connection.write",
"connection.configure",
"log.read",
"log.export",
"sources.read",
"sources.query",
"sources.write",
"sources.admin"
],
"type": "string",
"description": "Or a permission (the smallest role that grants it)."
},
"organization": {
"type": "string",
"description": "The organization."
}
},
"additionalProperties": false
}{
"title": "Request access",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}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.
{
"type": "object",
"properties": {
"tab": {
"enum": [
"all",
"agents",
"security",
"approvals"
],
"type": "string",
"default": "all",
"description": "Ready-made filter."
},
"via": {
"enum": [
"agent",
"app",
"task",
"interface",
"browser",
"api",
"while"
],
"type": "string",
"description": "What the action went through."
},
"who": {
"type": "string",
"description": "An identity, written as for explain_access (what it did)."
},
"limit": {
"type": "integer",
"default": 50,
"maximum": 200,
"minimum": 1,
"description": "Maximum number of items returned."
},
"since": {
"type": "string",
"description": "Start: 30m, 24h, 7d, a date (2026-10-18) or an ISO 8601 instant."
},
"until": {
"type": "string",
"description": "End, same format; a date alone counts the whole day."
},
"cursor": {
"type": "string",
"description": "The \"next\" of a previous response."
},
"family": {
"type": "string",
"description": "Families, separated by commas: deploy, data, security, access, permissions, approval, task, alert, connection, app, observation, loop (agents' wake-ups)."
},
"person": {
"type": "string",
"description": "Address or name (partial) of the person, or \"while\"."
},
"verify": {
"type": "boolean",
"default": false,
"description": "Check the log's chain instead of reading it."
},
"project": {
"type": "string",
"description": "Project name."
},
"resource": {
"type": "string",
"description": "Text searched in the object (\"carnet\", \"main.reservations\"), or id or type of resource."
},
"assignment": {
"type": "string",
"description": "An assignment's history (its id): granted, revoked, expired, flagged, kept."
},
"organization": {
"type": "string",
"description": "The organization."
}
},
"additionalProperties": false
}{
"title": "Read the organization's activity log",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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.
{
"type": "object",
"properties": {
"view": {
"enum": [
"detail",
"limits",
"bindings"
],
"type": "string",
"default": "detail",
"description": "The view returned."
},
"since": {
"type": "string",
"description": "With connection: the call log since this date (2026-10-01); 7 days by default."
},
"until": {
"type": "string",
"description": "With connection and since: up to this date (now by default)."
},
"refusal": {
"type": "boolean",
"description": "With since: refusals only."
},
"connection": {
"type": "string",
"description": "Connection name (meteo): its detail."
},
"organization": {
"type": "string",
"description": "The organization."
}
},
"additionalProperties": false
}{
"title": "Read connections",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}declare_connection — Declare a connection
Declares an external API (domain, authentication without a secret, callers), to be approved; a person enters the secret in while.
{
"type": "object",
"required": [
"name"
],
"properties": {
"apps": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20,
"description": "Calling services and tasks (web, task:charger); by default, those of the while.yaml that declare it."
},
"name": {
"type": "string",
"description": "Lowercase, digits, hyphens: weather, accounting."
},
"read": {
"type": "array",
"items": {
"type": "string"
},
"description": "Patterns read with POST (a search, a GraphQL query): /api/v1/searches."
},
"label": {
"type": "string",
"description": "The displayed name (\"Pennylane\")."
},
"model": {
"enum": [
"anthropic",
"openai",
"mistral",
"snowflake",
"snowflake_pat"
],
"type": "string",
"description": "An AI or Snowflake (account, user, role, warehouse): domain and recipe set automatically."
},
"owner": {
"type": "string",
"description": "Email of the owner; by default, the signed-in user."
},
"reads": {
"enum": [
"all",
"listed"
],
"type": "string",
"description": "all, except refused_paths; listed: those in rules."
},
"rules": {
"type": "array",
"items": {
"type": "object",
"required": [
"method",
"pattern"
],
"properties": {
"read": {
"type": "boolean",
"description": "A POST that only reads."
},
"method": {
"type": "string",
"description": "HTTP method."
},
"pattern": {
"type": "string",
"description": "Path, e.g. /api/v1/slots/*/close."
},
"approve_each_call": {
"type": "boolean",
"description": "true: each call waits for an approval."
}
},
"additionalProperties": false
},
"maxItems": 100,
"description": "Its writes, and its reads if reads: listed. Federated: required. A POST that reads: its pattern in read too."
},
"domain": {
"type": "string",
"description": "API host name, no path: api.example.com."
},
"update": {
"type": "boolean",
"description": "An existing connection: read becomes the wanted list; removing applies at once, adding goes through approval."
},
"project": {
"type": "string",
"description": "The project of the calling apps; by default, the token's."
},
"direction": {
"enum": [
"read",
"write"
],
"type": "string",
"default": "read",
"description": "The apps will also write (POST, PUT, PATCH, DELETE)."
},
"organization": {
"type": "string",
"description": "The organization."
},
"refused_paths": {
"type": "array",
"items": {
"type": "object",
"required": [
"pattern"
],
"properties": {
"method": {
"type": "string",
"description": "Method, or *."
},
"pattern": {
"type": "string",
"description": "Path pattern."
}
},
"additionalProperties": false
},
"description": "Refused before any rule: /admin/**."
},
"authentication": {
"type": "object",
"properties": {
"type": {
"enum": [
"none",
"header",
"parameter",
"basic",
"bearer",
"oauth2",
"session",
"jwt",
"federated"
],
"type": "string",
"description": "The recipe's kind."
},
"model": {
"enum": [
"google",
"salesforce",
"microsoft",
"azure",
"generic"
],
"type": "string",
"description": "The provider, for model or federated."
}
},
"description": "Recipe, no secret: none; header {name, prefix}; parameter {name}; basic; bearer; 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}, client_id, scope}, signed by while; model google {client_email, scopes}, salesforce {client_id, sub}, microsoft {tenant_id, client_id, scope, x5t}; federated: google {project_number, pool, provider, scopes, service_account?}, azure {tenant, client_id, scope}, generic {exchange_url}."
},
"rate_per_minute": {
"type": "integer",
"default": 600,
"maximum": 60000,
"minimum": 1,
"description": "Calls allowed per minute."
},
"secondary_domains": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 10,
"description": "Hosts relayed without a key (/~<host>/…)."
}
},
"additionalProperties": false
}{
"title": "Declare a connection",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}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.
{
"type": "object",
"required": [
"connection",
"path"
],
"properties": {
"body": {
"description": "Only on a path declared as a read (POST): an object (sent as JSON) or text."
},
"path": {
"type": "string",
"description": "Path at the provider, with its query string: /api/v1/slots?site=origines."
},
"connection": {
"type": "string",
"description": "Connection name (list_connections)."
},
"organization": {
"type": "string",
"description": "The organization."
}
},
"additionalProperties": false
}{
"title": "Read a connection's API",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}get_organization — Read organizations
Without organization, your organizations; otherwise, view detail (members, groups, approvers), 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 (approvals, budget), branding, private_network, private_networks, private_destination, private_network_log, vpn_ingress.
{
"type": "object",
"properties": {
"view": {
"enum": [
"detail",
"existing",
"sources",
"map",
"rules",
"branding",
"private_network",
"private_networks",
"private_destination",
"private_network_log",
"vpn_ingress"
],
"type": "string",
"default": "detail",
"description": "The view returned."
},
"source": {
"type": "string",
"description": "view sources: one card, “type:name” (database:crm/main)."
},
"minutes": {
"type": "integer",
"maximum": 1440,
"minimum": 1,
"description": "60 by default."
},
"destination": {
"type": "string",
"description": "network/destination."
},
"organization": {
"type": "string",
"description": "The organization."
}
},
"additionalProperties": false
}{
"title": "Read organizations",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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 confirmation. An address with no email (.test, .invalid…) is refused.
{
"type": "object",
"required": [
"email"
],
"properties": {
"role": {
"enum": [
"owner",
"admin",
"developer",
"reader",
"access",
"external"
],
"type": "string",
"description": "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)."
},
"email": {
"type": "string",
"description": "The person's address."
},
"reason": {
"type": "string",
"description": "The reason for the assignment (in the log); \"member of the organization\" by default."
},
"resend": {
"type": "boolean",
"description": "true: sends the pending invitation again (a new link, once an hour), without changing anything else."
},
"project": {
"type": "string",
"description": "The app where the role is given; without it: the whole organization."
},
"organization": {
"type": "string",
"description": "The organization."
}
},
"additionalProperties": false
}{
"title": "Invite a person",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}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. Access for an address in the company's domain: it waits for their first sign-in.
{
"type": "object",
"required": [
"who",
"role",
"scope",
"reason"
],
"properties": {
"who": {
"type": "string",
"description": "An address, group:<name>, service_account:<name>, app:<project>/<service> or task:<project>/<task>."
},
"days": {
"type": "integer",
"maximum": 3650,
"minimum": 1,
"description": "Duration, in days."
},
"role": {
"type": "string",
"description": "A built-in role (owner, admin, developer, reader, access, data-reader, connection-caller, connection-writer, service-caller, data-writer) or one of the organization's (review_access { view: \"roles\" })."
},
"scope": {
"type": "object",
"properties": {
"type": {
"enum": [
"organization"
],
"type": "string",
"description": "The whole organization."
},
"paths": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 100,
"description": "Patterns, e.g. \"/notes/**\"."
},
"table": {
"type": "string",
"description": "\"schema.table\"."
},
"schema": {
"type": "string",
"description": "PostgreSQL schema."
},
"columns": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 1600,
"description": "The table's columns."
},
"project": {
"type": "string",
"description": "Project name."
},
"database": {
"type": "string",
"description": "Database name."
},
"connection": {
"type": "string",
"description": "Connection name."
},
"environment": {
"type": "string",
"description": "The environment."
}
},
"description": "{}: the organization; otherwise down to a table, or a connection.",
"additionalProperties": false
},
"until": {
"type": "string",
"description": "End date (included): 2026-11-30."
},
"reason": {
"type": "string",
"description": "Why (\"Q4 audit\"): it goes to the log and is read in the sentence."
},
"organization": {
"type": "string",
"description": "The organization."
}
},
"additionalProperties": false
}{
"title": "Grant a role",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}revoke_role — Revoke a role
Removes an assignment at once; the last owner stays.
{
"type": "object",
"required": [
"assignment",
"reason"
],
"properties": {
"reason": {
"type": "string",
"description": "Why (in the log)."
},
"assignment": {
"type": "string",
"description": "The assignment's id."
},
"organization": {
"type": "string",
"description": "The organization."
}
},
"additionalProperties": false
}{
"title": "Revoke a role",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}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.
{
"type": "object",
"properties": {
"days": {
"type": "integer",
"default": 30,
"maximum": 365,
"minimum": 0,
"description": "Lifetime in days (30 by default, 0 without expiry)."
},
"name": {
"type": "string",
"description": "What it is for (\"GitLab CI\")."
},
"scope": {
"enum": [
"project",
"organization"
],
"type": "string",
"default": "project",
"description": "A project, or the organization."
},
"project": {
"type": "string",
"description": "The project."
},
"permissions": {
"type": "array",
"items": {
"type": "string"
},
"description": "deploy and read by default."
},
"environments": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20,
"description": "Where it can act (production, previews, or names); without a list, everywhere."
},
"organization": {
"type": "string",
"description": "For an organization token: its name; optional with an organization token."
}
},
"additionalProperties": false
}{
"title": "Create an API token",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}update_connection — Configure a connection
One setting per call: method and pattern request a rule; lock: true limits its reads to what was used in 30 days. caller, window and calls set a call limit, remove_limit removes it.
{
"type": "object",
"properties": {
"lock": {
"type": "boolean",
"description": "true: reads limited to what was used."
},
"read": {
"type": "boolean",
"description": "A POST that only reads."
},
"calls": {
"type": "integer",
"maximum": 100000000,
"minimum": 1,
"description": "The number of calls allowed per window."
},
"caller": {
"type": "string",
"description": "Who is limited (agent:<id>, group:finance, app:boutique/web…)."
},
"method": {
"enum": [
"GET",
"HEAD",
"POST",
"PUT",
"PATCH",
"DELETE",
"OPTIONS",
"*"
],
"type": "string",
"description": "HTTP method."
},
"reason": {
"type": "string",
"description": "Why this rule, in one sentence."
},
"window": {
"enum": [
"minute",
"hour",
"day",
"month"
],
"type": "string",
"description": "The window."
},
"pattern": {
"type": "string",
"description": "Path, e.g. /api/v1/slots/*/close."
},
"connection": {
"type": "string",
"description": "Connection name (list_connections)."
},
"organization": {
"type": "string",
"description": "The organization."
},
"remove_limit": {
"type": "string",
"description": "The limit to remove (its id, list_connections { view: \"limits\" })."
},
"approve_each_call": {
"type": "boolean",
"default": false,
"description": "true: each call waits for an approval."
}
},
"additionalProperties": false
}{
"title": "Configure a connection",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}set_connection_binding — Request or configure a federated 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; federation must be enabled there. With binding: resume: true resumes a suspended binding; approve_production_deploys checks or unchecks the approval of its production deploys.
{
"type": "object",
"required": [
"connection"
],
"properties": {
"caller": {
"type": "string",
"description": "A request: the app's service (web), or \"task:<name>\"."
},
"reason": {
"type": "string",
"description": "Why (in the log)."
},
"resume": {
"type": "boolean",
"description": "true: resume the binding."
},
"binding": {
"type": "string",
"description": "The id of the binding."
},
"project": {
"type": "string",
"description": "The app's project."
},
"connection": {
"type": "string",
"description": "Name of the federated connection."
},
"organization": {
"type": "string",
"description": "The organization."
},
"approve_production_deploys": {
"type": "boolean",
"description": "true: its production deploys wait for an approval; false: they do not."
}
},
"additionalProperties": false
}{
"title": "Request or configure a federated binding",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}Prompts
Not advertised
Resources
Not advertised
90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-14: 1 of 1 checks answered
- 2026-11-15: 2 of 2 checks answered
- 2026-11-16: 4 of 4 checks answered
- 2026-11-17: 5 of 5 checks answered
- 2026-11-18: 5 of 5 checks answered
- 2026-11-19: 4 of 4 checks answered
- 2026-11-20: 3 of 3 checks answered
- 2026-11-21: 4 of 4 checks answered
- 2026-11-22: 4 of 4 checks answered
- 2026-11-23: 3 of 3 checks answered
- 2026-11-24: 2 of 2 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 3 of 3 (100%)
- Average latency
- 1444 ms
- 95th percentile latency
- 2431 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 1508 ms · metadata changed · 45 tool(s); protected-resource metadata advertises OAuth
- · probe · passed · 2534 ms · metadata changed · 44 tool(s); protected-resource metadata advertises OAuth
- · probe · passed · 290 ms · metadata changed · refuses unauthenticated initialize (HTTP 401)
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http while-mcp https://app.while.sh/mcpCodex
codex mcp add while-mcp --url https://app.while.sh/mcpCursor
{
"mcpServers": {
"while-mcp": {
"url": "https://app.while.sh/mcp"
}
}
}Cline
{
"mcpServers": {
"while-mcp": {
"type": "streamableHttp",
"url": "https://app.while.sh/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"while-mcp": {
"type": "http",
"url": "https://app.while.sh/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http while-mcp https://app.while.sh/mcpClaude Desktop
https://app.while.sh/mcpWindsurf
{
"mcpServers": {
"while-mcp": {
"serverUrl": "https://app.while.sh/mcp"
}
}
}Let your agent find its tools
Find servers like while MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other cloud and infrastructure servers
Do you run while MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.