# Connect ChatGPT to Onsite

> Add Onsite to ChatGPT as a custom MCP server, sign in, and ask about your sites in any chat.

Add Onsite to ChatGPT once, then ask about your sites in any chat.

## Before you start

- An Onsite account on a team with an active plan.
- A ChatGPT plan that lets you add a custom MCP server. In a ChatGPT workspace, your workspace admin may need to allow custom servers first.

## Add Onsite

<Steps>
  <Step title="Open ChatGPT's plugin page">
    In Onsite, open [**Settings › MCP**](https://onsite.so/settings/mcp), choose **ChatGPT**, and select **Open ChatGPT**. Onsite copies the server URL and opens ChatGPT.

    You can also start in [ChatGPT](https://chatgpt.com/plugins?plugins_landing=1): go to **Plugins**, select **Add**, then **Add custom MCP server**.
  </Step>
  <Step title="Fill in the form">
    | Field | Value |
    | --- | --- |
    | Name | `Onsite` |
    | Connection › Server URL | `https://onsite.so/mcp` |
    | Authentication | Leave it as **OAuth** |

    Leave every other field as it is.
  </Step>
  <Step title="Create the plugin">
    Tick **I understand and want to continue**, then select **Create as a plugin**.
  </Step>
  <Step title="Sign in to Onsite">
    Onsite opens in a new window. Sign in with Google, or with a code sent to your email.
  </Step>
  <Step title="Choose a team and allow access">
    If you're on more than one team, pick the one ChatGPT should use. Select **Allow**, and you're back in ChatGPT.
  </Step>
</Steps>

## Check it worked

Start a new chat in ChatGPT and ask:

<Prompt>
  Using Onsite, show me the sites I can access.
</Prompt>

ChatGPT lists your sites. In Onsite, **Settings › MCP** now shows **Connected to ChatGPT**.

## If something goes wrong

<AccordionGroup>
  <Accordion title="I can't find Add custom MCP server">
    ChatGPT moves this setting from time to time, and some workspaces turn it off. Look for custom connectors or developer settings in ChatGPT's settings, or ask your workspace admin to allow custom MCP servers.
  </Accordion>
  <Accordion title="The form asks for a command and shows STDIO">
    You're in the Codex app, not ChatGPT. To use Onsite in Codex, follow [Connect Codex](/mcp/codex). For ChatGPT, open [chatgpt.com](https://chatgpt.com/plugins?plugins_landing=1) in your browser.
  </Accordion>
  <Accordion title="ChatGPT asks for a client ID or secret">
    Check that **Authentication** is set to **OAuth** and leave the client fields empty. Onsite doesn't need them.
  </Accordion>
  <Accordion title="ChatGPT answers without using Onsite">
    Check that the Onsite plugin is turned on for the chat, and start your question with "Using Onsite".
  </Accordion>
  <Accordion title="ChatGPT shows the wrong team's sites">
    Each connection uses one team. Remove Onsite from ChatGPT, add it again, and pick the other team when you sign in. See [Manage connections](/mcp/manage-connections#switch-to-another-team).
  </Accordion>
  <Accordion title="It worked before and now it doesn't">
    A connection lasts 90 days, and stops if you revoke it or leave the team. Connect again from ChatGPT. See [Troubleshooting](/mcp/troubleshooting).
  </Accordion>
</AccordionGroup>

## Related

<CardGroup cols={2}>
  <Card title="What you can ask" icon="lightbulb" href="/mcp/ask">
    Example questions to try next.
  </Card>
  <Card title="Manage connections" icon="key-round" href="/mcp/manage-connections">
    See, switch and disconnect your AI tools.
  </Card>
</CardGroup>
