Skip to content

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.

View as Markdown

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:

MCP server address
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

  1. Claude, custom connectors using remote MCP, accessed November 5, 2026

Questions

Do I need a paid Claude plan?

No: Claude’s free plan allows one custom connector1.

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 Claude do without me?

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

Give your AI the message, and it takes care of the rest

Give this to your AI

Read while.sh/agents and help me get started with while.

Copy the message

In 3 minutes, with no sign-up, the tool has its own address. To keep it, create your account.

For a company project, write to the while team: hello@while.sh