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

# Use Afterhours from your AI assistant or agent

> Connect Claude, ChatGPT, Grok or Cursor to Afterhours through MCP to search markets and draft strategies from a chat. Nothing trades from there.

Afterhours is agent-ready. Any AI assistant or agent that speaks MCP, such as Claude, ChatGPT, Grok or Cursor, can search markets and draft strategies with Afterhours. Nothing trades from there: a draft opens in Afterhours, where you read it and start it.

## Connect an assistant

**1. Copy the address**

In the app, open **Settings** and find **Use Afterhours from your AI assistant**. Copy the **Address**.

**2. Add it as a connector**

In Grok, Claude or ChatGPT, add the address as a custom connector and sign in when it asks. You don't need a key.

**3. Draft from the chat**

Ask your assistant for a strategy. The draft appears in Afterhours for you to read and start.

Connected assistants are listed in **Settings**, where you can disconnect them.

## Let an assistant read your runs

With a key, an assistant can also read your runs and their returns. It cannot start, change or stop anything. In **Settings**, choose **Create a key**, then pass the key as a Bearer token.

```bash Claude Code theme={"system"}
claude mcp add --transport http afterhours <address> --header "Authorization: Bearer <key>"
```

```json Cursor and others (mcp.json) theme={"system"}
{
  "mcpServers": {
    "afterhours": {
      "url": "<address>",
      "headers": { "Authorization": "Bearer <key>" }
    }
  }
}
```

Replace `<address>` with the address from **Settings** and `<key>` with your key.

## What an assistant can do

| It can | It cannot |
| - | - |
| Search markets | Start a strategy |
| Draft a strategy, and update or dismiss its own drafts | Change or stop a run |
| See top traders | Move funds |
| Read your runs and their returns, with a key | Trade for you |

## Watch an agent trade

![The Afterhours agent, a black humanoid robot with a green light on its face](https://mintcdn.com/afterhours/fcqVPfALQn41YiCp/images/agent.png?fit=max\&auto=format\&n=fcqVPfALQn41YiCp\&q=85\&s=0728a591aa1234faa6be0d258056250b)

Our public experiment is a \$10,000 practice fund run by an AI agent. Its page shows live equity, open positions and the agent's reasoning for every move. It trades practice money only. [Open the fund](https://afterhouragent.xyz/agents).

Agents that you create inside the app are on the [roadmap](https://docs.afterhouragent.xyz/about/roadmap.md).


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