MCP-Agent
by CursorTouch
Overview
An AI agent for discovering, connecting to, and interacting with Model Context Protocol (MCP) servers and their provided tools, resources, and prompts.
Installation
python main.pyEnvironment Variables
- GOOGLE_API_KEY
Security Notes
The agent dynamically executes shell commands via `StdioTransport` (e.g., `npm install`, `npx`) based on server configurations read from `config.json` or generated by the LLM. If a malicious MCP server configuration is added (manually by the user or through a compromised prompt), it could lead to arbitrary code execution on the host machine. The agent also connects to external MCP servers, meaning a malicious server could exploit vulnerabilities in the client or provide unsafe tool outputs. While `ast.literal_eval` is used for action inputs, `json.loads` is also present, which doesn't protect against malicious data if the structure is not enforced. There's no explicit sandboxing mentioned for tool execution or subprocess calls.
Similar Servers
kubernetes-mcp-server
Provides a Model Context Protocol (MCP) server for AI agents to interact with Kubernetes and OpenShift clusters, enabling AI-driven cluster management and diagnosis.
mcp
A collection of Model Context Protocol (MCP) servers designed to connect IBM products and other services to AI agents for enhanced capabilities across automation, data, development, infrastructure, observability, networking, research, and security.
mcp-servers
Provides a curated collection of Model Context Protocol (MCP) server configurations to enable AI agents to interact with various developer tools and services.
agentor
Deploy scalable AI agents with tool integrations (weather, email, GitHub, etc.) and support for A2A and MCP communication protocols.