Telegram AI agent MCP server with Google Workspace tools

Telegram AI agent MCP server with Google Workspace tools

mcp-server-amirdhs•byamirdhs

An MCP server exposing tools for sending Telegram messages, searching Gmail, creating Google Calendar events and tasks, and chatting with an Ionos AI model.

License: Not specified•Runtime: Awaiting documentation review•Category: productivity work

WHAT IT DOES

  • •Exposes tools to send Telegram messages, search Gmail, create calendar events, create tasks, and chat with Ionos AI.
  • •Runs as a Telegram bot where users can send any message to chat with the AI.
  • •Authenticates with Google via OAuth2 to access Gmail, Calendar, and Tasks APIs and saves the token for future use.

BEST FOR

  • •Searching Gmail through natural-language Telegram requests.
  • •Creating calendar events and tasks conversationally via Telegram.

ABOUT MCP-SERVER-AMIRDHS

Telegram AI agent MCP server with Google Workspace tools is cataloged as an MCP server attributed to amirdhs. An MCP server exposing tools for sending Telegram messages, searching Gmail, creating Google Calendar events and tasks, and chatting with an Ionos AI model. It is categorized under productivity work. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Telegram AI agent MCP server with Google Workspace tools 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.

FREQUENTLY ASKED QUESTIONS

What Google services can the agent interact with?

It can interact with Gmail, Google Calendar, and Google Tasks.

Which AI model does the agent use?

The agent uses the Ionos AI model.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 21c8e5280d69 · 采集于 2026-11-13 12:46:22 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

MCP Server Setup Instructions

This MCP server provides a Telegram AI agent that can interact with Gmail, Google Calendar, and Google Tasks using the Ionos AI model.

Prerequisites

  1. Python 3.8 or higher
  2. Google Cloud Project with APIs enabled
  3. Telegram Bot Token
  4. Ionos AI API Key

Step 1: Install Dependencies

pip install -r requirements.txt

Step 2: Google Cloud Setup

  1. Go to Google Cloud Console
  2. Create a new project or select existing one
  3. Enable the following APIs:
    • Gmail API
    • Google Calendar API
    • Google Tasks API
  4. Create OAuth2 credentials:
    • Go to "Credentials" → "Create Credentials" → "OAuth client ID"
    • Choose "Desktop application"
    • Download the JSON file and rename it to credentials.json
    • Place it in the same directory as your script

Step 3: Telegram Bot Setup

  1. Message @BotFather on Telegram
  2. Use /newbot command to create a new bot
  3. Follow the instructions and get your bot token
  4. Copy the token to your .env file

Step 4: Ionos AI Setup

  1. Get your API key from Ionos AI service
  2. Add it to your .env file

Step 5: Environment Configuration

  1. Copy .env.example to .env
  2. Fill in all the required values:
cp .env.example .env
# Edit .env with your actual values

Step 6: First Run and Authentication

  1. Run the server for the first time:
python mcp_server.py
  1. The script will prompt you to authenticate with Google:

    • A URL will be displayed
    • Open it in your browser
    • Grant permissions
    • Copy the authorization code back to the terminal
  2. Your credentials will be saved in token.pickle for future use

Usage

Available Tools

  1. send_telegram_message: Send messages via Telegram
  2. search_gmail: Search Gmail messages
  3. create_calendar_event: Create Google Calendar events
  4. create_task: Create Google Tasks
  5. ai_chat: Chat with Ionos AI model

Telegram Commands

  • /start - Initialize the bot
  • Send any message to chat with the AI

Example Interactions

Search Gmail:

"Search for emails from john@example.com"

Create Calendar Event:

"Create a meeting for tomorrow at 2 PM for 1 hour about project review"

Create Task:

"Add a task to review the quarterly report by Friday"

File Structure

├── mcp_server.py          # Main MCP server
├── requirements.txt       # Python dependencies
├── .env                  # Environment variables
├── credentials.json      # Google OAuth2 credentials
├── token.pickle         # Saved Google authentication token
└── README.md            # This file

Security Notes

  1. Keep your .env file secure and never commit it to version control
  2. The token.pickle file contains sensitive authentication data
  3. Use HTTPS in production environments
  4. Regularly rotate your API keys

Troubleshooting

Common Issues

  1. "ModuleNotFoundError": Make sure all dependencies are installed
  2. "Authentication failed": Check your Google credentials and re-run authentication
  3. "Telegram bot not responding": Verify your bot token and network connection
  4. "Ionos AI errors": Check your API key and rate limits

Logs

The server logs important events. Check the console output for error messages and debugging information.

Development

To extend functionality:

  1. Add new tools in the setup_handlers() method
  2. Implement corresponding methods for each tool
  3. Update the resource list if needed
  4. Test thoroughly before deploying

Production Deployment

For production use:

  1. Use a process manager like systemd or supervisord
  2. Set up proper logging
  3. Configure firewall rules
  4. Use environment-specific configuration
  5. Set up monitoring and alerting

API Rate Limits

Be aware of API rate limits:

  • Gmail API: 1 billion quota units per day
  • Calendar API: 1 million requests per day
  • Tasks API: 50,000 requests per day
  • Ionos AI: Check your plan limits

Support

For issues or questions:

  1. Check the logs for error messages
  2. Verify all credentials are correct
  3. Test individual components separately
  4. Check API status pages for service outages

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Telegram AI agent MCP server with Google Workspace tools from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-server-amirdhs)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related productivity work MCP Servers

Alternative and complementary servers in the same category

View all in productivity work →
Tuqui hosted MCP server for Odoo
tuqui-odoo-mcp-for-claude-chatgpt•tuqui-ai

Tuqui is a hosted MCP server that connects Odoo with Claude and ChatGPT so users can ask about sales, stock, customers and overdue invoices in plain language.

Repository stats unavailable
Productivity & Ops