# Deploy from Claude Code. One line to connect.

> Deploy from Claude Code or Codex with Agent Lab's MCP server: one command, browser sign-in, no API key. Preview, go live and add PostgreSQL in chat.

Web page: https://agentlab.cresclab.com/en/mcp  
繁體中文 (Markdown): https://agentlab.cresclab.com/mcp.md

Crescendo Agent Lab Deploy · MCP server

Agent Lab Deploy is an MCP server. Connect Claude Code or Codex once, sign in, then say "deploy this"; it goes live only when you say so. No API key.

[Start free](https://app.agentlab.cresclab.com/?lang=en&intent=deploy) [Setup docs](https://agentlab.cresclab.com/docs/en/deploy/ai-agent)

A Claude Code session: the user says deploy this, the agent calls sites_create, sites_deploy, sites_deploy_finalize and sites_deploy_status, then reports release 1 built with a preview URL and asks whether to make it live.

Connect

## One command per tool.

Replace acme with your organization's name.

CLAUDE CODE

### Claude Code

```
claude mcp add --transport http agentlab-acme https://mcp.agentlab.cresclab.com/mcp
```

A browser tab opens to sign in. Done.

CODEX

### Codex

```
codex mcp add agentlab-acme --url https://mcp.agentlab.cresclab.com/mcp
codex mcp login agentlab-acme
```

The second line signs you in.

OTHER CLIENTS

### Any MCP client

```
https://mcp.agentlab.cresclab.com/mcp
```

Add as HTTP (streamable); needs OAuth 2.1 with PKCE. Cursor, VS Code, Windsurf, Gemini CLI and Qwen Code work.

Signed up? The console's **MCP** page fills in your organization. No account yet? The [Agent Lab CLI](https://agentlab.cresclab.com/en/deploy/cli) puts a folder online for an hour.

Step-by-step for your tool: [Claude Code](https://agentlab.cresclab.com/en/deploy/claude-code) [Codex](https://agentlab.cresclab.com/en/deploy/codex) [Cursor](https://agentlab.cresclab.com/en/deploy/cursor) [VS Code (GitHub Copilot)](https://agentlab.cresclab.com/en/deploy/vs-code) [Windsurf](https://agentlab.cresclab.com/en/deploy/windsurf) [Gemini CLI](https://agentlab.cresclab.com/en/deploy/gemini-cli) [Agent Lab CLI](https://agentlab.cresclab.com/en/deploy/cli)

From chat to URL

## Connect → Say it → Preview → Live

The agent asks before anything goes live or starts billing.

1. ### Connect
   One command, one sign-in, with your console permissions.
2. ### Say it
   Tell your tool to read app.agentlab.cresclab.com/agent/deploy.md and deploy.
3. ### Preview
   Every release gets a URL; the tool reports the scan and waits.
4. ### Live
   Once it builds and passes the checks, it goes live.

The tools

## Everything the console does, as tools.

Every tool takes the organization, and the branch when there is more than one.

Deploy · domains · secrets

### Apps and releases

- `sites_create`, `sites_deploy`, `sites_deploy_finalize`
- `sites_deploy_status`, `sites_deploy_retry`, `sites_deploy_cancel`, `sites_files`
- `sites_promote` goes live
- `sites_build_plan` previews the build; `sites_build_settings_get`, `sites_build_settings_update`
- `sites_runtime_status`, `sites_runtime_metrics`, `sites_runtime_logs`, `sites_runtime_settings_update`, `sites_restart`, `sites_lifecycle`, `sites_purge`
- `sites_domains_add`, `sites_domains_verify`: custom domains
- `sites_secrets_status`, `sites_secrets_generate`: secrets

Databases · caches · scheduled jobs

### Databases and jobs

- `databases_create` (PostgreSQL 16–18 or MySQL 8.4/9.7, preview first, then confirm)
- `databases_connect_app` wires an app in; the password is never shown
- `databases_allowlist_update`, `databases_stop`, `databases_start`, …
- `caches_create`, `caches_binding_connect`, … when managed caches are on
- `scheduled_jobs_create`, `scheduled_jobs_run`, `scheduled_jobs_runs`, …

Environments · usage · docs

### Workspace

- `environments_list`: the organization's branches
- `usage_summary`: this month's usage and cost
- `docs_read`: the agent looks up the docs itself

[Every tool, with what it returns →](https://agentlab.cresclab.com/docs/en/deploy/mcp-tools)

Why this one

## An MCP server that behaves like a colleague with your badge.

Vercel and Netlify have MCP servers too. Here is the difference.

### Your permissions, not a pasted token

Browser OAuth sign-in; an admin can revoke it any time.

### Going live is a call you approve

It goes live once the checks pass, and the chat shows the progress.

### Checked before it builds

Leaked keys, .env or .git stop the upload, and the agent learns what to fix.

### Owned by your organization

Apps and databases live in your workspace and belong to your organization.

FAQ

## Before you connect

**What is the Agent Lab MCP server?**

Crescendo Agent Lab's deploy platform as an MCP (Model Context Protocol) server at https://mcp.agentlab.cresclab.com/mcp. Claude Code, Codex and other tools deploy sites, container apps, agent services, PostgreSQL and scheduled jobs from the chat, with a preview for every release.

**Do I need an API key?**

No. Sign-in is OAuth 2.1 in your browser, with exactly your console permissions; no key to paste or rotate.

**Which AI tools work?**

Claude Code and Codex take one command each; Cursor, VS Code, Windsurf, Gemini CLI, Qwen Code and other OAuth 2.1 (PKCE) clients add the same endpoint. Clients without OAuth can't connect yet. [Setup steps →](https://agentlab.cresclab.com/docs/en/deploy/ai-agent)

**How does the agent know the procedure?**

Tell it to read https://app.agentlab.cresclab.com/agent/deploy.md, a step-by-step guide for agents; it can also call docs_read to search the docs.

**Is it free?**

Your plan decides what you can deploy: Free runs 1 size-S app that sleeps when idle, 1 S database and 3 static websites; always-on apps, custom domains, a second app or jobs start on Pro at $29 a month before tax. [Deploy pricing →](https://agentlab.cresclab.com/en/deploy#pricing)
