mcp-server-agent
Verified Safeby suman724
Overview
Demonstrates an intelligent agent utilizing an MCP (Model Context Protocol) server for mathematical operations and showcases Agent-to-Agent (A2A) communication.
Installation
python -m mcp_calculatorEnvironment Variables
- MCP_SERVER_URL
- A2A_BASE_URL
- API_KEY
- LLM_PROVIDER
- LLM_MODEL
- LLM_API_BASE
- LLM_BASE_URL
- LLM_API_KEY
- OPENAI_API_KEY
- GEMINI_API_KEY
- GOOGLE_API_KEY
Security Notes
The server binds to `0.0.0.0` and all default communication (MCP, A2A) happens over unencrypted HTTP (e.g., `localhost:8000`, `localhost:8001`). This is acceptable for local development and demonstration purposes but would require HTTPS and proper network configuration for production deployment. API keys are appropriately managed via environment variables. The 'simple_exec' mode in the agent's CLI is not a direct arbitrary code execution vulnerability, as it parses fixed tool names and numeric arguments.
Similar Servers
agentor
Build and deploy scalable AI agents that can interact with various tools and communicate via A2A and MCP protocols.
MCP-Agent
An autonomous AI agent designed to discover, connect to, and utilize tools and resources from various Model Context Protocol (MCP) servers to accomplish tasks.
agents-mcp-usage
This repository demonstrates the integration of a Model Context Protocol (MCP) server with various AI agent frameworks, showcasing agent communication and operation within a shared context.
polybrain-mcp
Connects AI agents to multiple LLM models, providing conversation history management and model switching capabilities.