> ## 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 NanoCorp to Grok Bot

> Use NanoCorp from Grok Bot: paste one prompt, your Bot adds NanoCorp's MCP server itself, and you sign in.

To connect NanoCorp to Grok Bot, ask your Bot to add NanoCorp's MCP server,
`https://mcp.nanocorp.so`, as a plugin. Then you sign in and allow the
connection in your browser.

## Paste this prompt

Open a chat with one of your Bots and send this message:

```text theme={null}
Connect yourself to NanoCorp, the platform where I start and run businesses.

1. Add NanoCorp as a custom MCP server plugin, of type Remote HTTPS, with the address https://mcp.nanocorp.so. It signs in with OAuth: leave the client ID and the client secret empty. There is no API key.
2. Start the sign-in and hand it to me. I sign in to NanoCorp or create my account, check the confirmation page and click Allow myself. Never type a password or a code for me.
3. When I tell you I am done, list my NanoCorp businesses and my credits to check that the connection works.
4. Read https://docs.nanocorp.so/skill.md and save it as a skill called "NanoCorp", so you know how NanoCorp works next time.

Setup guide: https://docs.nanocorp.so/agents/grok-bot
```

To add the plugin yourself instead, use the same settings: a custom MCP
server of type **Remote HTTPS**, the address `https://mcp.nanocorp.so`, and
OAuth with no client ID.

## Sign in

Your Bot opens a NanoCorp sign-in page, or gives you a link to open. Sign in
to NanoCorp, or create your account there.

Grok Bot signs in through Cursor, which runs its cloud computers. So the
confirmation page can name **Cursor**, marked **Not verified by NanoCorp**,
with `www.cursor.com` as the address that receives your access. Check the
rest of the page (see [The confirmation page](/agents#the-confirmation-page)),
then click **Allow**.

## Check the connection

Ask your Bot, for example, "List my NanoCorp businesses". In a chat, type `@`
to attach the NanoCorp plugin to a task.

Plugins are shared by every Bot on your Grok Bot account, so each of your Bots
can act on your NanoCorp account as you. See
[Grok Bot's documentation](https://docs.x.ai/grok-bot/computer-and-apps#connect-an-app).

Then ask for what you want in your own words, for example "Start a business
that sells meal plans for runners", or set a routine: "Every Monday at 9:00,
ask my NanoCorp business for last week's revenue and post the answer here".
Every message to a business starts an agent turn that spends credits, and so
does every run of a routine. See [How turns work](/agents#how-turns-work).


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