Connect while to Claude, on the web or in the app, over MCP
Claude already writes your pages and small tools in the conversation. Connected to while with a connector, it also deploys them, with their database, without leaving the conversation.
By Aloïs Oddon, co-founder of Nextmap. Facts checked on November 21, 2026.
Prerequisites
- A Claude account. The free plan allows one custom connector, paid plans more1.
- On a Team or Enterprise plan, the organization’s owner adds the connector, then each person connects to it1.
Step 1: Add while as a connector
In Claude, open Customize, then Connectors. Click ”+”, then add a custom connector. Name it while, and paste the address of while’s MCP server1:
https://app.while.sh/mcp
Step 2: Sign in when Claude asks
No page opens when you add the connector: without a while account, Claude uses it for the trial right away. As soon as an action needs your account, Claude offers to sign you in, and a while page opens. It asks where to connect your AI: choose “A new app”, then click Authorize.
Step 3: Turn it on in the conversation
In a conversation, click ”+” at the lower left, then Connectors, and turn on while1.
What your agent does
Claude 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 Claude Code, is faster.
Deploy what Claude just wrote
You, to your AI: Deploy this page with while.
Claude writes while.yaml, sends the page, and gives you its address, over HTTPS.
Keep the team’s data
You, to your AI: Keep the team’s answers in a database.
Claude adds a PostgreSQL database and a small API next to the page. Everyone’s answers stay from one visit to the next.
Query your database
You, to your AI: How many answers this week?
Claude 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 AI: 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.
Try without an account
Without a while account, nothing changes: with the same connector, https://app.while.sh/mcp, Claude deploys your app for free, as a trial, with no sign-up. It asks you to sign in when an action needs your account.
In the docs: Versions and rollback.
Next steps
Sources
- Claude, custom connectors using remote MCP, accessed November 5, 2026