/ Directory / Playground / Telegram MCP
● Community chigwell 🔑 Needs your key

Telegram MCP

by chigwell · chigwell/telegram-mcp

Personal-account Telegram MCP — Claude reads your chats, manages groups, and sends messages via the official MTProto API.

Uses Telegram's MTProto API (not the Bot API) so it works with your personal account. Useful for personal-productivity flows: triage chats, summarize groups, schedule messages. Respect privacy — chats are sensitive.

Why use it

Key features

Live Demo

What it looks like in practice

ready

Install

Pick your client

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "telegram-mcp-chigwell": {
      "command": "uvx",
      "args": [
        "telegram-mcp"
      ],
      "env": {
        "TG_API_ID": "${TG_API_ID}",
        "TG_API_HASH": "${TG_API_HASH}"
      }
    }
  }
}

Open Claude Desktop → Settings → Developer → Edit Config. Restart after saving.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "telegram-mcp-chigwell": {
      "command": "uvx",
      "args": [
        "telegram-mcp"
      ],
      "env": {
        "TG_API_ID": "${TG_API_ID}",
        "TG_API_HASH": "${TG_API_HASH}"
      }
    }
  }
}

Cursor uses the same mcpServers schema as Claude Desktop. Project config wins over global.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "telegram-mcp-chigwell": {
      "command": "uvx",
      "args": [
        "telegram-mcp"
      ],
      "env": {
        "TG_API_ID": "${TG_API_ID}",
        "TG_API_HASH": "${TG_API_HASH}"
      }
    }
  }
}

Click the MCP Servers icon in the Cline sidebar, then "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "telegram-mcp-chigwell": {
      "command": "uvx",
      "args": [
        "telegram-mcp"
      ],
      "env": {
        "TG_API_ID": "${TG_API_ID}",
        "TG_API_HASH": "${TG_API_HASH}"
      }
    }
  }
}

Same shape as Claude Desktop. Restart Windsurf to pick up changes.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "telegram-mcp-chigwell",
      "command": "uvx",
      "args": [
        "telegram-mcp"
      ]
    }
  ]
}

Continue uses an array of server objects rather than a map.

~/.config/zed/settings.json
{
  "context_servers": {
    "telegram-mcp-chigwell": {
      "command": {
        "path": "uvx",
        "args": [
          "telegram-mcp"
        ]
      }
    }
  }
}

Add to context_servers. Zed hot-reloads on save.

claude mcp add telegram-mcp-chigwell -- uvx telegram-mcp

One-liner. Verify with claude mcp list. Remove with claude mcp remove.

Use Cases

Real-world ways to use Telegram MCP

Triage your Telegram chats

👤 Developers ⏱ ~15 min intermediate

When to use: You're overwhelmed; want a per-chat summary and follow-up suggestions.

Flow
  1. Auth
    First run prompts for SMS code; session saved.✓ Copied
    → Session file
  2. Pull
    list_chats; fetch unread for each.✓ Copied
    → Per-chat unread
  3. Summarize
    Claude summarizes and suggests replies.✓ Copied
    → Reply queue

Outcome: Inbox-zero on Telegram with proposed replies.

Combinations

Pair with other MCPs for X10 leverage

telegram-mcp-chigwell + filesystem

Persist drafts before sending

Combine telegram-mcp-chigwell with filesystem: Persist drafts before sending✓ Copied

Tools

What this MCP exposes

ToolInputsWhen to callCost
list_chats (see docs) List chats with unread counts 1 call
fetch_messages (see docs) Pull messages from a chat 1 call
send_message (see docs) Send a message 1 call
search (see docs) Search across chats 1 call

Cost & Limits

What this costs to run

API quota
Telegram rate limits
Tokens per call
Histories can be large
Monetary
Free
Tip
Always preview before sending; agents over-eager on chat ops

Security

Permissions, secrets, blast radius

Minimum scopes: user-account
Credential storage: Session file on disk
Data egress: telegram.org
Never grant: expose session file; it's as good as your password

Troubleshooting

Common errors and fixes

AUTH_KEY_DUPLICATED

Session collision; delete session and re-auth

Alternatives

Telegram MCP vs others

AlternativeWhen to use it insteadTradeoff
Bot API integrationYou need a bot, not a personal accountNo personal-DM access

More

Resources

📖 Read the official README on GitHub

🐙 Browse open issues

🔍 Browse all 400+ MCP servers and Skills