AgentMCP_V1
by anillibra
Overview
Orchestrates a multi-agent system in ADK, enabling an LLM agent to utilize specialized Microservice Communication Protocol (MCP) servers for tasks like mathematics, SQLite database operations, and Pinecone search indexing.
Installation
uv run 2-streamable-http-mcp-server-multi-agent/main.pyEnvironment Variables
- GOOGLE_API_KEY
- mcp_server_list
- PINECONE_API_KEY
Security Notes
CRITICAL security risks identified: 1. **SQL Injection Vulnerability:** The `sqllite_mcp_server.py` directly executes user-provided SQL queries via `cursor.execute(query)` in both `run_query` and `execute` tools. This allows any malicious user input to read, modify, or delete database contents, or even execute arbitrary system commands if the database user has sufficient privileges. 2. **Hardcoded API Key:** The `PINECONE_API_KEY` is hardcoded directly in `searchindex_mcp_server.py`, which is a severe security risk. This key should always be loaded from environment variables or a secure secret management system. 3. **Local Server Exposure Risk:** While servers run on `localhost`, if these ports (6000, 6001, 6002) were exposed externally (e.g., via a firewall rule or port forwarding), the SQL injection vulnerabilities and access to Pinecone could be exploited by external attackers.
Similar Servers
zenfeed
An AI-powered information hub that acts as an intelligent RSS reader, real-time news knowledge base, and personal assistant for monitoring events and delivering analysis reports.
mcp-server-infranodus
Integrates InfraNodus knowledge graph and text network analysis capabilities into LLM workflows and AI assistants for advanced text analysis, content gap detection, and SEO optimization.
meds-mcp
Provides a medical context protocol (MCP) server and a React-based chat interface for interacting with patient records via LLMs and medical ontologies, facilitating evidence review and patient data exploration.
dotbox-mcp
An MCP server that enables LLMs to execute .NET workloads in isolated Docker containers for C# code execution, project management, and web API hosting.