Skip to content
Grok

Telegram MCP Server for Grok

io.github.tolboy/telegram-mcp-tdlib

Local-first TDLib Telegram MCP server with 110 tools, account isolation and production guardrails.

client:Grok transport:stdio runtime:oci

Install Telegram MCP Server in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "telegram-mcp-tdlib": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/tolboy/telegram-mcp-tdlib:1.16.2-stdio"
      ],
      "env": {
        "TDLIB_API_ID": "<TDLIB_API_ID>",
        "TDLIB_API_HASH": "<TDLIB_API_HASH>",
        "TDLIB_PHONE_NUMBER": "<TDLIB_PHONE_NUMBER>",
        "TDLIB_AUTH_CODE": "<TDLIB_AUTH_CODE>",
        "TDLIB_2FA_PASSWORD": "<TDLIB_2FA_PASSWORD>",
        "MCP_READ_ONLY": "<MCP_READ_ONLY>",
        "MCP_TOOL_PROFILE": "<MCP_TOOL_PROFILE>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

Telegram MCP Server in other clients