Skip to content

Cursor / VS Code

Cursor

  1. Open Cursor Settings (⌘ + , on macOS, Ctrl + , on Windows/Linux)
  2. Navigate to MCP section
  3. 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"
    }
  }
}
  1. 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"

Released under the MIT License.