Cursor / VS Code
Cursor
- Open Cursor Settings (⌘ + , on macOS, Ctrl + , on Windows/Linux)
- Navigate to MCP section
- Add a new MCP server:
json
{
"telegram": {
"command": "/path/to/mcp-telegram",
"env": {
"TELEGRAM_API_ID": "YOUR_ID",
"TELEGRAM_API_HASH": "YOUR_HASH"
}
}
}json
{
"telegram": {
"command": "npx",
"args": ["@overpod/mcp-telegram"],
"env": {
"TELEGRAM_API_ID": "YOUR_ID",
"TELEGRAM_API_HASH": "YOUR_HASH"
}
}
}- Restart Cursor.
VS Code
Add the same configuration to your VS Code MCP settings.
Login
Login via terminal first, then use the MCP server in your editor.
Use Cases in an Editor
MCP Telegram in Cursor/VS Code is great for:
- "Check if anyone mentioned a bug in the #dev channel"
- "Send a message to the team: deployment complete"
- "Search Telegram for the API docs link someone shared"