claude-telegram-alerts
Sends status alerts to a Telegram chat, allowing users to receive notifications for Claude Code updates such as task completion, approval requests, and other custom messages, with support for normal and urgent priority.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@claude-telegram-alertsSend me a Telegram alert when the deployment finishes"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Claude Telegram Alerts
An MCP server that sends Telegram alerts for Claude Code status updates. Get notified on your phone when:
Claude needs your input or approval
Long-running tasks complete
Builds finish or tests pass/fail
Any custom status update you configure
Features
alert- Send status alerts to your Telegram (normal or urgent priority)get_chat_id- Helper tool to retrieve your Telegram chat ID during setup
Related MCP server: Telegram MCP Server
Quick Start
1. Create a Telegram Bot
Open Telegram and message @BotFather
Send
/newbotand follow the promptsCopy your bot token (e.g.,
123456789:ABCdefGHIjklMNOpqrsTUVwxyz)
2. Message Your Bot
Search for your new bot in Telegram and send it any message (e.g., "hi"). This enables the bot to message you back.
3. Install
git clone https://github.com/anthony-potts/claude-telegram-alerts.git
cd claude-telegram-alerts
npm install
npm run build4. Configure Claude Code
Add to ~/.claude/settings.json:
{
"mcpServers": {
"telegram-alerts": {
"command": "node",
"args": ["/path/to/claude-telegram-alerts/build/index.js"],
"env": {
"TELEGRAM_BOT_TOKEN": "your-bot-token",
"TELEGRAM_CHAT_ID": ""
}
}
}
}5. Get Your Chat ID
Restart Claude Code, then ask:
"Use the get_chat_id tool to find my Telegram chat ID"
Update your config with the returned chat ID, then restart Claude Code.
Usage Examples
Manual Alerts
"Send me a Telegram alert that the deployment is complete"
"Send an urgent alert that I need to approve the PR"Automated Workflows
"Run the test suite and alert me on Telegram when done"
"Deploy to staging and send me a Telegram alert with the result"
"When you need my input, send me a Telegram alert"Status Updates
"Alert me via Telegram: Build failed - missing dependency in package.json"
"Send Telegram alert: Waiting for approval to delete 50 files"Tools
alert
Send a status alert to your Telegram.
Parameter | Type | Required | Description |
| string | Yes | The alert message |
|
| No |
|
get_chat_id
Retrieve your chat ID after messaging the bot. No parameters.
Troubleshooting
Error | Solution |
"TELEGRAM_BOT_TOKEN required" | Add your bot token to the MCP server env config |
"TELEGRAM_CHAT_ID required" | Run |
"No messages found" | Send a message to your bot in Telegram first |
Alerts not arriving | Check Telegram notifications aren't muted for the bot |
Development
npm install # Install dependencies
npm run build # Compile TypeScript
npm run dev # Watch modeLicense
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/anthony-potts/claude-telegram-alerts'
If you have feedback or need assistance with the MCP directory API, please join our Discord server