
erav3 s25
A tool-augmented LLM agent that can solve math problems, visualize results, and send you an email — all autonomously. No human-in-the-loop.
Repository Info
About This Server
A tool-augmented LLM agent that can solve math problems, visualize results, and send you an email — all autonomously. No human-in-the-loop.
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
MCP Server Demo with GMAIL integration
This project demonstrates the use of the Model Context Protocol (MCP) to create a math agent capable of solving problems iteratively using various tools. The project includes tools for mathematical operations, drawing, and email sending, among others.
Project Structure
- example2.py: Defines the MCP server and tools for mathematical operations, drawing, and email sending.
- talk2mcp-2.py: Implements the client-side logic for interacting with the MCP server, including tool usage and iterative problem-solving.
- pyproject.toml: Configuration file for the project.
- uv.lock: Lock file for dependencies.
Key Features
-
Mathematical Tools:
- Addition, subtraction, multiplication, division, power, square root, cube root, factorial, logarithm, and trigonometric functions.
- Special tools like
strings_to_chars_to_intandint_list_to_exponential_sum.
-
Drawing Tools:
- Draw rectangles and add text in Microsoft Paint.
- Open and interact with Sketch.io for drawing and text addition.
-
Email Sending:
- Send emails using the Gmail API with OAuth2 authentication.
-
Iterative Problem Solving:
- The client iteratively solves problems by interacting with the MCP server and tools.
Setup Instructions
- Clone the repository.
- Install required dependencies
- Create a
.envfile and add your Gemini API key:GEMINI_API_KEY=your_api_key_here - For Gmail API, set up credentials and save them as
credentials.jsonin the project root. - Run the MCP server:
python example2.py - Run the client:
python talk2mcp-2.py
Usage
- The client interacts with the server to solve mathematical problems, draw shapes, and send emails.
- Modify the query in
talk2mcp-2.pyto test different scenarios.
Dependencies
- Python 3.8+
- MCP library
- Google Generative AI library
- Gmail API client
- PyAutoGUI
- Pillow
License
This project is licensed under the MIT License.
Quick Start
Clone the repository
git clone https://github.com/satyasundar/erav3-s25Install dependencies
cd erav3-s25
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.