> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zapbip.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 连接任意 MCP 客户端

> 连接 URL、Bearer 替代方式和工具。

zapbip 通过Streamable HTTP 使用 MCP。任何支持它的客户端，都可以使用 zapbip 提供给你的智能体的连接 URL 进行连接。

## 连接 URL

```text theme={null}
https://<zapbip-host>/c/<secret>/mcp
```

URL 中的密钥就是这条连接本身。请保密。

## Bearer 替代方式

对于无法在 URL 中隐藏密钥的客户端，使用 `/mcp`，并把密钥放在请求头里发送：

```text theme={null}
POST https://<zapbip-host>/mcp
Authorization: Bearer <secret>
```

两种形式连到同一个智能体。缺少密钥或密钥错误时，返回 `401`。

## 工具

| 工具 | 作用 |
| - | - |
| [send\_message](https://docs.zapbip.com/zh/mcp-reference/send-message.md) | 发送文本。 |
| [send\_media](https://docs.zapbip.com/zh/mcp-reference/send-media.md) | 发送图片、视频、音频、文档或贴纸。 |
| [send\_location](https://docs.zapbip.com/zh/mcp-reference/send-location.md) | 发送位置定位点。 |
| [send\_contact](https://docs.zapbip.com/zh/mcp-reference/send-contact.md) | 发送联系人名片。 |
| [react](https://docs.zapbip.com/zh/mcp-reference/react.md) | 用表情符号回应。 |
| [ask](https://docs.zapbip.com/zh/mcp-reference/ask.md) | 用按钮或列表提问并等待。 |
| [wait\_for\_reply](https://docs.zapbip.com/zh/mcp-reference/wait-for-reply.md) | 等待答案或下一条消息。 |
| [get\_messages](https://docs.zapbip.com/zh/mcp-reference/get-messages.md) | 读取未读消息和最近的历史。 |
| [check\_inbox](https://docs.zapbip.com/zh/mcp-reference/check-inbox.md) | 查看是否有新内容在等待。 |
| [create\_upload](https://docs.zapbip.com/zh/mcp-reference/create-upload.md) | 为本地字节预留一次上传。 |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.