tinysa-mcp: MCP server for TinySA serial control

tinysa-mcp: MCP server for TinySA serial control

tinysa_mcp•bymanahiyo831

An MCP server that connects to a TinySA device over a serial port and exposes tools to send commands, read version and device information, and capture screen images.

License: MIT License•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Provides MCP tools to connect to and disconnect from a TinySA device on a specified serial port.
  • •Sends commands to the TinySA device and returns its responses.
  • •Retrieves firmware, hardware, and detailed device information from the connected device.
  • •Captures the TinySA screen image and can optionally save it to a timestamped file.

BEST FOR

  • •Controlling and querying a TinySA spectrum analyzer through an MCP client.
  • •Automating command execution and screen capture from a TinySA device.

ABOUT TINYSA_MCP

tinysa-mcp: MCP server for TinySA serial control is cataloged as an MCP server attributed to manahiyo831. An MCP server that connects to a TinySA device over a serial port and exposes tools to send commands, read version and device information, and capture screen images. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for tinysa-mcp: MCP server for TinySA serial control are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Which MCP tools does the server expose?

It exposes get_version, execute_command, connect, disconnect, get_device_info, and capture_image tools.

Is the project's reliability guaranteed?

No; the author states the project is experimental and proper operation is not guaranteed.

上游原版 README

在 GitHub 查看同一版本原文

README.md · ea6fc0e86b02 · 采集于 2026-11-13 11:33:52 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

tinysa-mcp

MCP server for operating TinySA through serial port

Sorry, I'm currently experimenting and cannot guarantee that it will work properly.

Overview

This project is an MCP server designed to operate a TinySA device via a serial port. It leverages 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.

Architecture and Threading Model

This project uses both a Tkinter-based GUI and an MCP server. Due to Tkinter's requirement to run in the main thread, the following design is used:

flowchart TD
    subgraph MainThread
        A[main()] --> B[tk.Tk() & TinySALogMonitor]
        B --> C[root.mainloop()]
    end
    subgraph MCPThread
        D[run_mcp_server(mcp_server)]
        D --> E[mcp_server.run()]
    end
    E -- log_callback --> F[log_monitor.log_queue]
    F -- root.afterで定期ポーリング --> B
    D -- サーバー終了時 --> G[root.after(0, root.destroy)]
  • Tkinter GUI runs in the main thread:
    The main thread initializes the Tkinter root window and starts the main event loop. All GUI operations are performed in this thread.

  • MCP server runs in a background thread:
    The MCP server is started in a separate thread using Python's threading.Thread. This allows the server to handle requests concurrently with the GUI.

  • Thread-safe communication via queue:
    Log messages and other data from the MCP server (or other background threads) are sent to the GUI using a queue.Queue. The GUI periodically polls this queue using root.after to update the display safely.

  • Graceful shutdown:
    When the MCP server stops, it schedules the GUI to close using root.after(0, root.destroy), ensuring all Tkinter operations remain in the main thread.

Example (main function):

def main():
    root = tk.Tk()
    log_monitor = TinySALogMonitor(root)
    mcp_server = create_mcp_server(log_monitor.add_log)
    mcp_thread = threading.Thread(target=run_mcp_server, args=(mcp_server,), daemon=True)
    mcp_thread.start()
    root.mainloop()

Notes

  • Do not access Tkinter objects from background threads.
    Always use the provided queue and root.after for thread-safe communication.
  • This design ensures both the MCP server and the GUI can run concurrently without violating Tkinter's threading requirements.

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.

MCP Tools

The following MCP tools are available:

  • 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.

Usage Example

Invoke the MCP tools using an MCP client. For example, to get the device version:

mcp call get_version --args '{"port": "COM4"}'

Troubleshooting

  • Connection Issues: Ensure the specified serial port is correct and that your user has appropriate permissions.
  • Command Failures: Check the MCP server logs (if available) for error messages.
  • Image Capture: Verify that the device returns sufficient data (307200 bytes) during image capture.
  • Refer to the Model Context Protocol documentation for more information on MCP integration.

Materials

Refer to the material directory for additional documentation, it will be good to add the file "USB interface.txt" as a AI knowledge.

License

This project is licensed under the MIT License.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for tinysa-mcp: MCP server for TinySA serial control from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/tinysa_mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools