# Connect Followop to your AI agent

> How to connect the Followop MCP server to Claude, Claude Code, Cursor, Claude Desktop, n8n and any MCP client, with OAuth or an API key.

The Followop MCP server lives at:

```
https://pay.followop.com.br/followop/mcp
```

It's Streamable HTTP. There are two ways in, and both give access to the same account with the same tools:

- **Sign-in (OAuth):** the client opens the Followop screen, the person signs in to the account and authorizes. This is what Claude uses.
- **`fop_` API key:** created at https://www.followop.com.br/mcp (signed in to the account). For Claude Code, Cursor, n8n and scripts. The full key is shown only once.

## No account yet: the agent opens one

No login, on the public MCP:

```
https://pay.followop.com.br/followop/mcp/public
```

Tools `about_followop`, `list_plans`, `start_account_signup` (name, email, WhatsApp number with area code) and `confirm_account_signup` (the 6-digit code the owner gets on WhatsApp). Confirming returns the `fop_` key for the main endpoint and a sign-in link to the dashboard. 7-day trial, no card: 1 number, 300 messages, campaigns up to 50 contacts, one trial per WhatsApp number.

Over HTTP, same path: `POST https://pay.followop.com.br/followop/mcp/signup` with `{ "name", "email", "whatsapp" }`, then `POST .../signup/verify` with `{ "signupId", "code" }`.

Anyone connecting through the Claude or ChatGPT connector without an account creates it right there, on the Followop authorization screen.

## Claude (web, desktop app and mobile)

1. Settings, Connectors, Add custom connector
2. Name `Followop` and the URL above. Leave the OAuth client ID and secret blank
3. Add, then Connect. The Followop screen opens: sign in to the account and click Authorize
4. In a conversation, turn on the connector and ask "read the guide followop://guia/visao-geral and show me the account"

## Claude Code

```
claude mcp add --transport http followop https://pay.followop.com.br/followop/mcp --header "Authorization: Bearer fop_YOUR_KEY"
```

Without the key, Claude Code opens the browser so you can authorize:

```
claude mcp add --transport http followop https://pay.followop.com.br/followop/mcp
```

## Cursor

In `.cursor/mcp.json`:

```
{ "mcpServers": { "followop": {
    "url": "https://pay.followop.com.br/followop/mcp",
    "headers": { "Authorization": "Bearer fop_YOUR_KEY" } } } }
```

## Claude Desktop through the config file

Only if you don't want to use the connector. The file doesn't take an HTTP server directly, so it goes through the `mcp-remote` bridge:

```
{ "mcpServers": { "followop": {
    "command": "npx",
    "args": ["-y", "mcp-remote", "https://pay.followop.com.br/followop/mcp",
             "--header", "Authorization: Bearer fop_YOUR_KEY"] } } }
```

## ChatGPT

On plans that allow custom connectors: Settings, Apps and connectors, Create (developer mode), the server URL above, OAuth. The Followop screen opens to sign in or create the account and authorize.

## Grok

At grok.com/connectors: New connector, custom MCP, paste the server URL and finish the sign-in. Grok finds the tools on its own.

## Perplexity

On paid plans: Settings, Connectors, Custom connector, Add MCP connector, the server URL and OAuth.

## n8n

MCP Client node (or MCP Client Tool inside an AI Agent): the endpoint above, HTTP Streamable transport, Bearer authentication with the `fop_` key.

## Other MCP clients

Any client that speaks MCP over HTTP works with the same URL. If it supports OAuth with dynamic client registration, it opens the Followop authorization screen on its own. If not, send the key in the `Authorization: Bearer fop_...` header.

## Quick test

```
curl -X POST https://pay.followop.com.br/followop/mcp \
  -H "Authorization: Bearer fop_YOUR_KEY" -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
```

## Several accounts and security

Each credential belongs to one account. To operate another account, create the key while signed in to it, or authorize again choosing the other account (in Claude that becomes one connector per account). Keys and connected apps show up at https://www.followop.com.br/mcp with their last use, and can be revoked right away. Everything an agent changes goes into the account's activity history under the credential's name.

The tools, guides and prompts are written in Portuguese; any current model reads them fine.
