while
Hosting for apps your AI agent deploys, with databases, jobs and rollback over MCP
- Pricing
- Freemium
- Platforms
- Web, API
- Runs
- Remotely
- Version
- 2.1.0
- Listing updated
- 3 days ago
About while
while is a freemium MCP server for cloud and infrastructure. It runs as a hosted remote server, so there is nothing to install locally.
Instead of a dashboard-first workflow, while starts from a prompt: you paste a short instruction into Claude Code, Cursor or another agent and it deploys your app as a trial, with no account. To keep the app you then create one. Apps can be a website, API, dashboard, bot or scheduled script in Node, Python, Go or a Dockerfile.
The pitch is control without handing over secrets. API keys for outside services are entered in while, and both the agent and the app call those services through it without seeing the key. Sensitive actions wait for your approval, every agent action is written to an activity log, and a bad release can be rolled back; data can be restored to any point in the last 14 days. Apps can be open to everyone, password protected, or limited to company accounts through Google Workspace, Microsoft Entra, Okta or OpenID Connect.
while describes itself as a French platform. Apps and backups are hosted in France by Nextmap, which matters to teams with data location requirements. GitHub and GitLab pushes to the main branch deploy, and pull requests get previews.
Install
Run in a terminal
claude mcp add --transport http while https://app.while.sh/mcpAdd to Settings → Connectors → Add custom connector
https://app.while.sh/mcpAdd to ~/.cursor/mcp.json
{
"mcpServers": {
"while": {
"url": "https://app.while.sh/mcp"
}
}
}Add to .vscode/mcp.json
{
"servers": {
"while": {
"type": "http",
"url": "https://app.while.sh/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"while": {
"serverUrl": "https://app.while.sh/mcp"
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"while": {
"type": "http",
"url": "https://app.while.sh/mcp"
}
}
}What it does
- Agent-driven deploys
- An agent deploys apps, PostgreSQL, caches, S3-style storage and scheduled jobs over MCP.
- Hidden API keys
- Keys are entered in while, so neither the agent nor the app ever sees them.
- Approval and activity log
- Sensitive actions wait for a person, and every agent action is recorded.
- Rollback and restore
- Return to the previous version, and restore data to any moment in the last 14 days.
- Access control
- Open to everyone, password protected, or limited to company sign-in.
- Git previews
- Pushes to main deploy, and each pull request opens a preview.
Good for
- Put an app built with an AI coding agent online without managing a server
- Let an agent fix and redeploy an app after reading its logs
- Give business teams a company-sign-in place for internal apps
- Move an app from Heroku, Render or AWS with the agent's help
- Keep data hosted in France
Pricing
Freemium
Free plan at 0 EUR plus usage; Pro 299 EUR per month plus usage; Enterprise on quote
Prices change. Check while.sh before you buy.
while FAQ
Which agents work with it?
Any agent that connects over MCP, including Claude, ChatGPT, Codex, Cursor, Gemini and Mistral Vibe.
What does it cost?
The Free plan is 0 euros and Pro is 299 euros per month. Resources are billed on top at the same prices on every plan, for example 5 euros per month for a small database.
Can I try it without an account?
Yes. Your agent deploys the app as a trial, and you create an account only to keep it.
Where is data stored?
In France, hosted by Nextmap, with daily encrypted backups.
Can I take my code and data out?
Yes. The code stays in your repository, and the agent can export the database and files.
Is while free?
while has a free plan, with paid plans for more usage or features.
How do I add while to Claude Code?
Run this command in your terminal: claude mcp add --transport http while https://app.while.sh/mcp
What are the best alternatives to while?
The closest alternatives to while are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.
Alternatives to while

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools

Codebase Memory
MCP serverLocal MCP server that builds a code knowledge graph for AI coding agents
Runs locally- Open source
- 48.7K GitHub stars
- Knowledge and memory

GitHub
MCP serverOfficial MCP server connecting AI assistants to GitHub repos, issues and workflows
Not checked yet- Remote
- Open source
- 34.5K GitHub stars
- Developer tools

Serena MCP: the IDE for your agent
MCP serverMCP toolkit giving coding agents symbol-level code retrieval and editing
Runs locally- Open source
- 31.5K GitHub stars
- Developer tools

XERJ
MCP serverLocal search engine for AI agents with cited answers over your code and docs
Runs locally- Open source
- 19.2K GitHub stars
- Knowledge and memory

Ouroboros
MCP serverSpec-first layer that pins requirements and verifies results of AI coding agent work
Runs locally- Open source
- 6.4K GitHub stars
- Developer tools