team05-mcp-server
by foundry-mcp
Overview
The system provides a unified interface for controlling a Transmission Electron Microscope (TEAM 0.5), including various components like the microscope hardware, a Gatan Digital Micrograph system, a 4D camera, and a Distiller database, through multiple interconnected servers and MCP agents.
Installation
python mcp_library.pyEnvironment Variables
- CAM_HOST
- CAM_PORT
- CAM_IP
- for_vfdaq
- API_URL
- API_KEY_NAME
- API_KEY
Security Notes
CRITICAL: The use of `pickle.loads` on unauthenticated network input in `microscope_server.py` and `gatan_server.py` allows for arbitrary remote code execution (RCE). This is a severe and easily exploitable vulnerability. High Risk: `4Dcamera_commands_mcp.py` uses `paramiko` and `sshpass -e ssh` to connect via SSH using passwords retrieved from environment variables. Passing passwords directly in this manner, even from environment variables, is not a secure practice for robust automation and can expose credentials (e.g., in process lists). Moderate Risk: `subprocess.call` in `gatan_server.py` executes external `.s` scripts. While these scripts are generated from Python templates, insufficient sanitization of input parameters to the template functions could potentially lead to arbitrary command injection and execution on the Gatan PC. Network Exposure: `microscope_server.py` and `gatan_server.py` bind to all network interfaces (`tcp://*:port`), making them accessible from any device on the network. Without stringent firewall rules and network segmentation, this significantly increases the attack surface. Lack of Authentication/Encryption: Communication between servers (ZeroMQ, raw sockets for 4D camera) does not appear to have explicit authentication or encryption layers implemented in the provided code, relying solely on network-level security.
Similar Servers
Local_MCP_Client
The client acts as a cross-platform web and API interface for natural language interaction with configurable MCP servers, facilitating structured tool execution and dynamic agent behavior using local LLMs.
robot-mcp-server
An MCP server designed for controlling a robot, enabling actions like movement and navigation through a defined protocol and tools, bridging an LLM or control system with a ROS2 environment.
telescope-mcp
An MCP (Model Context Protocol) server enabling AI agents to control telescope hardware (cameras, motors, sensors) and providing a web dashboard for human monitoring and manual control.
selenium-mcp-server
Provides a FastMCP server to enable AI agents or language models to automate web browsers for tasks like navigation, interaction, and data extraction.