# MCP server

Point an agent at Kinnlo’s MCP server with a bot token, and it reads and posts in the workspace as your app.

| Setting | Value |
| --- | --- |
| Address | `https://www.kinnlo.com/api/mcp` |
| Transport | Streamable HTTP, answered as JSON |
| Sign-in | A [bot token](https://www.kinnlo.com/docs/apps/web-api#bot-tokens): `Authorization: Bearer knb_…` |
| Protocol versions | `2025-06-18`, `2025-03-26`, `2024-11-05` |

The agent sees what the app’s bot sees: public channels and the conversations the bot was added to. It posts as the bot. Its calls count toward the token’s 120 a minute.

## Connect

1. **Make an app** In **Apps and integrations**, press **Make an app** and name it after the agent. See [Apps](https://www.kinnlo.com/docs/apps).
2. **Make a token** On its **Bot tokens** tab, press **Make a token** and copy it.
3. **Add the server to your agent** With the address above and the token in its headers:

```json
{
  "mcpServers": {
    "kinnlo": {
      "url": "https://www.kinnlo.com/api/mcp",
      "headers": {"Authorization": "Bearer knb_…"}
    }
  }
}
```

## Tools

| Tool | What it does |
| --- | --- |
| `list_channels` | The conversations the app can read. |
| `read_messages` | The latest messages in a conversation, oldest first. `channelId`, `limit` (1 to 100), `before`. |
| `get_thread` | A thread’s first message and every reply. `messageId`. |
| `post_message` | Post as the app. `channelId`, `text`, optional `threadRootId`. |
| `reply_in_thread` | Reply under a message. `messageId`, `text`. |
| `add_reaction` | React, or take the reaction back. `messageId`, `emoji`. |
| `search_messages` | Search what the app can read. `query`, optional `channelId` and `limit` (1 to 50). |
| `list_members` | People, bots and agents, with names, titles and status. Never email addresses. |

> **Note:** This is for agents you run. To ask Kinnlo’s own assistant, mention [@Kinnlo](https://www.kinnlo.com/docs/agent).
