Skip to main content

chat-mcp-servers

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

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

Install

uvx --from chat-mcp-servers chat-mcp-telegram   # or: pipx install chat-mcp-servers

Register with Claude Code:

claude mcp add telegram -- uvx --from chat-mcp-servers chat-mcp-telegram
claude mcp add slack    -- uvx --from chat-mcp-servers chat-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/chat-mcp

Metadata

Release files for chat-mcp-servers 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for chat-mcp-servers 0.2.0
File Size Uploaded
chat_mcp_servers-0.2.0.tar.gz 8.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for chat-mcp-servers 0.2.0
File Interpreter ABI Platform
chat_mcp_servers-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 18.5 kB

Release files / chat_mcp_servers-0.2.0.tar.gz

Download URL chat_mcp_servers-0.2.0.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
33823989cb9685b4dc4724c40bda25855968fb4698977726f977f5e103d3fb81
BLAKE2b-256 checksum
How to use checksums
b5302fa610cd21d63ffa5034355a3e6692444df15a37dd1dc33806d0a17fd57b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.9

Release files / chat_mcp_servers-0.2.0-py3-none-any.whl

Download URL chat_mcp_servers-0.2.0-py3-none-any.whl
Size 10.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b628a93014b5eddc28b4fb77ad807c118ef49143d32a6246dfef759ed2fed9c1
BLAKE2b-256 checksum
How to use checksums
3b5061f59d86ce845332dca72686219e9e9febe77a6c8681c8d9a048821295f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.9

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page