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.
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:
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
- ChatGPT, custom MCP servers, accessed November 5, 2026