deepjyotisaha
MCP Serverdeepjyotisahapublic

eag6

实现一个解决数学问题、展示结果并发送邮件的代理工具。

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
Python
Language
-
License

About This Server

实现一个解决数学问题、展示结果并发送邮件的代理工具。

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

Math Agent with Visual and Email Support

This project implements a math agent that can solve mathematical problems, display results visually on a canvas, and send the results via email. It uses the Model Context Protocol (MCP) to communicate with both a math server and a Gmail server.

Features

  • Mathematical problem solving using specialized tools
  • Visual display of results on a canvas
  • Email notifications of results
  • Support for visually impaired users
  • Integration with Gmail MCP server for email functionality

Prerequisites

  • Python 3.x
  • Gmail API credentials
  • Gemini API key
  • Required Python packages:
    pip install pyautogui
    pip install pillow
    pip install mouseinfo
    

Setup

  1. Create a .env file in the project root with your Gemini API key:

    GEMINI_API_KEY=your_api_key_here
    
  2. Set up Gmail API credentials:

    • Place your Gmail API credentials in .google/client_creds.json
    • Place your app tokens in .google/app_tokens.json

Running the Application

  1. Start the Gmail MCP server:

    python .\gmail-mcp-server\src\gmail\server.py
    
  2. Run the main application:

    python mcp_client.py
    

Development Tools

Inspector Mode

To run the Gmail server in inspector mode:

npx @modelcontextprotocol/inspector python gmail-mcp-server\\src\\gmail\\server.py --creds-file-path .google\\client_creds.json --token-path .google\\app_tokens.json

Known Issues

  1. Calling the int_list_to_exponential_sum twice
  2. Rectangle size is small
  3. Need to check pass the screen size and inform about the canvas size with drawing instructions
  4. Need to increase the font size and formatting

Configuration

The application can be configured through config.py:

  • MAX_ITERATIONS: Maximum number of iterations for problem solving
  • TIMEOUT_SECONDS: Timeout for operations
  • MODEL_NAME: Name of the Gemini model to use
  • LOG_LEVEL: Logging level
  • EMAIL: Email address for notifications
  • LAPTOP_MONITOR: Monitor configuration settings

Dependencies

  • Gmail MCP Server
  • PyAutoGUI for GUI automation
  • Pillow for image processing
  • Gemini API for language model capabilities

Contributing

Feel free to submit issues and enhancement requests!

License

This project is licensed under the MIT License - see the LICENSE file for details.

Quick Start

1

Clone the repository

git clone https://github.com/deepjyotisaha/eag6
2

Install dependencies

cd eag6
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerdeepjyotisaha
Repoeag6
LanguagePython
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation