Skip to content

Connect while to ChatGPT over MCP, to deploy your apps

ChatGPT already writes your tools in the conversation. Connected to while over MCP, it also deploys them, with their database, and asks for your approval on what matters.

By Aloïs Oddon, co-founder of Nextmap. Facts checked on November 5, 2026.

View as Markdown

Prerequisites

  • ChatGPT Business, Enterprise or Edu, on the web1.
  • On Business, an admin or owner of the workspace, who adds the server and publishes it for the team1.

Step 1: Add while as an MCP server

In ChatGPT, open Plugins, click ”+”, then choose Add custom MCP server. Paste the address of while’s MCP server1:

MCP server address
https://app.while.sh/mcp

Choose OAuth authentication, then tick the box that accepts the risk warning1.

Step 2: Authorize it in your browser

A while page opens. Choose “A new app”, then click Authorize.

Step 3: Call it in the conversation

In a new conversation, type @ and choose while1.

What your agent does

ChatGPT has no terminal: it sends your app’s files to while in its tool calls, then deploys it. For a large project, an agent that works in a terminal, like Codex, is faster.

Deploy what ChatGPT just wrote

You, to your agent: Deploy this app with while.

ChatGPT writes while.yaml, sends the code, and gives you your app’s address, over HTTPS.

Understand an error

You, to your agent: Why has the app been returning errors since this morning?

ChatGPT reads the logs and the grouped errors in while, finds the cause and fixes it.

Query your database

You, to your agent: How many sign-ups this week?

ChatGPT reads your database in SQL over MCP, with your permissions on the data, and can’t write to it.

Go back to the previous version

You, to your agent: Go back to the previous version.

In the 30 minutes after a deployment, the previous version comes back in a second. After that, it takes a few seconds.

In the docs: Versions and rollback.

Next steps

Sources

  1. ChatGPT, custom MCP servers, accessed November 5, 2026

Questions

Which ChatGPT plan do I need?

Business, Enterprise or Edu, on the web: those are the plans that add a custom MCP server, with read and write access1.

Does my agent see my keys?

No: your keys stay in while, and calls to an external API go through while, which adds the key.

What can ChatGPT do without me?

It can deploy, and read the logs and the database. Sensitive actions, like deleting a production database, wait for your approval.

Connect your agent, it takes care of the rest

To paste into your agent

Read while.sh/agents, then deploy my app with while.

Copy the instructions

No account needed to try: your app is live right away. To keep it, sign in.

A project for your company? Talk to the team: hello@while.sh