lite-mcp
by stonehill-2345
Overview
A framework for developing and managing various testing-related MCP (Model Context Protocol) servers, including Android device automation, stability testing, desktop mouse/keyboard control, filesystem operations, and integration of external MCP services.
Installation
./scripts/manage.sh upEnvironment Variables
- LiteMCP_ROOT
- LiteMCP_LOG_LEVEL
- MCP_SERVER_HOST
- JINA_API_KEY
- CUSTOM_CONFIG
- API_KEY
- BASE_URL
Security Notes
The system inherently exposes powerful host-level operations as 'tools', which pose significant security risks if not strictly protected by authentication and authorization. Critical concerns include: 1. **Arbitrary Command Execution**: The `ExternalMCPServer` allows launching external MCP services by executing commands and arguments from configuration files (`config/external_mcp.json`). If these configurations can be modified by an untrusted entity, it leads to arbitrary code execution on the host machine. 2. **Direct Filesystem Manipulation**: The `FileSystemMCPServer` provides direct access to create, read, write, delete, copy, and move files/directories. This can lead to full filesystem compromise if exposed to untrusted input. 3. **Device Control**: `AndroidMCPServer` and `MouseMCPServer` enable direct control of Android devices (via ADB) and the host's mouse/keyboard (via `pyautogui`), respectively. These are high-privilege operations. 4. **Client-Side Code Execution (Frontend)**: The `CodeExecutorTool.js` (client-side) attempts to sandbox code execution, but client-side sandboxing is not foolproof and still introduces risk if malicious code can bypass it. These features, while powerful for automation, make the server unsafe to run in an untrusted environment or without robust access control mechanisms.
Similar Servers
mcp-interviewer
A Python CLI tool to evaluate Model Context Protocol (MCP) servers for agentic use-cases, by inspecting capabilities, running functional tests, and providing LLM-as-a-judge evaluations.
mcp-k8s
A Kubernetes MCP (Model Control Protocol) server that enables natural language interaction with Kubernetes clusters and Helm for resource and release management.
mcp-jest
Automated testing, discovery, and validation framework for Model Context Protocol (MCP) servers.
mcp-framework
A Rust framework implementing the Model Context Protocol for building production-ready MCP servers, clients, and intelligent AI agents that integrate with LLMs for tool use and browser automation.