---
title: "Telegram MCP 服务器：读公开频道 · SocialToAI"
canonical: https://socialtoai.com/zh/mcp/telegram/
updated: 2026-10-30
---

# Telegram MCP 服务器

SocialToAI 是一个托管的 MCP 服务，让你的 AI 直接读 Telegram：读消息详情、账号资料和账号发布的消息。在 Claude、ChatGPT 或 Cursor 里填一个地址就能用，不用 Telegram 账号，不用提供 Cookie，本机也不用装任何东西。每次调用 2 积分（低至 $0.004），失败不扣。最近实测：2026-11-05。

- 页面：https://socialtoai.com/zh/mcp/telegram/
- 最近更新：2026-10-30
- 最近实测：2026-11-05

## 接入 SocialToAI

地址：`https://mcp.socialtoai.com/mcp`

在你的 AI 里添加 MCP 服务器，填这个地址。弹出登录页就用邮箱登录、点“允许”。需要填 Key 的工具，去控制台复制一把 Key，放进请求头：`Authorization: Bearer <YOUR_API_KEY>`。 [去拿 Key](https://socialtoai.com/console/keys/)

在终端里：运行命令，再登录：

Claude Code：

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

然后在 Claude Code 里输入 /mcp，选 socialtoai，登录。

Codex：

```
codex mcp add socialtoai --url https://mcp.socialtoai.com/mcp
```

然后在打开的浏览器里登录。

写程序直接调接口：用 Key，见 [API 文档](https://socialtoai.com/zh/docs.md)。

## 按客户端看详细步骤

同一个地址。每个客户端一页，写明在哪里填、怎么登录，以及接好后可以先问什么。

- [Claude Code](https://socialtoai.com/zh/connect/claude-code.md)：运行命令，再登录、点“允许”
- [Claude app](https://socialtoai.com/zh/connect/claude.md)：粘贴地址，登录后点“允许”
- [ChatGPT](https://socialtoai.com/zh/connect/chatgpt.md)：粘贴地址，登录后点“允许”
- [Cursor](https://socialtoai.com/zh/connect/cursor.md)：填地址，登录后点“允许”
- [Codex](https://socialtoai.com/zh/connect/codex.md)：运行命令，再登录、点“允许”
- [Trae](https://socialtoai.com/zh/connect/trae.md)：几行配置加一把 Key
- [Cherry Studio](https://socialtoai.com/zh/connect/cherry-studio.md)：表单里填地址和 Key
- [Dify](https://socialtoai.com/zh/connect/dify.md)：表单里填地址和 Key
- [n8n](https://socialtoai.com/zh/connect/n8n.md)：表单里填地址和 Key

MCP 页：https://socialtoai.com/zh/mcp.md

## 你的 AI 在 Telegram 上能调用什么

| 工具 | 返回什么 | 价格键 | 积分 | 参数和字段 |
| --- | --- | --- | --- | --- |
| `detail` | 用编号或链接取一条消息：正文、作者、播放或阅读数和发布时间。 | `telegram.detail` | 2 | https://socialtoai.com/zh/telegram-detail-api.md |
| `user_profile` | 一个账号：名称、简介和粉丝数。 | `telegram.user_profile` | 2 | https://socialtoai.com/zh/telegram-user-profile-api.md |
| `user_posts` | 一个账号最近发布的消息。 | `telegram.user_posts` | 2 | https://socialtoai.com/zh/telegram-user-posts-api.md |

## 一次录制的对话

> Telegram 官方频道最近为机器人和 AI 发布了什么？

| 平台 | 工具 | 发了什么 | 请求数 | 返回 | 积分 |
| --- | --- | --- | --- | --- | --- |
| Telegram | [`user_posts`](https://socialtoai.com/zh/telegram-user-posts-api.md) | `username: "telegram"` | 1 | 19 帖 | 2 |
| **合计** |  |  | 1 | 19 条 | **2** |

录制于 2026-10-30

读了公开频道 t.me/telegram 最新的 19 条帖子（2026 年 5 月到 8 月）。和机器人、AI 有关的是：

1. **机器人和 AI 助手的新能力** (32%，6 帖)：[“Telegram bots and AI agents now have access to nearly 100 text formats”](https://t.me/telegram/447)
2. **编辑器里的 AI** (11%，2 帖)：[“generate text with privacy-conscious AI tools”](https://t.me/telegram/450)
3. **每月汇总帖浏览最多** (21%，4 帖)：每条 220 万到 310 万次浏览

本次共 2 积分 · $0.0067。每个结论都能点回原帖。

## 可以这样问

- 这个 Telegram 账号有多大？最近发了什么？ → user_profile, user_posts：4 积分 ($0.013)
- 查一下这个 Telegram 账号，告诉我它是谁。 → user_profile：2 积分 ($0.0067)
- 比较这 3 个 Telegram 账号的粉丝数和发帖数。 → user_profile × 3：6 积分 ($0.02)

## 做不到什么

- **Telegram 没有搜索、热榜和评论**：Telegram 不支持这些动作。调用会返回“不支持”，不扣费。 `search`, `trending`, `comments`
- **Telegram 给不了的字段**：这些字段返回 null，并列在返回的 unavailable 里，你的 AI 会把它读成“平台没给”，不会当成 0。 `title`, `author.id`, `author.verified`, `author.followers`, `metrics.likes`, `metrics.comments`, `metrics.shares`, `metrics.collects`, `metrics.reposts`, `hashtags`, `is_pinned`, `id`, `following`, `posts_count`
- **只读，不代你发布**：你的 AI 不能通过 SocialToAI 在 Telegram 上发帖、评论、点赞、关注或发私信。
- **只有公开可见的内容**：Telegram 上任何人都能看到的内容和账号信息。登录后才看得到的都没有：私密账号、私信、你自己的推荐流。

## 常见问题

**Telegram 有官方 API 吗？这个 MCP 是官方的吗？**

有：Telegram 的 API 向所有有 Telegram 账号的开发者开放。这个 MCP 服务由 SocialToAI 运行，不是平台官方的，和平台没有关联。来源：core.telegram.org，核对于 2026-10-30。

**Claude 和 ChatGPT 能用吗？**

能。在 Claude 或 ChatGPT 的网页版或桌面版里，把上面的地址粘贴为自定义连接器，用邮箱验证码登录后点“允许”。Claude Code、Codex 是一条命令，Cursor 是一段配置，之后同样登录；只能填请求头的工具用一把 Key。

**要 Telegram 账号吗？会牵连我的账号吗？**

不用。不用你的账号，不会牵连你的账号：不用登录 Telegram，不用 Cookie，本机不用装东西。它只读 Telegram 上公开可见的内容，不能发布。

**多少钱？**

每次调用 2 积分起，按第一档约 ¥0.05（$0.0067）。失败不扣，每次调用都写明扣了多少。注册送 100 积分，不用绑卡。

## 相关页面

- [Telegram API](https://socialtoai.com/zh/platforms/telegram.md)
- [TikTok MCP 服务器](https://socialtoai.com/zh/mcp/tiktok.md)
- [Instagram MCP 服务器](https://socialtoai.com/zh/mcp/instagram.md)
- [X MCP 服务器](https://socialtoai.com/zh/mcp/x.md)
- [Reddit MCP 服务器](https://socialtoai.com/zh/mcp/reddit.md)
- [YouTube MCP 服务器](https://socialtoai.com/zh/mcp/youtube.md)
- [Facebook MCP 服务器](https://socialtoai.com/zh/mcp/facebook.md)
- [LinkedIn MCP 服务器](https://socialtoai.com/zh/mcp/linkedin.md)
- [Threads MCP 服务器](https://socialtoai.com/zh/mcp/threads.md)
- [Pinterest MCP 服务器](https://socialtoai.com/zh/mcp/pinterest.md)
- [小红书 MCP 服务器](https://socialtoai.com/zh/mcp/xiaohongshu.md)
- [抖音 MCP 服务器](https://socialtoai.com/zh/mcp/douyin.md)
- [微博 MCP 服务器](https://socialtoai.com/zh/mcp/weibo.md)
- [公众号 MCP 服务器](https://socialtoai.com/zh/mcp/wechat.md)
- [B 站 MCP 服务器](https://socialtoai.com/zh/mcp/bilibili.md)
- [知乎 MCP 服务器](https://socialtoai.com/zh/mcp/zhihu.md)
- [快手 MCP 服务器](https://socialtoai.com/zh/mcp/kuaishou.md)
- [视频号 MCP 服务器](https://socialtoai.com/zh/mcp/wechat-channels.md)
