Quirox Telegram Bot Backend
@Himank-J
About Quirox Telegram Bot Backend
This repo demonstrates how to build a telegram bot using SSE Server and implement agentic flow using MCP with tools like Gmail, GDrive
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"Quirox-Telegram-Bot": {
"command": "python",
"args": [
"mcp_server.py"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Quirox Telegram Bot Backend?
Quirox Telegram Bot Backend provides backend services for a Telegram bot, featuring an AI agent powered by Google Gemini that can interact with tools like Google Sheets, web search (DuckDuckGo), and web content fetching. It uses the Model Context Protocol (MCP) to manage communication between the AI model and the tools, and exposes a FastAPI web server.
How to use Quirox Telegram Bot Backend?
Set up a .env file with your Google Gemini API key and Google Cloud credentials (service account or OAuth). Run python mcp_server.py in one terminal, then python main.py in another. Send POST requests to the /chat endpoint with a JSON body containing a "message" field to interact with the AI agent.
Key features of Quirox Telegram Bot Backend
- AI agent using Google Gemini Flash model for reasoning and task execution.
- Google Sheets integration: create, read, write, manage sheets, share.
- Web search via DuckDuckGo and web content fetching from URLs.
- FastAPI web server exposing a
/chatendpoint for HTTP interactions. - MCP framework managing communication between AI model and tools.
Use cases of Quirox Telegram Bot Backend
- Automate spreadsheet creation, data entry, and sheet management via chat.
- Perform web searches and retrieve content from URLs through conversational commands.
- Extend a Telegram bot with AI-powered tool interactions for document or data workflows.
FAQ from Quirox Telegram Bot Backend
What are the prerequisites?
Python 3.8+, access to Google Cloud Platform for Sheets/Drive API, and a Google Gemini API key.
How do I authenticate with Google services?
You can use a service account (recommended for servers) or OAuth 2.0. Provide the credentials via environment variables in the .env file.
How do I interact with the backend?
Send POST requests to http://localhost:8000/chat (or your server’s address) with a JSON body containing a "message" field.
Are Gmail tools available?
Gmail functions are present in the code but currently commented out and not exposed in the running server.
What dependencies does the project require?
Key dependencies include fastapi, uvicorn, mcp, google-api-python-client, google-generativeai, httpx, beautifulsoup4, and others listed in requirements.txt.
More Communication MCP servers
WhatsApp MCP Server (TypeScript/Baileys)
jlucaso1WhatsApp MCP Server (TypeScript/Baileys)
MCP Email Server
Shy2593666979一个基于 MCP (Model Context Protocol) 的邮件服务,支持 LLM 发送带附件的电子邮件及在指定目录中搜索文件。提供安全的 SMTP 传输、多收件人支持和附件模式匹配搜索功能,适用于 Gmail、Outlook、Yahoo、QQ 邮箱和网易 126 邮箱等主流邮箱服务。
Mattermost MCP Server
pvevMattermost MCP server to enable Claude to interact with Mattermost Workspaces
slack-mcp-server
ubie-ossA Slack MCP server
Discord MCP Server
hanwegMCP server for discord bot
Comments