Talktoplanb Mcp

io.github.JMLEE850623由 GitHub 账号 JMLEE850623 发布v1.0.1更新于 Oct 25, 2026

MCP server for TalkToPlanB: list rooms, read & send messages (WhatsApp alternative).

已验证STDIO仅桌面效率与工作流沟通与协作

概览

AI 生成的概览

面向 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 服务的网络。
安装前请注意
API 密钥是写入客户端配置的机密,持有者可在其权限范围内操作。该服务器能向房间和手机号发送消息,助手可能因此联系真实用户。消息内容会发送到 TalkToPlanB 服务。默认地址并非常见域名,使用密钥前请确认信任该服务。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Talktoplanb Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

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

ToolDescription
whoamiAccount info for the current API key (user id, username, scopes).
list_roomsList your group chats and direct messages (returns room ids).
read_messagesRead recent messages in a room (roomId, optional limit).
send_messageSend a message by roomId or toPhone (plus text).

1. Get an API key

  1. Open the developer portal: https://talktoplanb.duckdns.org/portal
  2. Register / log in, create a key, and grant the messages:read and messages:send scopes.
  3. 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):

json
{  "mcpServers": {    "talktoplanb": {      "command": "npx",      "args": ["-y", "talktoplanb-mcp"],      "env": {        "TALKTOPLANB_API_KEY": "ttpb_your_key_here"      }    }  }}

Restart Claude Desktop, then try: “List my TalkToPlanB rooms” or “Send a TalkToPlanB message to +60123456789 saying hello.”

Environment variables

VariableRequiredDefault
TALKTOPLANB_API_KEY✅—
TALKTOPLANB_BASE_URL❌https://talktoplanb.duckdns.org

3. Local development

bash
cd mcp-servernpm installnpm run build      # compiles src → distTALKTOPLANB_API_KEY=ttpb_... npm start

4. Publish to npm (so npx talktoplanb-mcp works for everyone)

bash
cd mcp-servernpm loginnpm publish --access public

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).
  • stdout carries the MCP protocol; all logs go to stderr.
  • The server only does what your API key is allowed to do (its scopes).

来源:README.md,提交 cbbb68d

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.0.1最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分