
eag6
实现一个解决数学问题、展示结果并发送邮件的代理工具。
Repository Info
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
-
Create a
.envfile in the project root with your Gemini API key:GEMINI_API_KEY=your_api_key_here -
Set up Gmail API credentials:
- Place your Gmail API credentials in
.google/client_creds.json - Place your app tokens in
.google/app_tokens.json
- Place your Gmail API credentials in
Running the Application
-
Start the Gmail MCP server:
python .\gmail-mcp-server\src\gmail\server.py -
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
- Calling the int_list_to_exponential_sum twice
- Rectangle size is small
- Need to check pass the screen size and inform about the canvas size with drawing instructions
- 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 solvingTIMEOUT_SECONDS: Timeout for operationsMODEL_NAME: Name of the Gemini model to useLOG_LEVEL: Logging levelEMAIL: Email address for notificationsLAPTOP_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
Clone the repository
git clone https://github.com/deepjyotisaha/eag6Install dependencies
cd eag6
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.