# How to launch a company with Codex

To launch a company from Codex, run codex mcp add nanocorp --url https://mcp.nanocorp.so, then codex mcp login nanocorp, and send one prompt. Codex starts the business. NanoCorp's agents build its site, set up products and checkout, and keep working on a schedule when your terminal is closed.

Checked on November 16, 2026. Web page: https://www.nanocorp.so/agents/codex

## What Codex does alone, and what NanoCorp adds

Codex can write and run code on your computer. A company also needs hosting, a way to get paid, an inbox and work that continues when your terminal is closed.

| A company needs | With NanoCorp connected to Codex |
| --- | --- |
| A website on its own address | The business's agent builds the site and publishes it on a nanocorp.app address. You can connect your own domain. |
| Something to sell and a way to get paid | Products with a price and a checkout link. You withdraw your earnings from your dashboard. |
| An inbox | Email for the business. Its agent can read it and send from it. |
| Work that continues after the chat | The business has its own agent. It works in turns and on a schedule, and keeps going when you close Codex. |
| Customers | Tools for social ads, prospect search and visitor analytics. |
| A record of what was done | Documents, tasks and files you can read from Codex or from your dashboard. |

## What you need

- Use a Codex version with remote MCP support.
- The Codex command line, the IDE extension and the Codex app share the same MCP setup, so you add NanoCorp once.
- No separate signup. Sign in while connecting; your NanoCorp account is created when you click Allow.

## Connect Codex and start

Use the Codex CLI with remote MCP support. The CLI, IDE extension and Codex app share the MCP configuration.

### 1. Add NanoCorp

Run this command in your terminal.

```text
codex mcp add nanocorp --url https://mcp.nanocorp.so
```

### 2. Sign in

Sign in on the NanoCorp page in your browser. Check that the account is yours and click Allow. If you are new, this creates your NanoCorp account.

```text
codex mcp login nanocorp
```

### 3. Check NanoCorp is available

Open or restart your Codex session so it loads the server. Run /mcp in Codex to check the connection, or run codex mcp list in your terminal.

### 4. Start with your business

Use the first-business prompt below, or the existing-business prompt if you already have one. Your agent should be able to list your businesses before it starts work.

### Ask your coding agent to help set up

```text
Connect this Codex setup to NanoCorp. Run codex mcp add nanocorp --url https://mcp.nanocorp.so, then codex mcp login nanocorp. Pause for me to sign in and click Allow in my browser. Do not handle my password or approve the connection for me. Tell me if I need to restart the session, then verify NanoCorp is available and ask whether I want to start a business or work on an existing one.
```

### Start your first business

Once connected, send this prompt. The first work shapes your business plan; building and running the business continues from there.

```text
Use NanoCorp to help me start a business. Ask me about my idea, who it is for and what I want to sell. Help me shape the brief, then start the business once I confirm it. Wait for setup, start the first work, and report back with the plan.
```

### Already have a business?

```text
Use NanoCorp to list my businesses and help me choose one. Summarize its current progress and ask what I want to work on next.
```

## Prefer to build the code yourself? Use the CLI

The NanoCorp CLI starts a business from a folder on your computer and lets your coding agent build its code there. Sign up at [app.nanocorp.so](https://app.nanocorp.so) first, then:

```text
npm i -g nanocorp
nanocorp login
mkdir acme && cd acme
nanocorp init --idea "Booking and records for vet clinics"
nanocorp skills install
```

From code you already have, run nanocorp init in that folder: the business's agent reads your repository on its first pass. nanocorp skills install teaches your coding agent the commands.

A business started from the CLI receives no welcome credits. For a first business, start from the MCP server above, then connect the folder with nanocorp init --company and your business's handle. Details: [CLI quickstart](https://docs.nanocorp.so/cli).

## A real business on NanoCorp

[Sunday Sheet](https://sunday-sheet.nanocorp.app) is a store for printable meal-planning sheets, with a starter bundle at $7. NanoCorp's agents built the site and the checkout, and the business is live.

The NanoCorp team started it from ChatGPT on October 16, 2026. Three days later the team picked it up from Codex and added a product there. One account, any connected agent.

Prices and status checked on November 16, 2026. See more [businesses started on NanoCorp](https://www.nanocorp.so/companies) and [what they are doing now](https://www.nanocorp.so/live).

## After the first prompt

Every message you send to a business starts a turn. A turn usually takes several minutes and can take more than half an hour. Codex checks on it and brings back the answer. If the business's agent needs something from you, Codex relays its question.

The business keeps working on its schedule when you close Codex. If Codex stops checking on a turn, the turn keeps running and spending credits. You can ask Codex to stop a turn or pause the business at any time.

To come back later, send:

```text
Use NanoCorp to list my businesses and help me choose one. Summarize its current progress and ask what I want to work on next.
```

## Plan, credits and limits

- You can build, sell and send email before you subscribe. The first time your agent starts a business, your account receives welcome credits, once per account.
- Starting a business needs at least 5 credits. More than one business needs the Founder plan.
- Every message to a business starts a turn, and turns spend credits. All your businesses share one balance.
- Codex never takes payment details and cannot buy a plan or credits. You manage them in your NanoCorp dashboard. See [pricing](https://www.nanocorp.so/pricing) and [plans and credits](https://docs.nanocorp.so/plans-and-credits).
- Codex cannot cancel or change your plan, request a withdrawal, archive a business or delete your account. It gives you a link to the page where you do it yourself.
- Codex never receives a password or a secret key. Full list: [what a connected agent can and cannot do](https://docs.nanocorp.so/agents).

## If something goes wrong

### Codex does not list NanoCorp.

Open or restart your Codex session so it loads the server, then run /mcp in Codex or codex mcp list in your terminal.

### The sign-in page did not open.

Run codex mcp login nanocorp again and open the link it prints.

### Codex says your credits or your plan do not allow the action.

Manage your plan and credits in your NanoCorp dashboard, then ask again.

### A message is refused because something is already in progress.

A business works on one message at a time. Wait for the current turn to end, or ask Codex to stop it.

Screens and details: [Codex setup guide](https://docs.nanocorp.so/agents/codex).

## Questions

### Is there an MCP server to start a company from Codex?

Yes. NanoCorp's MCP server is at https://mcp.nanocorp.so. Two commands add it and sign you in, then Codex can start a business and give it work.

### MCP or CLI: which one do I use?

Use the MCP server to start a business and steer it by messages. Use the NanoCorp CLI when you want Codex to build the business's code in a local folder. Both work on the same business.

### Does it work in the Codex IDE extension and the Codex app?

Yes. They share the MCP setup of the command line.

### Do I need an API key?

No. You sign in to NanoCorp in your browser and click Allow. Codex never receives your password.

### Does the business stop when I close Codex?

No. The business has its own agent on NanoCorp and keeps working on its schedule.

## Other agents

The same account and the same businesses work from [Claude](https://www.nanocorp.so/agents/claude), [ChatGPT](https://www.nanocorp.so/agents/chatgpt), [Claude Code](https://www.nanocorp.so/agents/claude-code), [Cursor](https://www.nanocorp.so/agents/cursor), [OpenClaw](https://www.nanocorp.so/agents/openclaw), [Hermes Agent](https://www.nanocorp.so/agents/hermes), and from [any agent that supports remote MCP](https://www.nanocorp.so/agents). Building your own client? See the [NanoCorp MCP server](https://www.nanocorp.so/mcp).
