# Connect AI (/en/claude)

Tebar's MCP address (for ChatGPT, Claude Code, and other apps):

```txt
https://api.tebar.app/mcp
```

Before you start, make sure you [have a Tebar account and have connected Instagram, Threads, or TikTok](/en/mulai).

## Claude (claude.ai, Claude Desktop, and the mobile apps) [#claude-claudeai-claude-desktop-and-the-mobile-apps]

Tebar is in Claude's official connector directory, so there is no URL to paste.

1. Open [claude.ai/directory/tebar](https://claude.ai/directory/tebar).
2. Click **Connect**. You are sent to a Tebar page: log in, then choose the access.
3. In a chat, make sure the Tebar connector is on with the **+** button → **Connectors**.

This connector needs a paid plan: Starter, Basic, or Pro (with a 14-day trial). See [Plans & limits](/en/paket).

## ChatGPT [#chatgpt]

1. In ChatGPT on the web, open **Plugins** in the sidebar, click **Add**, then **Add custom MCP server**.
2. Enter the name `Tebar`, the **Server URL** `https://api.tebar.app/mcp`, and **OAuth** authentication.
3. Tick **I understand and want to continue**, then click **Create as a plugin**.
4. Log in to Tebar and allow access.
5. In a chat, type **@** and pick **Tebar**.

Works on every ChatGPT plan, including Free. In ChatGPT Business, Enterprise, or Edu workspaces, only admins (or members given permission) can add MCP servers. ChatGPT's menus can change at any time. If the names differ, look for the option to add an MCP server by URL.

## The permission page [#the-permission-page]

While connecting, Tebar shows a consent page with two choices:

| Access             | What the AI can do                                                          |
| ------------------ | --------------------------------------------------------------------------- |
| **Read only**      | See accounts, posts, comments, and statistics. It cannot post or reply      |
| **Read and write** | All of the above, plus create, edit, and cancel posts and reply to comments |

You can give read-only access even when the app asks for both (turn off **Allow writing**).

## Claude Code, Cursor, and other AI agents (API key) [#claude-code-cursor-and-other-ai-agents-api-key]

Create an API key in the dashboard: the account menu (bottom left corner) → **API keys** → **Create an API key**. The key is only shown once, so store it safely.

Claude Code:

```bash
claude mcp add --transport http tebar https://api.tebar.app/mcp \
  --header "Authorization: Bearer tb_live_xxx"
```

Cursor and other MCP clients that use a JSON config file:

```json
{
  "mcpServers": {
    "tebar": {
      "type": "http",
      "url": "https://api.tebar.app/mcp",
      "headers": { "Authorization": "Bearer tb_live_xxx" }
    }
  }
}
```

<Callout type="warn">
  An API key is as sensitive as a password. Don't put it in a public repo or send it in a chat. If
  it leaks, revoke it on the API keys page and create a new one.
</Callout>

## The AI asks before posting [#the-ai-asks-before-posting]

Tebar asks the AI to confirm the text and target accounts with you before posting, and to show suggested comment replies before sending them, unless you ask it to reply right away.

## Revoking access [#revoking-access]

Open the account menu → **API keys** → the **Connected apps** section, then click **Revoke** on Claude, ChatGPT, or another app. Its access stops right away. API keys are revoked from the same page.
