micro-mcp

pelikhan/micro-mcp

3.4

If you are the rightful owner of micro-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.

The micro-mcp library allows you to turn your BBC micro:bit into a Model Context Protocol (MCP) server, enabling the definition of MCP tools in TypeScript and connection to an MCP client via stdio.

The micro-mcp library is designed to transform a BBC micro:bit into a Model Context Protocol (MCP) server. This innovative library allows developers to define MCP tools using TypeScript, providing a seamless way to interact with the micro:bit's hardware features. By leveraging the bridge script, users can connect to an MCP client through standard input/output, facilitating communication and control. The library is particularly useful for educational purposes, enabling students and hobbyists to explore the capabilities of the micro:bit in a structured and programmable manner. With the ability to define custom tools, users can create unique applications that utilize the micro:bit's LED matrix, buttons, and sensors. The integration with Visual Studio Code further enhances the development experience, offering a robust environment for testing and deploying MCP servers. Additionally, the library can be used as an extension in MakeCode, broadening its accessibility and ease of use for beginners.

Features

  • Define MCP tools in TypeScript for the micro: bit.
  • Connect to MCP clients via stdio using a bridge script.
  • Display numbers on the micro: bit's LED matrix.
  • Integrate with Visual Studio Code for development.
  • Use as an extension in MakeCode for easy access.

Tools

  1. show_number

    Show a number on the 5 x 5 LED matrix.