Skip to content
VS Code

GhostPaw Telegram for VS Code

io.github.ghostpawjs/telegram

Telegram message mirror, search, sending, and moderation tools.

client:VS Code transport:stdio runtime:npm

Install GhostPaw Telegram in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "telegram-bot-token",
      "description": "TELEGRAM_BOT_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ghostpaw-telegram-db",
      "description": "GHOSTPAW_TELEGRAM_DB",
      "password": true
    }
  ],
  "servers": {
    "telegram": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ghostpaw/telegram"
      ],
      "env": {
        "TELEGRAM_BOT_TOKEN": "${input:telegram-bot-token}",
        "GHOSTPAW_TELEGRAM_DB": "${input:ghostpaw-telegram-db}"
      }
    }
  }
}

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

GhostPaw Telegram in other clients