
Talktoplanb Mcp
io.github.JMLEE850623由 GitHub 账号 JMLEE850623 发布v1.0.1更新于 Oct 25, 2026
MCP server for TalkToPlanB: list rooms, read & send messages (WhatsApp alternative).
概览
面向 TalkToPlanB 的本地 MCP 服务器,让助手通过 TalkToPlanB API 列出聊天房间、读取最近消息并发送消息。
- 可以做什么
- 查询当前 API 密钥对应的账号信息(用户 ID、用户名、权限范围)。列出群聊和私聊及其房间 ID。读取某个房间的最近消息,可限制条数。按房间 ID 或直接按手机号发送消息。
- 适用场景
- 当你希望助手处理 TalkToPlanB 会话时适用:查看某房间的近期消息、查找房间 ID,或在桌面 MCP 客户端中向房间或手机号发送消息。
- 运行要求
- 通过 npx(npm 包 talktoplanb-mcp)以 stdio 在本地运行,需要 Node.js 18 或更高版本。需要在环境变量 TALKTOPLANB_API_KEY 中提供在开发者门户创建的 TalkToPlanB API 密钥,并授予 messages:read 和 messages:send 权限。可选环境变量 TALKTOPLANB_BASE_URL 可覆盖默认 API 地址。需要能访问 TalkToPlanB 服务的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 Talktoplanb Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
TalkToPlanB MCP Server
Let AI assistants (Claude Desktop, and any Model Context Protocol client) use TalkToPlanB — list chat rooms, read messages, and send messages.
It wraps the TalkToPlanB developer REST API and talks MCP over stdio.
Tools
1. Get an API key
- Open the developer portal: https://talktoplanb.duckdns.org/portal
- Register / log in, create a key, and grant the
messages:readandmessages:sendscopes. - Copy the key (looks like
ttpb_xxxxxxxx...).
2. Use it with Claude Desktop
Add this to your Claude Desktop config
(%APPDATA%\Claude\claude_desktop_config.json on Windows,
~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
Restart Claude Desktop, then try: “List my TalkToPlanB rooms” or “Send a TalkToPlanB message to +60123456789 saying hello.”
Environment variables
3. Local development
4. Publish to npm (so npx talktoplanb-mcp works for everyone)
After publishing, you can list it on MCP registries (mcp.so, Glama, Smithery) —
see ../marketing/listing-checklist.md.
Notes
- Requires Node.js 18+ (uses the built-in
fetch). stdoutcarries the MCP protocol; all logs go tostderr.- The server only does what your API key is allowed to do (its scopes).
来源:README.md,提交 cbbb68d
工具
0版本历史
1- v1.0.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分