
Store and retrieve entities, relations and observations in a persistent local knowledge graph.

A Telegram-based AI agent that uses multiple MCP servers for web search, document processing, math, Gmail, and Google Sheets tasks.
Telegram AI Assistant with multi-MCP servers is cataloged as an MCP server attributed to shettysaish20. A Telegram-based AI agent that uses multiple MCP servers for web search, document processing, math, Gmail, and Google Sheets tasks. It is categorized under ai agents-models. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Telegram AI Assistant with multi-MCP servers are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It supports both stdio and sse transport protocols for connecting to MCP servers.
The bot initializes a MultiMCP dispatcher that automatically discovers tools from all configured MCP servers.
README.md · e550df509819 · Fetched 2026-11-13 12:56:48 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
The Telegram AI Assistant Bot is a reasoning-driven AI agent, named Cortex-R, designed to interact with users via Telegram. It uses multiple Model Context Protocol (MCP) servers to perform various tasks such as web searches, document processing, mathematical calculations, and Google services integration (e.g., Gmail and Google Sheets). The bot employs both stdio and sse transport protocols to communicate with these MCP servers.
The bot is built using the following components:
The bot is implemented in telegram_agent.py using the python-telegram-bot library. It handles user messages and commands such as /start and /help. User queries are processed by the Cortex-R agent.
core/loop.py): Manages the main execution loop of the agent, including perception, planning, and tool execution.core/session.py): Handles communication with multiple MCP servers using stdio and sse transport protocols.core/strategy.py): Implements planning strategies for decision-making.The bot interacts with the following MCP servers:
gmail_server.py): Manages email operations such as sending, reading, and trashing emails.mcp_gdrive_server.py): Handles spreadsheet operations like creating, updating, and sharing Google Sheets.mcp_server_3.py): Performs web searches using DuckDuckGo and fetches webpage content.mcp_server_2.py): Processes documents for semantic search and indexing.mcp_server_1.py): Performs mathematical calculations.config/profiles.yaml): Defines agent settings, including strategy, memory configuration, and MCP server details.config/models.json): Specifies the models used for text generation and embeddings..env): Stores sensitive information like API keys and file paths.Initialization:
profiles.yaml.MultiMCP dispatcher to discover tools from all configured MCP servers.User Interaction:
Task Execution:
Memory Management:
Set the following variables in the .env file:
GEMINI_API_KEY: API key for the Gemini model.SERVICE_ACCOUNT_PATH: Path to the Google service account JSON file.DRIVE_FOLDER_ID: Google Drive folder ID for storing files.CREDENTIALS_PATH: Path to the OAuth client credentials file.TOKEN_PATH: Path to the token file for Google APIs.Define MCP servers in config/profiles.yaml:
mcp_servers:
- id: gmail
type: stdio
script: gmail_server.py
cwd: <path-to-server>
- id: gdrive
type: stdio
script: mcp_gdrive_server.py
cwd: <path-to-server>
- id: math
type: sse
script: mcp_server_1.py
url: http://localhost:8000/sse
cwd: <path-to-server>
- id: documents
type: stdio
script: mcp_server_2.py
cwd: <path-to-server>
- id: websearch
type: stdio
script: mcp_server_3.py
cwd: <path-to-server>
git clone <repository-url>
cd <repository-folder>
uv sync
.env.uv run telegram_agent.py
/start command.Contributions are welcome! Please follow these steps:
This project is licensed under the MIT License. See the LICENSE file for details.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Telegram AI Assistant with multi-MCP servers from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/telegram-ai-mcp-assistant-bot)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

Store and retrieve entities, relations and observations in a persistent local knowledge graph.

Organize problem solving into revisable, branching thought steps through an MCP tool.

Query-aware context compression with an MCP plugin for coding agents, plus Python and HTTP interfaces for reducing the context sent to a language model.