> The index of all pages is at https://docs.afffast.com/llms.txt.

# ChatGPT

Add the MCP server to ChatGPT as a custom MCP server. You sign in. You need no API key.

ChatGPT connects to the MCP server as a custom MCP server. You add the URL one time. Then you sign in to AffFast and select a workspace. ChatGPT gets a short-lived token for that workspace. You do not copy an API key.

## Before you start

- You add a custom MCP server on ChatGPT on the web. The ChatGPT mobile apps cannot add one.
- Your ChatGPT plan decides what you can do:
  - **Business** and **Enterprise/Edu**: read and write tools. On Business, only admins and owners can add the server. On Enterprise/Edu, an admin can give the permission to other members.
  - **Pro**: read tools only.
  - **Free**, **Go** and **Plus**: check the settings of your account. OpenAI adds plans over time.

## Install

The **AI** page of the dashboard has these steps and a button that copies the URL.

1. In ChatGPT on the web, open [**Plugins**](https://chatgpt.com/plugins). Select the **+** button, then **Add custom MCP server**.
2. Enter the name `AffFast` and, if you want, a description.
3. Under **Connection**, enter the URL `https://api.afffast.com/mcp`.
4. For the authentication, select **OAuth**. ChatGPT finds the settings of the server by itself.
5. Read the risk warning. Select **I understand and want to continue**, then **Create as a plugin**. ChatGPT shows the tools of the server.
6. Install the plugin. ChatGPT opens the AffFast sign-in page. Sign in.
7. On the page **Connect ChatGPT to AffFast**, select:
   - the **workspace**,
   - the **mode**: **Live** for your real data, **Test** for test data,
   - the **access**: **Read only**, or **Read and write**. Read and write cannot do more than your role in the workspace.
8. Select **Allow**.

To use another workspace or another mode, add the server again with another name. Each connection has its own workspace and mode.

## Check that it works

Start a new chat. Type `@` in the message box and select **AffFast**. Then ask a question. ChatGPT can ask you to confirm a tool call that writes data.

## Example prompts

- "@AffFast Show the revenue by network for this year as a table."
- "@AffFast Which conversions are pending for more than 60 days?"
- "@AffFast List my networks and tell me which connections have an error."

Select the app again with `@` when a later question needs new data.

## Troubleshooting

- **There is no Add custom MCP server.** Your plan or your workspace does not allow it. On Business, ask an admin or an owner.
- **The sign-in does not open.** Remove the plugin and add it again. Select **OAuth** as the authentication.
- **The write tools are missing.** Select **Read and write** at the sign-in. On ChatGPT Pro, only read tools work.
- **The connection stops.** Your access ends when you leave the workspace, or when an owner removes you. Connect again from the plugin.
- **ChatGPT gets the error "AI apps are off in this workspace".** An owner or an admin turned off **Allow AI apps** in the workspace settings. When it is on again, the app works again without a new sign-in.
- **A tool call fails after an update of AffFast.** A workspace admin of ChatGPT refreshes the tools of the plugin in the workspace settings.

## Disconnect

Open **AI** in the dashboard. The list **Your connections** has each app that you connected to this workspace and mode. Select **Disconnect**. The app stops at its next request. The account settings list your connections in all workspaces.

Owners and admins see the connections of all members on the **AI** page, and can disconnect each one.

## Security

- You never paste a key into ChatGPT. ChatGPT gets a token that is valid for 15 minutes and a refresh token. Both are for one workspace and one mode. You get an email for each new connection.
- Start with **Test** mode and **Read only** access.
- Each tool call is in the request logs of the dashboard, with a user agent that starts with `mcp`.
