trep.docs
trep.docs

AI agents

Connect your AI app

Add Trep as a connector (a remote MCP server) in your AI app. It takes about a minute.

Before you start

  • You need to be the agency’s owner on Trep, signed up at https://accounts.test.trep.io.
  • Have the connector address ready:
Connector address
https://mcp.app.test.trep.io/mcp

AI apps rename their menus often. If a step below doesn’t match exactly, look for “connectors”, “integrations”, “custom connector” or “MCP server”.

Claude (web, desktop and mobile)

  1. In Claude, open Settings → Connectors and choose Add custom connector.
  2. Name it Trep and paste the connector address. Leave the advanced OAuth fields empty.
  3. Choose Connect. Claude opens Trep: sign in, pick your agency, tick Also allow changes if you want Claude to edit things, and choose Allow.
  4. In a chat, turn the Trep connector on from the tools menu and ask: “What’s my next trip?”
Custom connectors are available on Claude plans that support them. Connectors you add on the web also appear in the desktop and mobile apps.

ChatGPT

  1. In ChatGPT settings, open Apps & Connectors (connectors may need Developer mode under Advanced settings, depending on your plan).
  2. Create a connector with the connector address, authentication OAuth.
  3. Sign in to Trep when asked, pick your agency and allow it.

Claude Code

Add the connector, then run /mcp in Claude Code to sign in:

Terminal
claude mcp add --transport http trep https://mcp.app.test.trep.io/mcp

Or, with an access token instead of signing in:

Terminal
claude mcp add --transport http trep https://mcp.app.test.trep.io/mcp \
  --header "Authorization: Bearer trep_pat_…"

Cursor, VS Code and other MCP clients

Most clients take a JSON config. With a client that supports OAuth, the address is enough; otherwise add an access token as a header.

mcp.json (Cursor and most clients)
{
  "mcpServers": {
    "trep": {
      "url": "https://mcp.app.test.trep.io/mcp",
      "headers": { "Authorization": "Bearer trep_pat_…" }
    }
  }
}
.vscode/mcp.json (VS Code)
{
  "servers": {
    "trep": {
      "type": "http",
      "url": "https://mcp.app.test.trep.io/mcp",
      "headers": { "Authorization": "Bearer trep_pat_…" }
    }
  }
}

Access tokens

Create one

  1. In your dashboard (https://app.test.trep.io), open AI agents.
  2. Under Access tokens, give it a name you’ll recognise (“Cursor on my laptop”), choose View only or View and make changes, and how long it lasts (30 days, 90 days or a year).
  3. Copy the token (it starts with trep_pat_). It’s shown once: if you lose it, revoke it and make a new one.
A token works like a password for your agency. Don’t paste it into chats, shared documents or code you publish. Revoke it in the dashboard if it might have leaked: agents using it stop within a minute.

Disconnect

In the dashboard under AI agents, choose Disconnect next to an app or Revoke next to a token. A disconnected app stops working within 10 minutes (when its short-lived access expires); a revoked token within a minute.

See every tool