# Install the AnyTrack Docs MCP

> Connect the AnyTrack documentation MCP server to Claude, ChatGPT, Gemini, Perplexity, Grok, Lovable, Base44, Cursor, or Codex so your AI assistant can search the knowledge base and answer setup questions from the real docs.

The AnyTrack documentation MCP server lets AI assistants read the AnyTrack knowledge base directly. Once it is connected, you can ask your AI assistant how to set up an integration, fix a tracking issue, or find the right event name, and it answers from the live docs and links back to the source. This guide connects the server in Claude, Claude Code, ChatGPT, Gemini, Perplexity, Grok, Lovable, Base44, Cursor, and Codex.

<Prerequisites
  title="Before you begin"
  items={[
    { label: "You have an account, or an app installed, for Claude, ChatGPT, Gemini, Perplexity, Grok, Lovable, Base44, Cursor, or Codex (each section below lists the plans and accounts that can add a custom connector or server)", done: true },
    { label: "You can add connectors in your workspace (on team, business, and enterprise plans, an admin controls this)", done: true },
    { label: "You are working in the web or desktop app, not the mobile app", done: true },
  ]}
/>

<Callout icon="📘" theme="info">
**Note**

You do not need a paid AnyTrack plan, or any AnyTrack account, to use the docs MCP. It reads the same public documentation published at readme.anytrack.io.
</Callout>

## The AnyTrack docs MCP server

The server is public and read-only. Point your AI assistant at this address:

```
https://docs.anytrack.ai/mcp
```

It exposes two tools:

- **search_docs**: searches the AnyTrack documentation and returns ranked snippets with links.
- **get_doc_context**: pulls focused context for a specific question or documentation page.

No login, API key, or AnyTrack account is required to connect.

The docs MCP cannot read your AnyTrack account. To let your assistant read your account data, connect the [AnyTrack Account MCP](/docs/anytrack-account-mcp). The Account MCP is a different server, and it is in private beta.

## Add the docs MCP to Claude

Custom connectors work in the Claude web app and desktop app on the Free, Pro, Max, Team, and Enterprise plans. Free accounts can add one custom connector.

1. Open Claude and go to **Settings → Connectors**. On Team and Enterprise plans, a workspace Owner adds connectors under **Organization settings → Connectors**.
2. Click the **+** next to Connectors (**Add custom connector**).
3. Enter a name, for example **AnyTrack Docs**.
4. Paste the server address: `https://docs.anytrack.ai/mcp`
5. Leave the authentication fields empty (the server is public) and save.

Claude connects to the server from Anthropic's cloud, so the address has to be reachable on the public internet. `docs.anytrack.ai` is, so nothing else is needed.

<Callout icon="📘" theme="info">
**Note**

On Team and Enterprise plans, members may need an Owner to approve the connector before it appears in their chats.
</Callout>

### Add the docs MCP to Claude Code

If you work in the terminal, add the server with one command:

```
claude mcp add --transport http anytrack-docs https://docs.anytrack.ai/mcp
```

Add `--scope user` to make it available across all your projects, or `--scope project` to share it with your team through a checked-in `.mcp.json` file. Confirm it registered with `claude mcp list`.

## Add the docs MCP to ChatGPT

ChatGPT reaches custom MCP servers through Developer mode, available on the Plus, Pro, Business, Enterprise, and Education plans on the web.

1. Open ChatGPT and go to **Settings → Apps & Connectors → Advanced settings**.
2. Turn on **Developer mode**.
3. Back in **Apps & Connectors**, click **Create** (or **Create app**).
4. Enter a name such as **AnyTrack Docs** and a short description such as **Search the AnyTrack knowledge base**.
5. Paste the server address: `https://docs.anytrack.ai/mcp`
6. Set the authentication type to **No authentication** and click **Create**.

When the connection succeeds, ChatGPT lists the two tools the server provides. Enable the connector from the tools menu in a chat before you ask a question.

<Callout icon="🚧" theme="warn">
**Beta**

Developer mode and full MCP connectors are a ChatGPT beta, so menu names may shift as OpenAI updates the feature. Only connect servers you trust. This one is read-only and cannot change anything in your AnyTrack account.
</Callout>

## Add the docs MCP to Gemini

Custom apps work with a personal Google Account. You must be 18 or over and in the US, and Keep Activity must be on. Work and school accounts are not supported. You add the app in the Gemini web app.

1. Open gemini.google.com.
2. Click **Settings**, then **Connected Apps**. If you do not see **Connected Apps**, click **Personal Intelligence**, then **Connected Apps**.
3. Under **Custom apps**, click **Add a custom app**.
4. Paste the server address: `https://docs.anytrack.ai/mcp`
5. Click **Next** and follow the on-screen steps.

After you add it on the web, the app is also available in the Gemini mobile app. To make Gemini use it, type `@` in your prompt and select the app.

## Add the docs MCP to Perplexity

1. Open Perplexity and go to **Account settings → Connectors**.
2. Click **+ Custom connector**, then select **Remote**.
3. Enter a name, for example **AnyTrack Docs**.
4. In **MCP Server URL**, paste the server address: `https://docs.anytrack.ai/mcp`
5. Set **Authentication** to **None** and **Transport** to **Streamable HTTP**.
6. Select the box that confirms you understand the risks of custom connectors, then click **Add**.
7. Click the connector card to enable it.

In an Enterprise organization, members can add custom connectors only after an admin turns on **Allow members to add custom connectors**. This setting is off by default.

## Add the docs MCP to Grok

Connectors are available to all Grok users.

1. Go to grok.com/connectors.
2. Click **New Connector**, then select **Custom**.
3. Paste the server address: `https://docs.anytrack.ai/mcp`
4. Complete the steps that Grok shows. The server needs no login.

On Grok Business and Enterprise, a team admin sets up connectors for the team. If you cannot add the connector, ask your admin.

## Add the docs MCP to Lovable

Custom MCP servers work on all Lovable plans. Lovable uses the server in the project chat and in Chats while you build. The server does not become part of your published app.

1. Open Lovable and go to **Connectors**.
2. Click the **+** button in the top right of the catalog.
3. Select **MCP server**.
4. In **Server name**, enter a name, for example **AnyTrack Docs**.
5. If Lovable shows the **Connection** list, select **Direct connection**.
6. In **Server URL**, paste the server address: `https://docs.anytrack.ai/mcp`
7. Select **No authentication**.
8. Click **Add server**.

Chat connections in Lovable are personal. Each member of your workspace adds the server to their own account.

## Add the docs MCP to Base44

Custom MCP connections need the Base44 Builder plan or higher. Base44 uses the connection in the editor chat while you build. Your published app does not call the server.

1. In Base44, click your workspace name at the bottom left.
2. Click **Account preferences**.
3. Click **Builder**, then scroll to **MCP Connections**.
4. Click **Add custom MCP**.
5. In **Name**, enter a name, for example **AnyTrack Docs**.
6. In **URL**, paste the server address: `https://docs.anytrack.ai/mcp`
7. Set **Authentication** to **Not required**. Do not add a header.
8. Click **Test**. Base44 verifies that it can reach the server.
9. Click **Test & add**.

The connection belongs to your Base44 account, and it is available in all of your apps. MCP calls can increase your Base44 credit usage.

## Add the docs MCP to Cursor

Cursor reads MCP servers from an `mcp.json` file. On Enterprise plans, an admin can restrict remote MCP servers to an allowlist of URLs. If your team uses an allowlist, ask your admin to add `https://docs.anytrack.ai/mcp`.

1. Choose where to save the server. Create `~/.cursor/mcp.json` in your home directory to use the server in every project. Create `.cursor/mcp.json` in a project folder to use it in that project only.
2. Add the server to the file. The server needs no `headers` and no `auth` setting.

```json
{
  "mcpServers": {
    "anytrack-docs": {
      "url": "https://docs.anytrack.ai/mcp"
    }
  }
}
```

3. Save the file.
4. Open **Customize** in the Cursor sidebar. Verify that the server is in the list and that it is on.

Cursor asks you to approve each tool call by default. Click the arrow next to a tool name to see the arguments before you approve.

## Add the docs MCP to Codex

Codex keeps its MCP settings in one `config.toml` file. The Codex CLI, the IDE extension, and the ChatGPT desktop app share that file. You configure the server once. By default the file is `~/.codex/config.toml`. A project can have its own `.codex/config.toml`, which Codex reads for trusted projects only.

1. Open `~/.codex/config.toml` in a text editor. Create the file if it does not exist.
2. Add this table:

```toml
[mcp_servers.anytrack-docs]
url = "https://docs.anytrack.ai/mcp"
```

3. Save the file.
4. Verify the server. In the Codex CLI, run `codex mcp list`, or type `/mcp` in the Codex session.

The server needs no sign-in. If Codex finds no credentials for a server, it connects without authentication.

### Add the docs MCP in the Codex IDE extension

1. Open the gear menu in the extension and select **MCP servers**.
2. Select **Add server**.
3. In the name field, enter a name, for example **AnyTrack Docs**.
4. Choose **Streamable HTTP**.
5. In the URL field, paste the server address: `https://docs.anytrack.ai/mcp`
6. Save the server, then select **Restart extension**.

### Add the docs MCP in the ChatGPT desktop app

The ChatGPT desktop app includes Codex and uses the same MCP settings.

1. Open **Settings** and select **MCP servers**.
2. Select **Add server**.
3. In the name field, enter a name, for example **AnyTrack Docs**.
4. Choose **Streamable HTTP**.
5. In the URL field, paste the server address: `https://docs.anytrack.ai/mcp`
6. Save the server, then select **Restart**.

To see the connected servers, type `/mcp` in the composer.

## Verify it works

1. Start a new chat in your AI assistant.
2. Make sure the AnyTrack Docs connector is enabled for the conversation.
3. Ask a question that only the docs would answer, for example: how do I install the AnyTrack Tag?
4. Confirm the reply cites AnyTrack documentation and links back to pages on readme.anytrack.io.

If the assistant answers from the docs and includes knowledge base links, the connection is working. For a refresher on installation itself, see [Install the AnyTrack Tag](/docs/install-anytrack-tag).

## Prompts that work well

The assistant decides on its own when to call the docs, so name the connector in your prompt and ask for sources. These prompts get good results:

- Using the AnyTrack Docs connector, walk me through connecting Shopify step by step.
- Search the AnyTrack docs: which event fires on a purchase, and how do I send it to Meta?
- My Facebook conversions are missing in AnyTrack. Use the AnyTrack docs to help me troubleshoot.
- From the AnyTrack docs, what is the difference between the Tracking Tag and the Conversion API, and which should I use?

Two habits that help:

- **Name the connector** (for example, use the AnyTrack docs) so the assistant searches instead of answering from memory.
- **Ask for the links** so you can open the full guide, then drill into one step at a time.

## Troubleshooting

- **The connector will not add**: Check the address is exactly `https://docs.anytrack.ai/mcp`, with no trailing slash or spaces. Opening `https://docs.anytrack.ai/health` in a browser returns a short ok response when the server is up.
- **Claude cannot reach the server**: Custom connectors run from Anthropic's cloud, not your device, so a local VPN does not block them. A corporate proxy that rewrites the AI provider's outbound traffic can. Test with a personal account to isolate the cause.
- **ChatGPT does not show the Create option**: Developer mode is off, or your plan does not include it. Re-open **Settings → Apps & Connectors → Advanced settings** and turn Developer mode on.
- **Gemini does not show Custom apps**: Custom apps need a personal Google Account, a user who is 18 or over and in the US, and Keep Activity turned on.
- **Lovable shows MCP server in gray**: A workspace admin turned off custom MCP servers. Ask the admin to turn on **Custom MCP** in **Connectors → Admin settings → Chat connectors**.
- **Base44 does not show MCP Connections**: Custom MCP connections need the Builder plan or higher. Upgrade the plan, then open **Account preferences → Builder** again.
- **Base44 does not use the connector**: Open **Account preferences → Builder → MCP Connections**. Verify that the toggle next to AnyTrack Docs is on, then click **Test**.
- **Cursor does not list the server**: Check that `mcp.json` is valid JSON and that the file is in `~/.cursor/` or in the `.cursor/` folder of your project. Open the Output panel with Cmd+Shift+U. Select **MCP Logs** in the dropdown. Look for connection errors.
- **Cursor blocks the server on a team plan**: An admin controls which remote MCP servers the team can use. Ask the admin to approve `https://docs.anytrack.ai/mcp`.
- **Codex does not show the server**: Run `codex mcp list` to see the configured servers. In the IDE extension, select **Restart extension** after you add the server. In the ChatGPT desktop app, select **Restart**.
- **Codex times out when it starts the server**: Codex waits 10 seconds for a server to start by default. To change the wait, add `startup_timeout_sec = 20` to the `[mcp_servers.anytrack-docs]` table.
- **The assistant ignores the docs**: Models decide when to call a tool. Name the connector in your prompt, such as search the AnyTrack docs, so the model knows to use it.

If you are still stuck, [contact support](/docs/contact-support) with the platform and the exact error you see.

## Related articles

<Cards columns={2}>
  <Card title="Getting Started" href="/docs/getting-started" icon="fa-rocket" iconColor="blue-500">
    Set up AnyTrack and track your first conversion.
  </Card>
  <Card title="Install the AnyTrack Tag" href="/docs/install-anytrack-tag" icon="fa-code" iconColor="blue-500">
    Add the Tracking Tag to your site so AnyTrack can collect events.
  </Card>
  <Card title="What is AnyTrack" href="/docs/what-is-anytrack" icon="fa-circle-question" iconColor="blue-500">
    Understand how AnyTrack tracks and attributes conversions.
  </Card>
  <Card title="Contact Support" href="/docs/contact-support" icon="fa-life-ring" iconColor="blue-500">
    Reach the AnyTrack team when you need a hand.
  </Card>
</Cards>

<FaqAccordion
  title="AnyTrack Docs MCP FAQ"
  icon="fa-duotone fa-circle-question"
  items={[
    {
      question: "Do I need a paid AnyTrack plan to use the docs MCP?",
      answer: "No. The documentation MCP server is public and free. It reads the same knowledge base published at readme.anytrack.io, so anyone whose AI assistant accepts a custom MCP connector can connect it, whether or not they have an AnyTrack account."
    },
    {
      question: "Is the AnyTrack docs MCP safe to connect?",
      answer: "Yes. The server is read-only: it can search and return documentation and nothing else. It cannot see your AnyTrack account, change settings, or read your tracking data, and no login or API key is shared."
    },
    {
      question: "What can I ask once it is connected?",
      answer: "Ask setup and troubleshooting questions in plain language, such as how to connect a specific integration, which event name maps to a purchase, or why a conversion is missing. The assistant searches the docs with <code>search_docs</code> and answers with links to the relevant pages."
    },
    {
      question: "Why does my assistant sometimes not use the connector?",
      answer: "Models decide when to call a tool, so it may answer from memory. If that happens, mention the connector by name in your prompt, for example search the AnyTrack docs, to prompt it to use the tool."
    },
    {
      question: "Does the docs MCP work inside my published Lovable or Base44 app?",
      answer: "No. Lovable and Base44 use the docs MCP only in the chat while you build. Your published app does not call the server, and app visitors do not see it."
    },
    {
      question: "Can I add the docs MCP from the mobile app?",
      answer: "Custom connectors are added and managed from the web or desktop apps, and ChatGPT Developer mode is enabled on the web. Once a connector is added to your account, an enabled connector is generally available in your chats."
    }
  ]}
/>
