Back to Home
karthik-s092003 icon

MY_FIRST_MCP_SERVER

Verified Safe

by karthik-s092003

Overview

This project demonstrates an AutoGen agent interacting with an MCP server to perform code conversion between Java and Python, and utilize various utility tools like arithmetic, secret word generation, and weather lookup.

Installation

Run Command
python main.py

Environment Variables

  • API_KEY

Security Notes

The code uses environment variables for API keys, which is good practice. No 'eval' or obvious obfuscation. The 'get_current_weather' tool makes an external API call to 'wttr.in'. While 'wttr.in' is generally safe, direct passing of the 'city' parameter without explicit sanitization could theoretically be a minor risk if the external service were malicious or vulnerable to specific injection patterns. The core functionality relies on sending prompts and potentially sensitive code snippets to a third-party LLM provider (Gemini via OpenAIChatCompletionClient).

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens750
Stars0
Forks0
Last Update2025-11-23

Tags

AutoGenMCPAICode ConversionCoding Agents