Back to Home
ramsjenu icon

AGAI09-MCP-Server

Verified Safe

by ramsjenu

Overview

An AI agent leveraging LangGraph and OpenAI to interact with external tools via the Model Context Protocol (MCP) using JSON-RPC over STDIO.

Installation

Run Command
python mcp_client.py

Environment Variables

  • OPEN_AI_KEY
  • SERPER_API_KEY

Security Notes

The core server (`mcp_server.py`) does not exhibit immediate critical security flaws like `eval` or hardcoded secrets. It correctly loads API keys from environment variables and uses Pydantic for input validation. However, the `README.md` suggests using `eval(input.expression)` when demonstrating how to extend the system with a calculator tool. While this is in the documentation and not the deployed code, implementing such a suggestion without proper sanitization would introduce a severe security vulnerability (arbitrary code execution). External API calls (wttr.in, Serper API) are inherent to its function, with timeouts implemented.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens600
Stars0
Forks0
Last Update2025-11-20

Tags

MCPLangGraphOpenAIAI AgentTooling