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.0.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.0-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: telegram_slack_mcp-0.2.0.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.0.tar.gz
Algorithm Hash digest
SHA256 197cfb5fedc66db72d50ff563bb8a2a8fe9cf9616e37979dd4ea0c9fc9c1fe87
MD5 e0f48bfa7e5c057bdd27600ed978be21
BLAKE2b-256 fd6247f88ac5490c12b35ed72681a80280be43ccdca1e426232bd398694ce7e6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for telegram_slack_mcp-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4d4d0ca705c22c0e5e8ac28b17589802aa77064688f83bc4f739274961ecb041
MD5 0427e558e5da296bf3392597ef3be849
BLAKE2b-256 4e6e55e135ca67f35c1a5666a83899782b54d1c76619b5d2c5fac6ebf5329ca2

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.2

2 files

0.2.1

2 files

This release

0.2.0 This release

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