Telegram Dev for VS Code
io.github.kay0k1/telegram-dev
Current official Telegram and TON docs: Bot API, Mini Apps, MTProto, TDLib, TON Connect, Tolk
client:VS Code
transport:stdio
runtime:pypi
Install Telegram Dev in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "telegram-knowledge-db",
"description": "TELEGRAM_KNOWLEDGE_DB",
"password": true
},
{
"type": "promptString",
"id": "telegram-doc-auto-sync",
"description": "TELEGRAM_DOC_AUTO_SYNC",
"password": true
}
],
"servers": {
"telegram-dev": {
"type": "stdio",
"command": "uvx",
"args": [
"telegram-dev"
],
"env": {
"TELEGRAM_KNOWLEDGE_DB": "${input:telegram-knowledge-db}",
"TELEGRAM_DOC_AUTO_SYNC": "${input:telegram-doc-auto-sync}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs