tinySA_mcp
If you are the rightful owner of tinySA_mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
MCP server for operating TinySA through serial port
The TinySA-MCP project is a Model Context Protocol (MCP) server designed to operate a TinySA device via a serial port. It utilizes Python libraries such as pyserial, httpx, numpy, Pillow, and FastMCP to provide a tool-based interface for connecting to the device, executing commands, and retrieving device version information. The architecture employs a Tkinter-based GUI running in the main thread and an MCP server in a background thread, ensuring thread-safe communication via a queue. This design allows the server to handle requests concurrently with the GUI, maintaining Tkinter's threading requirements. The server supports sending commands, retrieving responses, and capturing images from the device screen, with optional file saving. It also provides MCP tools for integration with other systems.
Features
- Send commands and retrieve responses from the device.
- Retrieve firmware and hardware version information.
- Exposes MCP tools for integration with other systems.
- Supports image capture from the device screen, and optional file saving with timestamps.
Tools
get_version
Retrieve version information from the TinySA device.
execute_command
Send a command to the TinySA device and get the response.
connect
Connect to the TinySA device on a specified port.
disconnect
Disconnect the TinySA device.
get_device_info
Retrieve detailed information about the connected device.
capture_image
Capture the TinySA screen image and optionally save it to a file with a timestamp.