chigwell/telegram-mcp

chigwell/telegram-mcp

от chigwell
Отправляет сообщения, управляет чатами, контактами и медиа в Telegram: 80+ операций для автоматизации переписки и администрирования.
Telegram MCP Server

MCP Badge License: Apache 2.0 Python Lint & Format Check Docker Build & Compose Validation

A Telegram integration for Claude, Cursor, and other MCP-compatible clients. It exposes Telegram account, chat, message, contact, media, folder, and admin operations through the Model Context Protocol using Telethon.

🤖 MCP in Action

Basic Telegram MCP usage in Claude:

Telegram MCP in action

Asking Claude to analyze chat history and send a response:

Telegram MCP Request

Message sent successfully:

Telegram MCP Result

Contents

Skills & Workflows

Looking for ready-to-use workflows, prompt examples, or integration recipes? Explore the Skills Documentation for step-by-step guides on:

  • Summarizing unread messages safely
  • Drafting replies without sending
  • Triaging action items & urgent requests
  • Searching chat history and expanding context

What It Can Do

The server currently includes 80+ MCP tools grouped into these areas:

Часто задаваемые вопросы

У этого сервера пока нет списка инструментов.

Выберите клиент, чтобы установить chigwell/telegram-mcp:

Любой клиент

Конфиг добавления MCP сервера стандартный, обычно он не меняется вообще, поэтому подходит практически к любому ИИ клиенту, поддерживающему MCP.

{
  "mcpServers": {
    "chigwell-telegram-mcp-5ndi1593on": {
      "command": "uv",
      "args": [
        "--directory",
        "/full/path/to/telegram-mcp",
        "run",
        "main.py"
      ],
      "env": {
        "TELEGRAM_API_ID": "your_api_id_here",
        "TELEGRAM_API_HASH": "your_api_hash_here",
        "TELEGRAM_SESSION_STRING": "your_session_string_here"
      }
    }
  }
}
CursorCursor

Перейдите по ссылке и сервер автоматически будет добавлен в Cursor. Либо откройте/создайте файл ~/.cursor/mcp.json(%USERPROFILE%\.cursor\mcp.json на Windows) и добавьте конфиг сервера:

{
  "mcpServers": {
    "chigwell-telegram-mcp-5ndi1593on": {
      "command": "uv",
      "args": [
        "--directory",
        "/full/path/to/telegram-mcp",
        "run",
        "main.py"
      ],
      "env": {
        "TELEGRAM_API_ID": "your_api_id_here",
        "TELEGRAM_API_HASH": "your_api_hash_here",
        "TELEGRAM_SESSION_STRING": "your_session_string_here"
      }
    }
  }
}
VS Code

Создайте .vscode/mcp.json в проекте (ключ верхнего уровня — servers):

{
  "servers": {
    "chigwell-telegram-mcp-5ndi1593on": {
      "type": "stdio",
      "command": "uv",
      "args": [
        "--directory",
        "/full/path/to/telegram-mcp",
        "run",
        "main.py"
      ],
      "env": {
        "TELEGRAM_API_ID": "your_api_id_here",
        "TELEGRAM_API_HASH": "your_api_hash_here",
        "TELEGRAM_SESSION_STRING": "your_session_string_here"
      }
    }
  }
}

Либо добавьте сервер через терминал:

code --add-mcp "{\"name\":\"chigwell-telegram-mcp-5ndi1593on\",\"type\":\"stdio\",\"command\":\"uv\",\"args\":[\"--directory\",\"/full/path/to/telegram-mcp\",\"run\",\"main.py\"],\"env\":{\"TELEGRAM_API_ID\":\"your_api_id_here\",\"TELEGRAM_API_HASH\":\"your_api_hash_here\",\"TELEGRAM_SESSION_STRING\":\"your_session_string_here\"}}"
ClaudeClaude Desktop

Откройте Settings → Developer → Edit Config — это откроет файл claude_desktop_config.json:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Впишите сервер и полностью перезапустите Claude Desktop:

{
  "mcpServers": {
    "chigwell-telegram-mcp-5ndi1593on": {
      "command": "uv",
      "args": [
        "--directory",
        "/full/path/to/telegram-mcp",
        "run",
        "main.py"
      ],
      "env": {
        "TELEGRAM_API_ID": "your_api_id_here",
        "TELEGRAM_API_HASH": "your_api_hash_here",
        "TELEGRAM_SESSION_STRING": "your_session_string_here"
      }
    }
  }
}
Claude CodeClaude Code

Добавьте сервер одной командой в терминале:

claude mcp add chigwell-telegram-mcp-5ndi1593on --env TELEGRAM_API_ID=your_api_id_here --env TELEGRAM_API_HASH=your_api_hash_here --env TELEGRAM_SESSION_STRING=your_session_string_here -- uv --directory /full/path/to/telegram-mcp run main.py

Либо через JSON-конфиг:

claude mcp add-json chigwell-telegram-mcp-5ndi1593on "{\"command\":\"uv\",\"args\":[\"--directory\",\"/full/path/to/telegram-mcp\",\"run\",\"main.py\"],\"env\":{\"TELEGRAM_API_ID\":\"your_api_id_here\",\"TELEGRAM_API_HASH\":\"your_api_hash_here\",\"TELEGRAM_SESSION_STRING\":\"your_session_string_here\"}}"
CodexCodex

Добавьте сервер командой в терминале:

codex mcp add chigwell-telegram-mcp-5ndi1593on --env TELEGRAM_API_ID=your_api_id_here --env TELEGRAM_API_HASH=your_api_hash_here --env TELEGRAM_SESSION_STRING=your_session_string_here -- uv --directory /full/path/to/telegram-mcp run main.py

Либо вручную в ~/.codex/config.toml(%USERPROFILE%\.codex\config.toml на Windows):

[mcp_servers.chigwell-telegram-mcp-5ndi1593on]
command = "uv"
args = ["--directory", "/full/path/to/telegram-mcp", "run", "main.py"]

[mcp_servers.chigwell-telegram-mcp-5ndi1593on.env]
TELEGRAM_API_ID = "your_api_id_here"
TELEGRAM_API_HASH = "your_api_hash_here"
TELEGRAM_SESSION_STRING = "your_session_string_here"
PerplexityPerplexity

MCP доступен подписчикам Perplexity Pro / Max / Enterprise. Локальные серверы — только в приложении для macOS.

  1. Откройте Настройки аккаунта → Connectors.
  2. Установите вспомогательное приложение PerplexityXPC (один раз).
  3. Нажмите Add Connector → вкладка Simple.
  4. В поле Server Name укажите chigwell/telegram-mcp, а в поле команды запуска — строку ниже:
uv --directory /full/path/to/telegram-mcp run main.py

Нажмите Save и дождитесь статуса Running.

WindsurfWindsurf

Откройте Windsurf Settings → Cascade → MCP Servers или отредактируйте файл ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "chigwell-telegram-mcp-5ndi1593on": {
      "command": "uv",
      "args": [
        "--directory",
        "/full/path/to/telegram-mcp",
        "run",
        "main.py"
      ],
      "env": {
        "TELEGRAM_API_ID": "your_api_id_here",
        "TELEGRAM_API_HASH": "your_api_hash_here",
        "TELEGRAM_SESSION_STRING": "your_session_string_here"
      }
    }
  }
}
ClineCline

В панели Cline нажмите иконку MCP Servers → Configure → Configure MCP Servers (или отредактируйте ~/.cline/mcp.json) и добавьте сервер:

{
  "mcpServers": {
    "chigwell-telegram-mcp-5ndi1593on": {
      "command": "uv",
      "args": [
        "--directory",
        "/full/path/to/telegram-mcp",
        "run",
        "main.py"
      ],
      "env": {
        "TELEGRAM_API_ID": "your_api_id_here",
        "TELEGRAM_API_HASH": "your_api_hash_here",
        "TELEGRAM_SESSION_STRING": "your_session_string_here"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}
Continue

Создайте файл в .continue/mcpServers/ (например chigwell-telegram-mcp-5ndi1593on.yaml) или добавьте блок в config.yaml. MCP работает только в режиме agent:

mcpServers:
  - name: chigwell-telegram-mcp-5ndi1593on
    command: uv
    args:
      - "--directory"
      - "/full/path/to/telegram-mcp"
      - "run"
      - "main.py"
    env:
      TELEGRAM_API_ID: your_api_id_here
      TELEGRAM_API_HASH: your_api_hash_here
      TELEGRAM_SESSION_STRING: your_session_string_here
Zed

Выполните agent: add context server или откройте настройки (zed: open settings file) и добавьте сервер в объект context_servers:

{
  "context_servers": {
    "chigwell-telegram-mcp-5ndi1593on": {
      "command": "uv",
      "args": [
        "--directory",
        "/full/path/to/telegram-mcp",
        "run",
        "main.py"
      ],
      "env": {
        "TELEGRAM_API_ID": "your_api_id_here",
        "TELEGRAM_API_HASH": "your_api_hash_here",
        "TELEGRAM_SESSION_STRING": "your_session_string_here"
      }
    }
  }
}

Похожие MCP-сервера

chaindead/telegram-mcp

chaindead/telegram-mcp

от chaindead

Telegram MCP сервер подключает AI-ассистентов к вашему аккаунту: чтение диалогов, отправка сообщений, отслеживание уведомлений. Работает с Claude, Cursor. Упрощает управление перепиской и автоматизацию ответов.

Go⭐ 349
overpod/mcp-telegram

overpod/mcp-telegram

от overpod

MCP-сервер для подключения Claude и ChatGPT к Telegram через MTProto. Работает как юзербот под вашим аккаунтом: полный доступ к чатам, сообщениям, медиа, стикерам, сторис и управлению профилем. Всё...

TypeScript⭐ 54
carterlasalle/mac_messages_mcp

carterlasalle/mac_messages_mcp

от carterlasalle

Управляет Сообщениями на macOS: отправляет iMessage и SMS с авто-выбором канала, читает переписку, ищет сообщения и вложения. Работает локально.

Python⭐ 333
iprashantraj/mcp-discord-bridge

iprashantraj/mcp-discord-bridge

от iprashantraj

MCP-сервер для управления Discord-сервером через AI: 44 инструмента для каналов, сообщений, ролей, модерации и вебхуков. Подходит для автоматизации модерации и администрирования с любым MCP-клиентом.

TypeScript⭐ 3
wyattjoh/imessage-mcp

wyattjoh/imessage-mcp

от wyattjoh

MCP-сервер для чтения iMessage на macOS через LLM. Поиск сообщений по тексту, контакту или дате, просмотр чатов и контактов адресной книги. Полезен разработчикам, создающим ИИ-ассистентов на Mac.

TypeScript⭐ 29
GeiserX/telegram-archive-mcp

GeiserX/telegram-archive-mcp

от geiserx

Telegram-Archive-MCP — мост, который превращает любой экземпляр Telegram-Archive в MCP-сервер. LLM и агенты могут искать сообщения, просматривать чаты и статистику архива через единый JSON-RPC эндп...

Go⭐ 7
© Каталог MCP, 2026. Все права защищены.
Проект не аффилирован с Anthropic и любыми упомянутыми продуктами.
Все названия и торговые марки принадлежат их владельцам.
Контакты для связи: hi@mcp-katalog.ru

Лука Никитин