MCP Server Setup Instructions
About
# 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…
Explore
- Send messages via Telegram
- Search Gmail messages
- Create Google Calendar events
- Create Google Tasks
- Chat with Ionos AI model
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
MCP Server Setup InstructionsCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
1. Python 3.8 or higher
2. Google Cloud Project with APIs enabled
3. Telegram Bot Token
4. Ionos AI API Key
This MCP server provides a Telegram AI agent that can interact with Gmail, Google Calendar, and Google Tasks using the Ionos AI model.
pip install -r requirements.txt
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
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
1. Get your API key from Ionos AI service
2. Add it to your .env file
1. Copy .env.example to .env
2. Fill in all the required values:
cp .env.example .env
1. Run the server for the first time:
bashpython mcp_server.py
``
2. 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
3. Your credentials will be saved in
token.pickle` for future use
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
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
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"mcp server setup instructions": {
"mcp-server-amirdhs": {
"command": "python",
"args": [
"mcp_server.py"
]
}
}
}
}
McpServers
{
"mcp-server-amirdhs": {
"command": "python",
"args": [
"mcp_server.py"
]
}
}
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:
```bash
cp .env.example .env
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



