NotifyMeMaybe
Sends notifications and interactive prompt requests (confirmation buttons, free-text prompts, multiple-choice selection menus) to a user's Telegram chat through a Telegram bot, and lets the AI check the queue of incoming Telegram prompts, process them, and continue a bi-directional workflow with the user.
Click on "Deploy 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., "@NotifyMeMaybe send me a Telegram notification when the backup 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.
NotifyMeMaybe
A powerful MCP (Model Context Protocol) server for multi-platform notifications and interactive AI workflows
๐ TLDR - Quick Start
Get started in 2 minutes:
Create Telegram Bot:
Message @BotFather on Telegram
Use
/newbotto create a bot and get yourBOT_TOKENStart a chat with your bot and get your
CHAT_ID
Add to MCP Configuration:
{ "mcpServers": { "notify-me-maybe": { "command": "npx", "args": ["-y", "notify-me-maybe-mcp"], "env": { "TELEGRAM_BOT_TOKEN": "your_bot_token_here", "TELEGRAM_CHAT_ID": "your_chat_id_here", "TELEGRAM_PROMPT_ENABLED": "true", "TELEGRAM_INTERACTION_ENABLED": "true", "DEFAULT_NOTIFICATION_SERVICE": "telegram", "LANGUAGE": "en" } } } }Restart Your AI Assistant:
Claude Desktop: Restart the application
Cursor: Restart and activate the MCP configuration
Test: Ask your AI assistant to send you a notification!
That's it! ๐ No installation, no cloning, no building required.
Related MCP server: Telegram MCP Server
๐ Language Support
English (Current) - You are here
็น้ซไธญๆ - Traditional Chinese
็ฎไฝไธญๆ - Simplified Chinese
๐ค AI Assistant Integration (Agent Prompts)
Ready to integrate with your AI assistant? Choose the right prompt configuration for your needs:
๐ Available Agent Prompt Configurations
Prompt Type | Description | Best For | Key Tools |
Simple task completion notifications | Basic notification needs |
| |
Telegram interactions + notifications | User input & confirmations |
| |
Continuous workflow with follow-up prompts | Complex multi-step tasks |
|
๐ฏ Quick Start for AI Assistants
Choose a prompt type below
Copy the complete prompt configuration
Add to your AI assistant system prompt (Cursor, Claude, etc.)
Configure your NotifyMeMaybe services
Start getting notifications and interactions!
Features
๐ Multi-Channel Notifications
Telegram Integration: Send notifications directly to Telegram chats
Webhook Support: HTTP webhook notifications for custom integrations
Priority Levels: High, normal, and low priority notifications
Rich Metadata: Attach custom data to notifications
๐ค Interactive Prompt Engine
The core feature of NotifyMeMaybe is its sophisticated prompt engine that enables bi-directional communication between AI systems and users:
Interaction Types
Confirmation Requests: Yes/No decisions with button interfaces
Text Prompts: Collect text input from users
Selection Menus: Multiple choice options with custom buttons
Synchronous & Asynchronous: Both real-time and queued interactions
AI Workflow Integration
MCP (Model Context Protocol) Compatible: Seamlessly integrates with Claude and other AI systems
Timeout Management: Configurable timeouts with fallback handling
Queue Management: Handle multiple concurrent user interactions
Response Validation: Ensure proper user response formatting
Advanced Features
Auto-reject: Automatically handle expired interactions
Broadcast Notifications: Send to all active channels simultaneously
Service Health Monitoring: Real-time status of all notification services
Internationalization: Multi-language support (English, Traditional Chinese, Simplified Chinese)
Agent Prompt Configurations
1. ๐ข Notification-Only Mode
Copy this prompt configuration for your AI assistant:
## NotifyMeMaybe Notification-Only Mode Configuration
### When to use NotifyMeMaybe tools:
- **ALWAYS** notify when tasks are completed
- Send progress updates for long-running operations
- Notify on errors or important status changes
### Required MCP Tools Usage:
#### Task Completion Notifications:
Use `send_notification` or `broadcast_notification` when:
- Any task is completed successfully
- An error occurs during task execution
- Important milestones are reached
Parameters:
- service: "telegram" (or use broadcast_notification for all services)
- title: Clear, concise summary of what was accomplished
- message: Detailed results, file paths, URLs, or error details
- priority: "high" (errors), "normal" (completions), "low" (progress updates)
- metadata: Include relevant context like file paths, timestamps, etc.
#### Example Usage:
send_notification(
service="telegram",
title="Task Completed: Code Analysis",
message="Successfully analyzed 15 files and found 3 potential issues. Results saved to /reports/analysis.json",
priority="normal",
metadata={"files_analyzed": 15, "issues_found": 3, "report_path": "/reports/analysis.json"}
)
### Service Health Check:
Use `test_services` periodically to ensure services are available.2. ๐ Interactive Mode
Copy this prompt configuration for your AI assistant:
## NotifyMeMaybe Interactive Mode Configuration
### When to use NotifyMeMaybe tools:
- Request user input when clarification is needed
- Ask for confirmations before major operations
- Provide selection menus for user choices
- Send completion notifications
### Required MCP Tools Usage:
#### User Interaction Requests:
Use `request_interaction_sync` when:
- You need user confirmation before proceeding
- You require text input from the user
- You want to offer multiple choice options
Parameters:
- type: "confirmation" (Yes/No), "prompt" (text input), "selection" (multiple choice)
- message: Clear question or request for user
- options: Array of choices (only for type="selection")
- timeout: 60000 (60 seconds) or appropriate timeout
#### Examples:
Confirmation Request:
request_interaction_sync(
type="confirmation",
message="Do you want to proceed with deleting 5 files from the project directory?"
)
Text Input Request:
request_interaction_sync(
type="prompt",
message="Please provide the target deployment environment (staging/production):"
)
Selection Menu:
request_interaction_sync(
type="selection",
message="Choose the deployment strategy:",
options=["Blue-Green Deployment", "Rolling Update", "Canary Release"]
)
#### Completion Notifications:
Always send completion notifications using `send_notification` after tasks finish.
#### Error Handling:
- Handle interaction timeouts gracefully
- Provide fallback responses if user doesn't respond
- Use high priority notifications for critical errors3. ๐ Advanced Interactive Mode
Copy this complete prompt configuration for your AI assistant:
## NotifyMeMaybe Advanced Interactive Mode Configuration
### Core Agent Behavior Rules:
- **ALWAYS** check for new Telegram prompts at session start
- **NEVER** end a session without asking for additional requests
- **ALWAYS** process pending prompts before starting new tasks
- **ALWAYS** send progress notifications for long operations
### Required MCP Tools Usage Protocol:
#### 1. Session Start Protocol:
ALWAYS execute at the beginning of each session:
1. Check for pending prompts:
get_telegram_prompts()
2. If prompts exist, process each one:
process_telegram_prompt(
promptId="<prompt_id>",
response="Received your request. Processing now..."
)
3. Send status notification:
send_notification(
service="telegram",
title="AI Session Started",
message="Processing your Telegram requests. Session active.",
priority="normal"
)
#### 2. Task Execution Protocol:
During task execution:
1. Send progress updates for long operations:
send_notification(
service="telegram",
title="Progress Update",
message="Step 2/5 completed: Database backup finished",
priority="normal",
metadata={"step": 2, "total_steps": 5}
)
2. Use interactions when user input needed:
request_interaction_sync(
type="confirmation",
message="Ready to proceed with database migration. Continue?"
)
3. Handle errors with high priority:
send_notification(
service="telegram",
title="Error Occurred",
message="Database connection failed. Retrying in 30 seconds...",
priority="high"
)
#### 3. Session End Protocol:
**MANDATORY**: Never end without this sequence:
1. Send completion notification:
send_notification(
service="telegram",
title="Task Completed Successfully",
message="All requested operations completed. Summary: [detailed results]",
priority="normal"
)
2. ALWAYS ask for additional requests:
request_interaction_sync(
type="prompt",
message="Task completed successfully. Do you have any additional instructions or follow-up requests?",
timeout=60000
)
3. Continue interaction loop until user indicates completion
4. Only stop when user explicitly says "finished", "done", "no more tasks", or similar
#### 4. Telegram Prompt Monitoring:
Regularly check for new prompts:
- Use get_telegram_prompts() to check queue
- Process immediately with process_telegram_prompt()
- Prioritize user prompts over automated tasks
#### 5. Service Health Monitoring:
Periodically verify services:
test_services()
get_service_status(service="telegram")
### Advanced Mode Benefits:
- Users can send tasks anytime via Telegram
- AI automatically processes queued requests
- Continuous workflow without manual intervention
- Comprehensive progress tracking
- Error recovery with user guidance๐ฆ Installation & Setup
๐ Method 1: NPX (Recommended)
Add to your MCP configuration file:
Configuration File Locations:
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonmacOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"notify-me-maybe": {
"command": "npx",
"args": ["-y", "notify-me-maybe-mcp"],
"env": {
"TELEGRAM_BOT_TOKEN": "your_bot_token_here",
"TELEGRAM_CHAT_ID": "your_chat_id_here",
"TELEGRAM_PROMPT_ENABLED": "true",
"TELEGRAM_INTERACTION_ENABLED": "true",
"DEFAULT_NOTIFICATION_SERVICE": "telegram",
"LANGUAGE": "en"
}
}
}
}โ ๏ธ Important: After configuration, restart your AI assistant completely.
๐ ๏ธ Method 2: Local Development
For developers who want to modify the code:
git clone https://github.com/keoy7am/NotifyMeMaybe.git
cd NotifyMeMaybe
npm install
npm run build๐ฑ Getting Telegram Credentials
Create Bot: Message @BotFather โ
/newbotGet Chat ID: Send message to your bot, visit
https://api.telegram.org/bot<TOKEN>/getUpdates
๐ง Configuration
Required Variables
TELEGRAM_BOT_TOKEN=your_bot_token_here
TELEGRAM_CHAT_ID=your_chat_id_hereOptional Variables
TELEGRAM_PROMPT_ENABLED=true
TELEGRAM_INTERACTION_ENABLED=true
DEFAULT_NOTIFICATION_SERVICE=telegram
LANGUAGE=en๐ ๏ธ MCP Tools
send_notification: Send to specific servicebroadcast_notification: Send to all servicesrequest_interaction_sync: Synchronous user interactiontest_services: Health check all servicesget_telegram_prompts: Retrieve pending promptsprocess_telegram_prompt: Process Telegram prompts
๐ค Contributing
Contributions welcome! Please:
Fork the repository
Create a feature branch
Submit a pull request
๐ License
MIT License - see LICENSE file for details.
๐ฏ Ready to Get Started?
Quick Start (Recommended)
Restart your AI assistant
Test with a notification!
Advanced Setup
Choose an Agent Prompt Configuration
Copy to your AI assistant system prompt
Configure advanced features
Build interactive workflows!
๐ฆ NPM Package
npm view notify-me-maybe-mcp
npx notify-me-maybe-mcp # Use directlyNotifyMeMaybe - Making AI-human interaction seamless! ๐
๐ก Pro Tip: Don't forget to restart your AI assistant after configuration!
Available Tools
15 toolsbroadcast_notificationB
Broadcast notification to all available messaging platforms
Inputs: title (required), message (required), metadata, priority.
cancel_interactionC
Cancel a specific interaction request
Inputs: requestId (required).
cleanup_telegram_promptsC
Clean up processed Telegram prompts
Inputs: no named parameters.
get_interaction_statusC
Get interaction feature status and statistics
Inputs: no named parameters.
get_service_statusC
Get status of specified service
Inputs: service (required).
get_telegram_promptsC
Get all prompt requests from Telegram
Inputs: no named parameters.
get_telegram_prompt_statsD
Get Telegram prompt statistics
Inputs: no named parameters.
list_pending_interactionsC
List all pending interaction requests
Inputs: no named parameters.
list_servicesB
List all available notification services
Inputs: no named parameters.
process_telegram_promptC
Process the specified Telegram prompt
Inputs: promptId (required), response.
request_interactionC
Request user interaction (e.g., new prompt input or confirmation) (Asynchronous - returns immediately)
Inputs: type (required), message (required), options, timeout.
request_interaction_syncC
Synchronously request user interaction and wait for response (Synchronous - waits for user response)
Inputs: type (required), message (required), options, timeout.
respond_to_interactionC
Respond to a pending interaction request
Inputs: response (required), requestId (required).
send_notificationC
Send notification to specified messaging platform
Inputs: title (required), message (required), service, metadata, +1 more.
test_servicesB
Test connection status of all notification services
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
TDQS
Scored across 15 tools
Tools are mostly separated by resource and action: services, interactions, Telegram prompts, and notifications. The main overlap is request_interaction versus request_interaction_sync, but the async/sync distinction is explicit, so an agent can choose correctly with minimal ambiguity.
All tool names use snake_case with a predictable verb_noun pattern such as list_services, get_service_status, request_interaction, and send_notification. The _sync suffix on request_interaction_sync is descriptive rather than a convention break.
Fifteen tools sit at the upper end of a reasonable range but are well-scoped to the serverโs notification and interaction domain. Each tool covers a distinct lifecycle step, so the count does not feel bloated.
Core coverage is strong: services can be listed, checked, and tested; notifications can be sent or broadcast; interactions support request, respond, status, list, and cancel; Telegram prompts support retrieval, processing, stats, and cleanup. Minor gaps exist around notification history/delivery details and service configuration, but normal workflows are covered.
Maintenance
Related MCP Connectors
Let AI assistants post to your Telegram chats, groups and channels. Not affiliated with Telegram.
Unified inbox MCP for WhatsApp, Telegram, Email, voice โ read/send messages, search, AI agents.
Phone, SMS and email for AI agents. One remote MCP endpoint, OAuth login, zero install.
WhatsApp, Telegram, MAX & SMS for AI agents: send messages, files and bulk mailings via ChatPush
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to send messages and interact with Telegram chats through MCP tools, with support for user management, conversation history, and bot command handling.1-
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with users via Telegram to request decisions, approvals, or specific input through text and clickable buttons. This facilitates a human-in-the-loop workflow where the AI can pause for feedback or send status notifications during long-running tasks.4-
- FlicenseAqualityAmaintenanceBridges AI assistants to a Telegram bot to enable two-way messaging, interactive confirmations, and live status updates. It supports automatic voice transcription via local Whisper models and provides secure, single-user communication for MCP-compatible hosts.46-
- FlicenseNot gradedqualityCmaintenanceEnables AI agents and applications to send audio notifications with text-to-speech, message streaming, agent-to-agent conversations, and web push notifications through a persistent message store and MCP integration.1-