📦
Eagv1 Session 04 Ajithvcoder
EAG-Session-04 Assignment - MCP Server for paint app, MCP functionality to send email
0 installs
Trust: 34 — Low
Comms
Ask AI about Eagv1 Session 04 Ajithvcoder
Powered by Claude · Grounded in docs
I know everything about Eagv1 Session 04 Ajithvcoder. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Loading tools...
Reviews
Documentation
EAG-Session-04 Assignment
Contents
Requirements
In short write a mcp server that can
-
convert word India to ascii characters
-
calculate a exponential value
-
open paint, create a rectange
-
Add the answer inside the rectangle
-
Send the answer as email
From EAG course
- Paint App doesn't have an MCP server so that is what we'll need to do. I called 3 commands, open_paint, draw_rectangle, and then add_text_in_paint. Your assignment is to call it using Agent.
- YouTube video clearly showing the paint (or another app) with added text, and then scrolling through the LLM logs, where I can see that you indeed made LLM do it
- Link to your talk2mcp.py file on GitHub where I can see how you did it
- [BONUS OPTIONAL 2000 Points]: Another video, where instead of drawing you receive an email (gmail) from this LLM using Gmail MCP. Show LLM logs as well.
Development Method
Overview
Write a mcp server that can
- convert word India to ascii characters
- calculate a exponential value
- open paint, create a rectange
- Add the answer inside the rectangle
- Send the answer as email
Method
- Write MCP server functionalities in
paint_mcp_server.pyto draw rectangle, write text. Make sure you adjust the coordinates in accordance with your system. As they are hardcoded. - Write logging functionality instead of print
- Test it with
mcp dev paint_mcp_server.py - Now go to
talk2mcp.pyand adjust the prompts and other functionalites to satisfy the requirement
Usage
Installations
pip install -r requirements.txt
Execution
python talk2mcp.py
Testing
mcp dev paint_mcp_server.py
Learnings
- Learnt how to create mcp server functions
- Learnt how to prompt
Results
Paint App

Email functionality

Logs

