ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

Telegram Slack MCP

โดย nileshpatil6รุ่น 0.5.1i★ 0iรันบนเครื่อง
ชื่อใน registryio.github.nileshpatil6/telegram-slack-mcp

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Read and reply to your personal Telegram chats and all your Slack workspaces.

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: แชตและอีเมล
  • ต้องใส่ค่าเหล่านี้: TELEGRAM_API_HASH, SLACK_USER_TOKENS

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

  • ผลตรวจเบื้องต้น: ผ่าน 2 จาก 2 ข้อ
  • รันในเครื่องคุณด้วยสิทธิ์ของผู้ใช้คุณ (ไฟล์ อินเทอร์เน็ต แอปต่าง ๆ)
  • ค่าที่คุณต้องใส่เอง: TELEGRAM_API_ID, TELEGRAM_API_HASH, TELEGRAM_ALLOW_SEND, SLACK_USER_TOKENS, SLACK_ALLOW_SEND, CHAT_MCP_DATA_DIR

ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต

ต้องเตรียมก่อน

  • npmติดตั้ง Node.js (มีคำสั่ง npx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "telegram-slack": {
      "command": "npx",
      "args": [
        "-y",
        "telegram-slack-mcp"
      ],
      "env": {
        "TELEGRAM_API_ID": "ใส่ค่าของคุณ",
        "TELEGRAM_API_HASH": "ใส่ค่าของคุณ",
        "TELEGRAM_ALLOW_SEND": "ใส่ค่าของคุณ",
        "SLACK_USER_TOKENS": "ใส่ค่าของคุณ",
        "SLACK_ALLOW_SEND": "ใส่ค่าของคุณ",
        "CHAT_MCP_DATA_DIR": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add telegram-slack --env TELEGRAM_API_ID='ใส่ค่าของคุณ' --env TELEGRAM_API_HASH='ใส่ค่าของคุณ' --env TELEGRAM_ALLOW_SEND='ใส่ค่าของคุณ' --env SLACK_USER_TOKENS='ใส่ค่าของคุณ' --env SLACK_ALLOW_SEND='ใส่ค่าของคุณ' --env CHAT_MCP_DATA_DIR='ใส่ค่าของคุณ' -- npx -y telegram-slack-mcp

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "telegram-slack": {
      "command": "npx",
      "args": [
        "-y",
        "telegram-slack-mcp"
      ],
      "env": {
        "TELEGRAM_API_ID": "ใส่ค่าของคุณ",
        "TELEGRAM_API_HASH": "ใส่ค่าของคุณ",
        "TELEGRAM_ALLOW_SEND": "ใส่ค่าของคุณ",
        "SLACK_USER_TOKENS": "ใส่ค่าของคุณ",
        "SLACK_ALLOW_SEND": "ใส่ค่าของคุณ",
        "CHAT_MCP_DATA_DIR": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "telegram-slack": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "telegram-slack-mcp"
      ],
      "env": {
        "TELEGRAM_API_ID": "ใส่ค่าของคุณ",
        "TELEGRAM_API_HASH": "ใส่ค่าของคุณ",
        "TELEGRAM_ALLOW_SEND": "ใส่ค่าของคุณ",
        "SLACK_USER_TOKENS": "ใส่ค่าของคุณ",
        "SLACK_ALLOW_SEND": "ใส่ค่าของคุณ",
        "CHAT_MCP_DATA_DIR": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • TELEGRAM_API_ID env
    api_id from https://my.telegram.org (Telegram server only)
  • TELEGRAM_API_HASH ความลับ env
    api_hash from https://my.telegram.org (Telegram server only)
  • TELEGRAM_ALLOW_SEND env
    Set to 1 to allow sending Telegram messages as you. Off by default.
  • SLACK_USER_TOKENS ความลับ env
    One Slack user token (xoxp-) per workspace, comma separated (Slack server only)
  • SLACK_ALLOW_SEND env
    Set to 1 to allow posting to Slack as you. Off by default.
  • CHAT_MCP_DATA_DIR env
    Where the Telegram session is stored. Defaults to ~/.chat-mcp

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ใช้กับโปรแกรมไหนได้

ดูจากแบบการต่อของ server ตัวนี้ และเอกสารของผู้ทำโปรแกรมแต่ละตัว ตรวจเมื่อ 10 พ.ย. 2569

ติดตั้งบนเครื่องได้ใน

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

ดูโปรแกรมทั้งหมดพร้อมข้อดีข้อเสีย →

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 10 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub nileshpatil6 ซึ่งเป็นเจ้าของ repo

  • ✓ ผ่าน

    ยังมีคนดูแล

    มีการแก้โค้ดล่าสุด 2 เดือนที่ผ่านมา

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด แชตและอีเมลi

  • ดาวมากกว่า 0% ของอีก 1926 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 26% ของอีก 1926 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 1926 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Telegram Slack MCP ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 2 จาก 2 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: TELEGRAM_API_HASH, SLACK_USER_TOKENS

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด 2 เดือนที่ผ่านมา และส่งรุ่นล่าสุด (0.5.1) เข้า registry 2 เดือนที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js, Python (uv) ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Inbox Zero, Agent-Native Mail, Agent-Native Dispatch

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Inbox Zero

Search Gmail and Outlook, save drafts, manage email rules, and view email stats.

โดย elie222ใช้กันมาก★ 13Kอัปเดต 40 วันที่ผ่านมา

รันบนคลาวด์

Agent-Native Mail

Agent-Native Superhuman - email client with keyboard shortcuts and AI triage

โดย BuilderIOใช้กันมาก★ 7.7Kอัปเดต 2 เดือนที่ผ่านมา

รันบนคลาวด์

Agent-Native Dispatch

Central Slack/Telegram router with jobs, memory, approvals, and A2A delegation

โดย BuilderIOใช้กันมาก★ 7.7Kอัปเดต 2 เดือนที่ผ่านมา

รันบนคลาวด์

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

telegram-slack-mcp

Give Claude your actual chats.

Two MCP servers that connect Claude to your *personal* Telegram and Slack accounts — your real DMs, groups, and channels, not a bot inbox.

claude mcp add telegram -- npx -y telegram-slack-mcp telegram

claude mcp add slack -- npx -y telegram-slack-mcp slack

Then just talk:

*"what's unread on telegram from actual people?"*

*"read my last 30 messages with Priya and draft a reply"*

*"search all my slack workspaces for the deploy postmortem"*

*"what's in the screenshot Priya sent me?"*


Why this exists

Most Telegram integrations use the Bot API, which only sees messages sent *to a bot you created*. It cannot read your existing conversations. telegram-slack-mcp uses MTProto, the same protocol the official app uses, authenticating as you — so Claude sees the chats you actually have.

For Slack, the usual connector is scoped to one workspace. telegram-slack-mcp takes one user token per workspace and treats them as a single surface, so "search everywhere" means everywhere.

Install

Pick whichever runtime you already have. Both ship the same tools.

Node
claude mcp add telegram -- npx -y telegram-slack-mcp telegram

claude mcp add slack -- npx -y telegram-slack-mcp slack

Python
claude mcp add telegram -- uvx telegram-slack-mcp telegram

claude mcp add slack -- uvx telegram-slack-mcp slack

Claude Code plugin
/plugin marketplace add nileshpatil6/telegram-slack-mcp

/plugin install telegram@telegram-slack-mcp /plugin install slack@telegram-slack-mcp

Other MCP clients (Claude Desktop, Cursor, …)

{

"mcpServers": { "telegram": { "command": "npx", "args": ["-y", "telegram-slack-mcp", "telegram"], "env": { "TELEGRAM_API_ID": "1234567", "TELEGRAM_API_HASH": "your_hash" } }, "slack": { "command": "npx", "args": ["-y", "telegram-slack-mcp", "slack"], "env": { "SLACK_USER_TOKENS": "xoxp-one,xoxp-two" } } } }

Setup

Telegram — 2 minutes
  1. Go to https://my.telegram.org → API development tools → create an app.
  2. Copy the api_id and api_hash, and set them:
   claude mcp add telegram      -e TELEGRAM_API_ID=1234567      -e TELEGRAM_API_HASH=your_hash      -- npx -y telegram-slack-mcp telegram
  1. Link your account. Either ask Claude — "log into telegram" — or do it yourself in a terminal, which needs no MCP client at all:
   TELEGRAM_API_ID=1234567 TELEGRAM_API_HASH=your_hash npx -y telegram-slack-mcp login
   # PowerShell

$env:TELEGRAM_API_ID="1234567"; $env:TELEGRAM_API_HASH="your_hash" npx -y telegram-slack-mcp login

Either way you scan a QR and the session is saved to ~/.chat-mcp.

Through Claude:

It calls login, which returns a link to a page showing a QR code (and the code as text, if your client renders it). Scan it from Telegram on your phone — Settings → Devices → Link Desktop Device — then it calls login_status to confirm. No phone number, no SMS code, no 2FA password typed anywhere. On the same machine you can click "open in Telegram Desktop" instead of scanning.

The session is saved to ~/.chat-mcp and persists; you do this once.

Can't scan? Use the phone-number flow

login_start(phone) sends you a code, login_complete(code, password?) finishes. Note that with this path your phone number and login code pass through the conversation as tool arguments, so they land in the model's context. The QR flow keeps them out of it.

Slack — 5 minutes
  1. Go to https://api.slack.com/apps → Create New App → From a manifest.
  2. Paste slack-app-manifest.yaml — it prefills every scope.
  3. Install to Workspace, then copy the User OAuth Token (xoxp-…, not xoxb-).
  4. Repeat step 3 for each workspace you want. Same app, one token each.
  5. Ask Claude: "connect my slack" — the login tool prompts for the tokens, verifies each one against Slack, and saves them to ~/.chat-mcp. Nothing to put in your config.

Prefer environment variables? That still works:

   claude mcp add slack -e SLACK_USER_TOKENS=xoxp-aaa,xoxp-bbb -- npx -y telegram-slack-mcp slack

Slack has no local OAuth flow, which is why you create the app yourself: Slack's OAuth requires a client secret and an HTTPS redirect URL, so a package distributed over npm cannot complete it without either shipping a secret publicly or running a callback server. This project has no server, so it asks for the token instead.

Tools

Telegram
toolwhat it does
login()scan a QR to link your account — no phone number or code
login_status()check whether the QR has been scanned yet
login_start(phone)fallback: send yourself a login code
login_complete(code, password?)finish login, save the session
whoami()which account is connected
list_chats(limit, query, unread_only, kind)recent chats; kind filters to dm, group, channel, bot…
read_chat(chat, limit, before_id)messages of one chat — chat takes @username, id, or part of a name
search_messages(query, chat?, limit)full-text search, one chat or all
unread_summary(limit, per_chat, kind)catch-up view; kind: "dm" skips the channel noise
read_media(chat, message_id, max_kb)view a photo or file — returns the actual image, not just its type
send_message(chat, text, reply_to?)reply as you — off unless `TELEGRAM_ALLOW_SEND=1`
Slack
toolwhat it does
login()prompts for your xoxp- tokens, verifies them, saves them
whoami()every connected workspace and who you are in each
list_channels(limit, query, workspace, types)channels across workspaces
list_dms(limit, workspace)1:1 and group DMs
read_channel(channel, limit, workspace, before_ts)one channel or DM
read_thread(channel, thread_ts, limit, workspace)replies inside a thread
search_messages(query, limit, workspace)supports in:#chan, from:@user
unread_summary(limit, per_chat, workspace)what's unread everywhere
read_file(file_id, workspace, max_kb)view a file shared in Slack — returns the actual image
send_message(channel, text, workspace, thread_ts?)post as you — off unless `SLACK_ALLOW_SEND=1`

Every Slack tool takes an optional `workspace` (any substring of the name). Leave it blank to act across all of them; it's only required when a channel name exists in more than one, and the error tells you which.

Configuration

variabledefaultmeaning
TELEGRAM_API_ID—from my.telegram.org
TELEGRAM_API_HASH—from my.telegram.org
TELEGRAM_ALLOW_SEND01 lets Claude send Telegram messages as you
SLACK_USER_TOKENS—one xoxp- token per workspace, comma separated
SLACK_ALLOW_SEND01 lets Claude post to Slack as you
CHAT_MCP_DATA_DIR~/.chat-mcpwhere the Telegram session is stored

Sending is off by default in both servers. Reading is the safe default; you opt into writing deliberately.

Privacy

Nothing is sent to any server belonging to this project. There is no such server.

telegram-slack-mcp runs entirely on your machine. The only network traffic it makes is directly to Telegram's and Slack's own APIs, using your own credentials. There is no telemetry, no analytics, no crash reporting, no license check, no "phone home" — grep the source, there is no endpoint to find.

The data path is exactly this:

your machine  <-->  Telegram / Slack APIs      (your credentials, your account)

your machine <--> Claude (only what you ask Claude to read)

Your credentials never reach Claude. Your session file and xoxp- tokens stay in ~/.chat-mcp and in your environment; the servers use them locally to make API calls and pass back only the messages themselves.

What *does* reach Claude is the chat content you ask about — because that is the point of the tool. If you ask Claude to read a conversation, that conversation goes into your Claude conversation and is handled under Anthropic's privacy policy, exactly like text you paste in yourself. Nothing else is read, and nothing is read in the background: the servers only act when Claude calls a tool.

The author of this project cannot see any of it.

Security

Read this part.

  • These act as you, not as a bot. Anything sent shows as sent by your account, and people in those chats cannot tell the difference.
  • The stored session is a full credential. ~/.chat-mcp/telegram.session and your xoxp- tokens are equivalent to being logged in as you. Anyone who copies them has your account. They never leave your machine, and nothing here phones home.
  • Everything Claude reads enters the model's context. Don't point this at accounts holding data you would not send to a model.
  • Telegram calls this a userbot. Automating a personal account is restricted by Telegram's ToS. Light personal read-and-reply use is common and low risk; bulk automation gets accounts banned. Your call, your account.
  • Revoke any time: Telegram → Settings → Devices, or delete the token in Slack's app settings. Deleting ~/.chat-mcp drops the local session.

Troubleshooting

"Telegram not logged in yet" — run the login flow: ask Claude to log in with your phone number. It persists after that; if it keeps reappearing, check that CHAT_MCP_DATA_DIR is writable.

"Missing Telegram credentials" — TELEGRAM_API_ID / TELEGRAM_API_HASH aren't reaching the server. With claude mcp add, pass them with -e.

Slack returns nothing at all — you're almost certainly authorized against an empty or wrong workspace. Run whoami to see which workspaces are actually connected.

`"#general" exists in several workspaces` — pass workspace to disambiguate; the error lists your options.

Slack search returns `not_allowed_token_type` — the token is a bot token (xoxb-). You need the User OAuth token (xoxp-).

Development

git clone https://github.com/nileshpatil6/telegram-slack-mcp

cd telegram-slack-mcp npm install && npm run build node dist/cli.js telegram # run the server on stdio

cd python && python -m build # build the Python distribution

License

MIT