Quirox Telegram Bot Backend
@Himank-J
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
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"Quirox-Telegram-Bot": {
"command": "python",
"args": [
"mcp_server.py"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
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.
「コミュニケーション」の他のコンテンツ
MCP Communicator (Telegram)
qpd-vAn MCP server that enables communication with users through Telegram. This server provides a tool to ask questions to users and receive their responses via a Telegram bot.
Twilio MCP Monorepo
twilio-labsMonorepo providing 1) OpenAPI to MCP Tool generator 2) Exposing all of Twilio's API as MCP Tools
Slack MCP Server
korotovskyThe most powerful MCP Slack Server with no permission requirements, Apps support, GovSlack, DMs, Group DMs and smart history fetch logic.
Telegram MCP Server
chigwellTelegram MCP server powered by Telethon to let MCP clients read chats, manage groups, and send/modify messages, media, contacts, and settings.
Modular Outlook MCP Server
ryakerMCP server for Claude to access Outlook data via Microsoft Graph API
コメント