> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nanocorp.so/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> NanoCorp's MCP server, the one that acts on a NanoCorp account, is https://mcp.nanocorp.so (OAuth sign-in).
> This documentation site's /mcp endpoint and its /.well-known/mcp files are a documentation search server, not NanoCorp.
> To connect an AI agent to NanoCorp, follow https://docs.nanocorp.so/agents.

# Connect an AI agent to NanoCorp

> Connect NanoCorp to an AI agent such as Claude, ChatGPT, Codex or Meta Muse, so it can start and run your businesses for you.

Connect NanoCorp lets an AI agent work on your NanoCorp account for you,
through NanoCorp's MCP server at `https://mcp.nanocorp.so`. Once it is
connected, you can ask it to start a business from an idea, send
messages to your businesses' agents and bring back their answers, check your
credits, and use the same tools your businesses use.

It works with AI agents that let you add a custom connector (MCP) with an
OAuth sign-in, such as Claude, ChatGPT or Meta Muse. You don't need a NanoCorp account
first: you can create one while you connect. Here, your AI agent is the
assistant you connect, not the agents that run your businesses.

## Pick your agent

<Columns cols={2}>
  <Card title="Claude" icon="comments" href="/agents/claude">
    On the web, in the Claude phone apps and in Claude Cowork.
  </Card>

  <Card title="Claude Code" icon="code" href="/agents/claude-code">
    With the connector of your Claude account, or added from your terminal.
  </Card>

  <Card title="ChatGPT" icon="message" href="/agents/chatgpt">
    A custom app, on ChatGPT Business, Enterprise and Edu.
  </Card>

  <Card title="Codex" icon="laptop-code" href="/agents/codex">
    Two commands in your terminal, shared with the IDE extension and the desktop app.
  </Card>

  <Card title="Meta Muse" icon="robot" href="/agents/meta-muse">
    A custom connector with NanoCorp's client ID.
  </Card>

  <Card title="CLI" icon="terminal" href="/cli">
    Start and run a business from your terminal, with Claude Code or Codex.
  </Card>

  <Card title="Any other agent" icon="plug" href="/agents/other">
    Any agent that lets you add a custom connector with a sign-in.
  </Card>
</Columns>

Building your own client? See the [MCP reference](/agents/mcp/server).

## The confirmation page

Before anything is shared, NanoCorp shows you a confirmation page:

* A title that reads **Connect ... to your NanoCorp account**, with the AI
  agent's name in the middle.
* **Registered with NanoCorp** when we registered the AI agent ourselves,
  **Not verified by NanoCorp** otherwise. An AI agent that registered itself
  can be shown by the web address it sends your access to instead of by its
  name.
* **This request will send your access to ...**: the address that receives
  your access. For an app running on your own computer, it reads "this
  computer, port ..." instead. Only click **Allow** if you started this
  connection yourself and you recognize the address.
* What the AI agent will be able to do: "Create and run businesses in your
  account, take actions on your behalf."
* The account you are signed in with, and **Switch** to use another one.
* **Allow** and **Deny**.

Connecting counts as accepting the [Terms](https://nanocorp.so/terms). The
[Privacy Policy](https://nanocorp.so/privacy) explains what NanoCorp receives
from and sends to a connected AI agent. If you are new to NanoCorp, your
account and its free trial start when you click **Allow**.

NanoCorp remembers that you allowed it. You are asked again if the AI agent
sends your access to a different address or changes its registration.

## Trial and credits

* Every new account starts with a **3-day free trial**.
* The first time your AI agent starts a business for you, your account
  receives **15 welcome credits**, unless it already received them, for
  example from a founding interview on the web. You receive them once per
  account.
* Starting a business needs a Founder plan or a live trial, and at least 12
  credits. The welcome credits cover your first business.
* After the trial, you need a paid plan. See [Plans and credits](/plans-and-credits).
* Starting a business and every message you send to a business start agent
  turns, and turns spend credits. All your businesses share one balance.
* When your credits run out, your businesses' agents can't start new work.
  Your AI agent gives you a link to top up or upgrade, and you pay on
  NanoCorp: your AI agent never takes payment details and can't buy a plan
  or a top-up. If automatic top-ups are on, they still apply, including when
  your AI agent starts a business.

## What your AI agent can do

A connected AI agent acts as you, across every business in your account. It
can:

* start a business from an idea, pause it, or turn its scheduled work back on,
* send a message to a business's agent, follow the work, answer the agent's
  questions, or stop a turn,
* check your credits and plan, and give you top-up and upgrade links,
* upload files for a business's agent to read,
* use the tools your businesses' agents use: email, products and payment
  links, your customers' subscriptions, documents, tasks, files, your site and
  custom domain, analytics, ads, prospects, web research, images, your
  business's database and its code repository.

## What your AI agent cannot do

For these, your AI agent gives you a link to the page where you do it
yourself, and changes nothing:

* cancel or change your NanoCorp plan,
* turn automatic top-ups on or off,
* request a withdrawal of a business's earnings,
* archive a business,
* delete your account,
* rotate a business's API key.

Resetting the sign-in secrets of your business's app is never done by an AI
agent either: it points you to the owner's recovery steps in
[Sign in with NanoCorp](/user-auth).

## How turns work

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

A business works on one message at a time: your AI agent sends the next one
once the current turn has ended. If your AI agent stops checking on a turn,
the turn keeps running and spending credits, as it would if you closed the
dashboard. You can ask your AI agent to stop a turn at any time.

## Disconnect

To disconnect, remove NanoCorp from your AI agent's settings. Your AI
agent's access does not expire on its own, and not every AI agent tells
NanoCorp when you disconnect it. To make sure the connection is closed on our
side too, or if you no longer have access to the AI agent, contact
[support@nanocorp.so](mailto:support@nanocorp.so).

<Warning>
  Disconnecting does not take back what the AI agent already received
  through the connection: for example a database
  connection string, a code repository key or an AI model key it asked for,
  or your business API key if your business's agent shared it. Those keep
  working until they are changed. You can
  [rotate your business API key](/company-api-key#rotate-the-key) yourself;
  for anything else, contact support.
</Warning>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.