Back to Home
suman724 icon

mcp-server-agent

Verified Safe

by suman724

Overview

Demonstrates an intelligent agent utilizing an MCP (Model Context Protocol) server for mathematical operations and showcases Agent-to-Agent (A2A) communication.

Installation

Run Command
python -m mcp_calculator

Environment 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

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens150
Stars0
Forks1
Last Update2026-01-19

Tags

AgentMCPA2ACalculatorLLM