Skip to content
Clevera Help Center

Connect Claude, ChatGPT, Cursor or Gemini CLI to Clevera

Connect Claude, ChatGPT, Cursor or Gemini CLI to Clevera with a sign-in, or set up Claude Code, Codex CLI and other MCP clients with an API token. Server URL, setup steps and troubleshooting.

Updated 13 min read

You can let AI apps such as Claude, ChatGPT, Cursor, Gemini CLI, Claude Code and Codex work in your Clevera workspace through Clevera's MCP server. Claude, ChatGPT, Cursor and Gemini CLI connect with a sign-in (a connector, no token needed); other coding agents and scripts connect with an API token.

Inside Clevera you don't need any of this: the Clevera agent in the bottom-right corner does the same work in the app.

Before you start

  • AI agents & API, including the connectors for Claude, ChatGPT, Cursor and Gemini CLI, is on the Pro and Custom plans. On other plans the connector shows "AI app connectors are on Pro and up."
  • An agent acts as you, within what your role allows. See Agent permissions.

Choose how to connect

You use Connect with What you do
Claude (claude.ai) or ChatGPT A connector (sign in with Clevera) Paste the Connector URL in the app and allow access. No token.
Cursor A connector, or an API token Click Add to Cursor and sign in when Cursor asks, or send a token in the header.
Gemini CLI A connector, or an API token Run one command, then sign in with /mcp auth clevera, or send a token in the header.
Claude Code, Codex CLI, other MCP clients An API token Run the setup command with your token.
Your own scripts An API token Call the REST API.

The MCP server address is the same for every app:

https://app.clevera.ai/mcp

Connect Claude, ChatGPT, Cursor or Gemini CLI

The Connected apps tab is the first tab of AI agents & API and opens by default. Its card, Connect your AI app ("Use Clevera from Claude, ChatGPT, Cursor or Gemini CLI. No token needed."), walks you through the steps for the app you pick. Once an app is connected, the card is titled Connect another app and sits under the list of connected apps.

The Connected apps tab with Claude picked: open Connectors in Claude, add a custom connector with the URL, then sign in and choose access
Pick your app at the top of the card, then follow its steps.
  1. Pick your app

    Open the workspace menu, choose AI agents & API, and stay on Connected apps. Pick Claude, ChatGPT, Cursor or Gemini CLI at the top of the card. The steps below the picker change to match.

  2. Add Clevera to the app

    App What the card shows What you do
    Claude Open Connectors in Claude ("It’s under Customize.") with an Open Claude button, then Add a custom connector with the Connector URL Choose Add a custom connector, name it Clevera and paste the URL.
    ChatGPT Open Plugins page in ChatGPT with an Open ChatGPT button, then Add a custom MCP server with the Connector URL Click Add, then Add custom MCP server, name it Clevera and paste the URL.
    Cursor Add Clevera to Cursor with an Add to Cursor button Click Add to Cursor. Cursor opens and asks you to install the Clevera server.
    Gemini CLI Add Clevera to Gemini CLI ("Run this in your terminal.") with a command to copy Run the command in your terminal.

    The Cursor and Gemini CLI details are below.

  3. Sign in and choose the access

    The last step is Sign in and choose access. The app sends you to Clevera's Connect app to Clevera screen. Sign in if you aren't, then choose:

    • Workspace: the workspace the app works in.
    • Sites: All sites ("Every current and future site of this workspace.") or Chosen sites, when the access includes doc sites. This limits doc sites only; the library, brands, files, analytics, team and billing stay workspace-wide.
    • Access: a preset or Custom permissions. Permissions your role doesn't allow show Not for your role. Pick Workspace agent to give the app every tool, including Autopilot, brands, collections, analytics, team and billing. See Agent permissions.
    • Connection lasts: 30 or 90 days. The default is 90 days.
  4. Allow access

    Click Allow access. You go back to the app, which can now use Clevera's tools. "You can disconnect it any time in Integrations → AI agents & API." Click Deny to send nothing.

Below the steps, Need help? Read the step-by-step guide links to this article. The same connector steps are also in the Connect an agent panel that opens after you create a token, on its Sign in, no token tab.

Cursor and Gemini CLI

The Connected apps tab with Cursor picked: the Add to Cursor button, the mcp.json alternative, then sign in and choose access
Add to Cursor installs the server; Cursor then asks you to sign in.
  1. Click Add to Cursor. Your browser asks to open Cursor, and Cursor asks you to install the Clevera server.
  2. When Cursor asks you to sign in, it opens Clevera's connect screen in your browser. Sign in, choose the access and click Allow access.

If the button doesn't open Cursor, add Clevera to ~/.cursor/mcp.json yourself, then restart Cursor ("Or add it to ~/.cursor/mcp.json yourself, then restart Cursor:"):

~/.cursor/mcp.json
{
  "mcpServers": {
    "clevera": {
      "url": "https://app.clevera.ai/mcp"
    }
  }
}

If the file already lists other servers, add the clevera entry inside the existing mcpServers. You can turn the server on or off, or remove it, under Customize → MCPs in Cursor.

The connect screen

The connect screen shows who you're connecting:

  • Verified app · returns you to address: a known app (Claude or ChatGPT), recognized by the address it returns to.
  • Returns you to address: any other app, including Cursor and Gemini CLI, which return to an address on your own computer (localhost). Check the address before you allow access.

The workspace owner and admins get a notification, "app was connected to workspace", with the access you chose.

What a connected app can and can't do

  • It acts as you, within your role, with the access you picked. It only sees the recordings, videos and collections you can see.
  • With the right access it can make videos, clips and articles, run Autopilot tasks, pick templates, styles and brands, organize collections, read analytics, plan usage and your team, and work on doc sites. Every connection can also search this help center. See Use Autopilot, templates, brands and analytics from Claude or ChatGPT.
  • It can't delete videos, articles or recordings, and it can't publish to YouTube, TikTok or other platforms yet (coming soon).
  • It works over MCP only. Its sign-in can't be used on the REST API: "OAuth connector tokens work on the MCP server only. Use a static token for the REST API."
  • It has no spend caps of its own, so every paid start from a connected app waits for a person to approve it on Agent requests. See Control agent spending and approvals.
  • Each person can have up to 20 connected apps.
  • The connection ends when its lifetime (30 or 90 days) runs out; then you connect the app again. An app that doesn't use Clevera for 30 days also has to sign in again.
  • An app connected before a permission existed doesn't get it. To add the newer tools, connect the app again and pick them.

Connect Claude Code, Codex or another agent with a token

Create an API token first. When it's created, Connect an agent shows ready-made setup with your workspace's server address, and an Agent guide link with more detail for agents.

In the Token created dialog, where the token is shown once, the Claude Code, Gemini CLI and curl commands already contain your token, so you can copy and run them as they are. The Codex CLI and Cursor setup and .mcp.json don't: they read the token from the CLEVERA_TOKEN environment variable each time they run, so it never goes into a file. A hint under the tabs says so: "Codex, Cursor and .mcp.json read the token from CLEVERA_TOKEN: set it in your shell or the agent’s secret store." Opened later, without the token on screen, every snippet reads $CLEVERA_TOKEN instead. The samples below show <your-token> where the dialog puts your real token.

Terminal
claude mcp add --transport http clevera https://app.clevera.ai/mcp --header "Authorization: Bearer <your-token>"

claude mcp add saves the header as it is when you run it. That is why the dialog fills in the token itself: an unset $CLEVERA_TOKEN would be saved as an empty "Bearer " header. If you run the command later, replace <your-token> with the token yourself.

Other MCP clients that read an mcpServers file take the same server entry as .mcp.json.

Check that it works

Ask the agent what it can do in Clevera, to list your recordings, or "How do I add my own domain to a Clevera doc site?" (it answers from this help center). The agent only sees the tools its permissions allow, all in one list, so a short list usually means a narrow token. Everything it does shows on the Activity tab.

Disconnect an app

On the Connected apps tab, click the disconnect button at the end of the app's row and confirm with Disconnect ("Disconnect app?"). "The app loses access immediately. Connecting it again needs a new sign-in." The row stays listed (dimmed) for 30 days.

The workspace owner and admins see every connected app in the workspace ("Apps people in this workspace connected.") and can disconnect any of them. Everyone else sees and disconnects their own ("Apps you connected.").

Troubleshooting

On screen Cause Fix
The app only says it couldn't connect, or the Clevera tools stop working The workspace is no longer on Pro or up; Clevera answers "The agent API is not on this workspace's plan. It is on Pro and up." Upgrade the workspace to Pro. The app works again; nothing was deleted.
workspace "(plan doesn’t include connected apps)" on the connect screen / "This workspace’s plan does not include connected apps." That workspace isn't on Pro or up. Upgrade it, or choose another workspace.
"This request expired" / "Too much time passed since the app asked. Start connecting again from the app." The connect screen was left open too long. Start connecting again from the app. In Gemini CLI, run /mcp auth clevera again.
"This app isn’t registered" / "The app that sent you here is unknown to Clevera." The app's registration is missing or was removed. Remove the connector or server in the app and add it again.
"This request can’t be trusted" / "The app asked to send you back to an address it didn’t register. Nothing was shared." The return address didn't match. Start connecting again from the app. If it keeps happening, don't connect that app.
"Choose a workspace you are a member of." No workspace was chosen, or you left it. Pick one of your workspaces.
Add to Cursor does nothing Cursor isn't installed on this computer, or the browser blocked the link. Install Cursor, or add the mcp.json entry yourself and restart Cursor.
Gemini CLI doesn't open a browser to sign in You're over SSH, in a container or on a computer without a browser. Run Gemini CLI on a computer with a browser, or use an API token.
The agent says it has no Clevera tools, or lacks Autopilot or brand tools The token or connection doesn't have the permissions the task needs, was made before they existed, or was revoked. Check the token's access on the Tokens tab, or connect again and pick them.
"OAuth connector tokens work on the MCP server only." A script used a connector's sign-in on the REST API. Use an API token for scripts.

More messages: Fix agent and API errors.