Back to Home
CursorTouch icon

MCP-Agent

by CursorTouch

Overview

An autonomous AI agent designed to discover, connect to, and utilize tools and resources from various Model Context Protocol (MCP) servers to accomplish tasks.

Installation

Run Command
python main.py

Environment Variables

  • GOOGLE_API_KEY
  • EXA_API_KEY

Security Notes

The `StdioTransport` is designed to execute arbitrary commands (e.g., `npm`, `python`, `uv`) via `asyncio.create_subprocess_exec` on the host system. This is based on `command` and `args` defined in MCP server configurations, which can be user-provided or dynamically discovered from external sources (e.g., GitHub). This fundamental capability allows the agent to run any code on the host, presenting a critical security risk if interacting with malicious or unvetted MCP servers, or if the agent itself is compromised. While `ast.literal_eval` is used for parsing LLM action inputs, it is generally safer than `eval()` and less of a concern compared to arbitrary subprocess execution.

Similar Servers

Stats

Interest Score37
Security Score3
Cost ClassHigh
Avg Tokens2000
Stars15
Forks6
Last Update2026-01-08

Tags

AI AgentTool UseMulti-agent SystemOrchestrationLLM Integration