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 5, 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: Authorize it in your browser

Claude offers to sign you in, and a while page opens. 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 agent: 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 agent: 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 agent: 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 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.

Try without an account

Without a while account, add a connector at https://app.while.sh/essai instead, with no authentication. Claude deploys your app as a trial, and gives you a confirmation link to open within the next few minutes.

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.

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