# Answer chats from Claude, ChatGPT, Cursor or any MCP client

> Connect an AI assistant to your Reponly inbox through the MCP server: add the server URL, approve once, and it can read, search and answer customer chats as you. Needs the Pro plan.

Reponly has no built-in AI bot: customers talk to people. The MCP server lets your own assistant help you do that, for example by summarising the week's questions or drafting replies for you to check. It uses your own AI subscription, so there are no per-resolution fees. It needs the **Pro** plan.

## Server URL

```text
https://reponly.com/mcp
```

Add it to your assistant. It opens Reponly in your browser, where you sign in and approve the connection: no token to copy. (Streamable HTTP with OAuth 2.1; older setups using `/api/mcp` keep working.)

## Connect your assistant

### Claude

In Claude's connector settings, choose **Add custom connector**, paste the server URL and connect. Reponly's consent page opens: check what it may do and click **Allow**.

### ChatGPT

Add a custom MCP server with the server URL and choose OAuth for authentication. ChatGPT opens Reponly's consent page.

### Claude Code

```sh
claude mcp add --transport http reponly https://reponly.com/mcp
```

Then run `/mcp` in Claude Code, pick **reponly** and authenticate in the browser.

### Cursor, Windsurf and other MCP clients

Add this to the client's MCP config (for Cursor, `.cursor/mcp.json` in your project or `~/.cursor/mcp.json`). The client asks you to sign in the first time:

```json
{
  "mcpServers": {
    "reponly": {
      "url": "https://reponly.com/mcp"
    }
  }
}
```

### VS Code

Add this to `.vscode/mcp.json`; VS Code asks you to sign in the first time:

```json
{
  "servers": {
    "reponly": {
      "type": "http",
      "url": "https://reponly.com/mcp"
    }
  }
}
```

### Codex

Add this to `~/.codex/config.toml`, then run `codex mcp login reponly`:

```toml
[mcp_servers.reponly]
url = "https://reponly.com/mcp"
```

## What you allow

- **Read**: your products, chats and saved replies. Always included.
- **Reply**: send replies to customers and mark chats done, under your name. Untick it on the consent page to connect read-only; the assistant can still draft replies for you to send.
- The assistant acts as you, across every product in your workspace.
- See and disconnect connected apps in **Profile → AI assistants**. A connection stays active while it's used and ends after 30 days without use.

## Tools

Read only:

- `list_products`: your products (apps or websites) and how many chats need a reply in each.
- `list_conversations`: inbox conversations by view: needs reply, responded, snoozed or all.
- `get_conversation`: a conversation's customer and messages.
- `search_messages`: messages across every conversation, to see what customers ask about.
- `list_saved_replies`: your team's saved replies.

These change things, and only appear when you allowed replying:

- `reply_to_conversation`: sends a message to the customer right away, as you.
- `set_conversation_status`: marks a chat as responded, or moves it back to the queue.

## Things to ask

- Summarise what customers asked about this week and group it by theme.
- Draft replies for every chat that needs a reply, and show me before sending.
- Find every bug report about billing in the last month.

## Safety

- `reply_to_conversation` sends right away, and the assistant has no tool to edit or delete what it sent (you can, from the inbox). Ask for drafts first, and keep your client's approval prompt on for tools that change things.
- **Customer messages are untrusted input.** Anyone can write "ignore your instructions and…" in a chat. A well-behaved assistant treats it as text, but review what it plans to send, and don't let it act on instructions that came from a customer.
- While it reads your inbox, don't give the same assistant session secrets or tools it doesn't need for support.
- Only approve a connection you just started yourself. The consent page shows where it will send you back to.

## Personal tokens

For clients that can't sign in with OAuth, and for scripts. In Reponly, open **Profile → AI assistants** and create a token. It starts with `rpo_mcp_`, is shown once and doesn't expire, so revoke it there when you stop using it. Then send it as a header:

```sh
claude mcp add --transport http reponly https://reponly.com/mcp \
  --header "Authorization: Bearer YOUR_TOKEN"
```

```json
{
  "mcpServers": {
    "reponly": {
      "url": "https://reponly.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_TOKEN"
      }
    }
  }
}
```

In Codex, keep it out of the config file with `bearer_token_env_var = "REPONLY_MCP_TOKEN"` and set that variable in your environment.

## Troubleshooting

- **401**: not connected, or the connection was disconnected or expired. Reconnect from your assistant (or check your personal token).
- **402**: the workspace isn't on Pro (for example, the trial ended), or your seat is inactive because the workspace is over its agent limit.
- **429**: more than 120 requests a minute from one connection. Wait for the time in the `Retry-After` header, about a minute.
- **No reply tools**: the connection is read-only. Disconnect it in Profile → AI assistants and connect again with replying allowed.
