MCP cover image
See in Github
2025-03-22

这是用于操作Tinysa的实验性MCP服务器。

1

Github Watches

1

Github Forks

0

Github Stars

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.

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.

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • modelcontextprotocol
  • 模型上下文协议服务器

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • Mintplex-Labs
  • 带有内置抹布,AI代理,无代理构建器,MCP兼容性等的多合一桌面和Docker AI应用程序。

    Reviews

    2 (1)
    Avatar
    user_65fpqCQM
    2025-04-16

    As a dedicated user of Data Gouv MCP Server, I can confidently say that this application is a game-changer for managing data efficiently. The user interface is incredibly intuitive, and the functionality is robust, making data governance tasks smooth and straightforward. Highly recommended for anyone looking to improve their data management processes!