Skip to main content

telegram-slack-mcp

MCP servers that give Claude access to your personal Telegram and Slack accounts. Python distribution of telegram-slack-mcp.

There is also an npm build of the same servers if you prefer Node: npx -y telegram-slack-mcp telegram.

Install

uvx telegram-slack-mcp telegram   # or: pipx install telegram-slack-mcp

Register with Claude Code:

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

Telegram

Uses MTProto as your account, so it sees your real DMs, groups and channels, not just messages sent to a bot.

  1. Get an api_id and api_hash from https://my.telegram.org → API development tools.
  2. Set TELEGRAM_API_ID and TELEGRAM_API_HASH.
  3. Ask Claude to log you in: it calls login_start with your phone, you paste the code Telegram sends, it calls login_complete. One time only.

Tools: login_start, login_complete, whoami, list_chats, read_chat, search_messages, unread_summary, send_message.

Slack

Reads and posts across all your workspaces at once.

  1. Create an app at https://api.slack.com/apps from the manifest in the repo.
  2. Install it to each workspace, copying the User OAuth Token (xoxp-...) each time.
  3. Set SLACK_USER_TOKENS to all of them, comma separated.

Tools: whoami, list_channels, list_dms, read_channel, read_thread, search_messages, unread_summary, send_message. Every tool takes an optional workspace filter.

Environment

variable meaning
TELEGRAM_API_ID / TELEGRAM_API_HASH from my.telegram.org
TELEGRAM_ALLOW_SEND 1 to allow sending as you (default off)
SLACK_USER_TOKENS one xoxp- token per workspace, comma separated
SLACK_ALLOW_SEND 1 to allow posting as you (default off)
CHAT_MCP_DATA_DIR where sessions live (default ~/.chat-mcp)

Privacy

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

Everything runs on your machine. The only outbound traffic is to Telegram's and Slack's own APIs with your own credentials. No telemetry, no analytics, no phone-home.

Credentials never reach Claude — they stay in ~/.chat-mcp and your environment. What reaches Claude is only the chat content you ask it to read, handled under Anthropic's privacy policy like any text you paste in yourself. The servers are passive and read nothing in the background.

Security

These act as you, not as a bot. Sending is off by default in both servers. The Telegram session file and Slack xoxp- tokens are full account credentials — keep them out of git. Automating a personal Telegram account is a userbot, which Telegram's ToS restricts; light personal use is common, bulk automation risks a ban. Anything Claude reads enters the model's context.

MIT licensed. Full docs: https://github.com/nileshpatil6/telegram-slack-mcp

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

telegram_slack_mcp-0.2.1.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

telegram_slack_mcp-0.2.1-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file telegram_slack_mcp-0.2.1.tar.gz.

File metadata

  • Download URL: telegram_slack_mcp-0.2.1.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.9

File hashes

Hashes for telegram_slack_mcp-0.2.1.tar.gz
Algorithm Hash digest
SHA256 ec9c040e313bcd46fbeaba5d2c0f90915cd282536eb575f2a4562bbf3e1b6c6a
MD5 441545ef3144a768b377a890623fb9ee
BLAKE2b-256 ec3ebe1fcafd56e10b14b0d652231744f2f9adc7fad849bfcba2e93bed2f75d4

See more details on using hashes here.

File details

Details for the file telegram_slack_mcp-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for telegram_slack_mcp-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 86cdd4011f8c901b9388db8a9148273b97957d1800109207fead0e9d5ffb3c59
MD5 e4fb5329ab937a961495d2f29688ebef
BLAKE2b-256 62bfd87d8d5d90c0166a07027cd7a14e484833c4ad7a57c20b132bf63ea50f15

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.2

2 files

This release

0.2.1 This release

2 files

0.2.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page