Skip to content
Windsurf

Telegram MCP Server for Windsurf

io.github.tolboy/telegram-mcp-tdlib

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

client:Windsurf transport:stdio runtime:oci

Install Telegram MCP Server in Windsurf

~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json

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

{
  "mcpServers": {
    "telegram-mcp-tdlib": {
      "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>"
      }
    }
  }
}

Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs

Telegram MCP Server in other clients