---
title: Deploy with an AI tool
description: Let Claude Code, Codex or another MCP client create the app, upload and go live for you. You sign in once in your browser.
url: https://agentlab.cresclab.com/docs/en/deploy/ai-agent
language: en
updated: 2026-10-06
---

# Deploy with an AI tool

Let Claude Code, Codex or another MCP client create the app, upload and go live for you. You sign in once in your browser.

## 1. Connect Agent Lab MCP

Run the command for your tool in a terminal. Replace `acme` with your organization's name; the console's **MCP** page shows the command with it filled in.

**Claude Code**

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

**Codex**

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

**Other MCP clients**
Add an HTTP MCP server at:

```text
https://api.agentlab.cresclab.com/v1/mcp
```

A sign-in page opens in your browser. Sign in and choose your organization to finish.

> [!NOTE] No password, token or API key
> Authorization happens in the browser. The connection can do what you can do in the console, and nothing more.

## 2. Ask it to deploy

In your project folder, ask the tool to read the deploy guide and follow it:

```prompt
Read https://app.agentlab.cresclab.com/agent/deploy.md and follow it to deploy this folder to the Agent Lab organization acme.
```

To have it look something up in these docs, give it a page's Markdown address or the index at `https://agentlab.cresclab.com/docs/en/llms.txt`. The MCP server also has a `docs_read` tool that returns the same pages.

## 3. What it does

1. **Finds or creates the app** It confirms the address label with you first, because labels can't be reused.
2. **Uploads** It uploads the zip straight to the address the platform gives it. Your files don't pass through the conversation.
3. **Waits for the build** It checks the version's status until the build succeeds or fails.
4. **Asks before going live** It tells you which version will go live and waits for your OK.

> [!NOTE] You still enter secrets yourself
> The tool tells you where to enter a secret. It won't ask you to paste one into the conversation.

See [MCP tools](https://agentlab.cresclab.com/docs/en/deploy/mcp-tools.md) for every tool.
