Skip to content
VS Code

telegram archive mcp for VS Code

io.github.geiserx/telegram-archive-mcp

MCP server for Telegram Archive — search messages, browse chats, and access history

client:VS Code transport:stdio runtime:npm

Install telegram archive mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "telegram-archive-url",
      "description": "TELEGRAM_ARCHIVE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "telegram-archive-user",
      "description": "TELEGRAM_ARCHIVE_USER",
      "password": true
    },
    {
      "type": "promptString",
      "id": "telegram-archive-pass",
      "description": "TELEGRAM_ARCHIVE_PASS",
      "password": true
    }
  ],
  "servers": {
    "telegram-archive-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "telegram-archive-mcp"
      ],
      "env": {
        "TELEGRAM_ARCHIVE_URL": "${input:telegram-archive-url}",
        "TELEGRAM_ARCHIVE_USER": "${input:telegram-archive-user}",
        "TELEGRAM_ARCHIVE_PASS": "${input:telegram-archive-pass}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

telegram archive mcp in other clients