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/mcpAI 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)
- In Claude, open Settings → Connectors and choose Add custom connector.
- Name it
Trepand paste the connector address. Leave the advanced OAuth fields empty. - Choose Connect. Claude opens Trep: sign in, pick your agency, tick Also allow changes if you want Claude to edit things, and choose Allow.
- 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
- In ChatGPT settings, open Apps & Connectors (connectors may need Developer mode under Advanced settings, depending on your plan).
- Create a connector with the connector address, authentication OAuth.
- 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/mcpOr, 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
- In your dashboard (https://app.test.trep.io), open AI agents.
- 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).
- 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