multi-server-mcp-example
Verified Safeby aruc-dev
Overview
An AI agent client that integrates weather information and task management using a multi-server Model Context Protocol (MCP) architecture.
Installation
./start_client.shEnvironment Variables
- GOOGLE_GEMINI_API_KEY
- OPENWEATHERMAP_API_KEY
Security Notes
API keys are handled securely via environment variables (.env). Subprocess execution is limited to hardcoded Python scripts within the project, reducing command injection risks from user input. File operations for task management and resources are on fixed local filenames. 'shlex.split' is used for parsing arguments, which is safer than simple string splitting. No 'eval' or other highly dangerous patterns were observed being used with untrusted input.
Similar Servers
AI-Prompt-Guide-MCP
Orchestrates AI agents for project management and development workflows by linking structured markdown specifications and tasks.
MCP-Servers-with-Tools
Integrates external APIs (National Weather Service, Rick and Morty GraphQL) into an MCP-compatible server to expose them as tools for AI agents and interactive clients.
mcp_server_weather_jayden
This server provides current and forecasted weather data for specific geographical coordinates as a tool callable by an AI agent.
mcp-simulation
Serves weather forecast and alert data from the National Weather Service API as tools for an MCP-compatible AI agent.