io.github.JMLEE850623/talktoplanb-mcp

السجل الرسمي أخرى

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

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

NPM package talktoplanb-mcp
Claude Code
claude mcp add talktoplanb-mcp -e 'TALKTOPLANB_API_KEY=<your talktoplanb_api_key>' -- npx -y talktoplanb-mcp@1.0.1
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "talktoplanb-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "talktoplanb-mcp@1.0.1"
            ],
            "env": {
                "TALKTOPLANB_API_KEY": "<your talktoplanb_api_key>"
            }
        }
    }
}

متغيرات البيئة

  • TALKTOPLANB_API_KEY إلزامي سري Your TalkToPlanB API key (ttpb_...), created in the developer portal

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. TalkToPlanB MCP Server
  2. Tools
  3. 1. Get an API key
  4. 2. Use it with Claude Desktop
  5. 3. Local development
  6. 4. Publish to npm (so npx talktoplanb-mcp works for everyone)
  7. Notes

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):

{
  "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

cd mcp-server
npm install
npm run build      # compiles src → dist
TALKTOPLANB_API_KEY=ttpb_... npm start

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

cd mcp-server
npm login
npm 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).

الأسئلة الشائعة

ما هو io.github.JMLEE850623/talktoplanb-mcp؟

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

كيف أثبّت io.github.JMLEE850623/talktoplanb-mcp؟

يعمل على جهازك. في Claude Code: claude mcp add talktoplanb-mcp -e 'TALKTOPLANB_API_KEY=<your talktoplanb_api_key>' -- npx -y talktoplanb-mcp@1.0.1. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج io.github.JMLEE850623/talktoplanb-mcp إلى مفتاح API؟

نعم. يتطلب TALKTOPLANB_API_KEY، وتضبطها في إعداداته.

هل io.github.JMLEE850623/talktoplanb-mcp مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون io.github.JMLEE850623/talktoplanb-mcp؟

ينشره JMLEE850623. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.