ClaudeCodeMod

All shelves / MCP servers

micro-mcp

pelikhan/micro-mcp · 12 stars · TypeScript

MCP server A MCP server framework for the BBC micro:bit and MakeCode

Install

The repo has no one-line install. Follow its README.

Open the repo

Files

README.md

micro-mcp

Turn your BBC micro:bit into a Model Context Protocol (MCP) server

With this library, you will be able to define MCP tools in TypeScript (blocks not yet) and use the bridge script to connect to a MCP client via stdio.

MicrosoftTeams-video.mp4

Example

This example shows how to define a tool that displays a number on the micro:bit's LED matrix.

mcp.tool({
    definition: {
        name: "show_number",
        description: "Show a number on the 5 x 5 LED matrix",
        inputSchema: {
            type: "object",
            properties: {
                number: { type: "integer", description: "Integer to show" }
            },
            required: ["number"]
        },
        annotations: {
            title: "Show Number",
            idempotentHint: true,
        }
    },
    handler: (args: { number: number }) => {
        const number = args.number || 0;
        basic.showNumber(number);
        return `ok`;
    }
})
mcp.startServer()

Visual Studio Code

To test out the MCP server, you can use the bridge script in this repository.

  • install dependencies
npm ci
  • create a .vscode/mcp.json file in the root of this repository with the following content:
{
    "servers": {
        "micro-mcp": {
            "type": "stdio",
            "command": "node",
            "args": ["${workspaceFolder}/bridge.mjs"]
        }
    }
}
  • open GitHub Copilot Chat
  • open the mcp.json file and start the server
  • click on the Tools icon and make sure your tool are listed and selected
  • prompt away!

Use as Extension

This repository can be added as an extension in MakeCode.

Edit this project

Use Visual Studio Code to edit this project.

Metadata (used for search, rendering)

  • for PXT/microbit

ChatGPT Image Jun 4, 2025, 02_22_06 PM

Facts

Kind
MCP server
Repo
pelikhan/micro-mcp
Group
Uncategorized
Stars
12
Language
TypeScript
Last push
2025-06-05
Forks
1
Homepage
pelikhan.github.io/micro-mcp

More on this shelf

  1. 1REAio.github.morluto/reaReverse engineer anything from your terminal or agent with one CLI and MCP server.125.3k
  2. 2com.browser-use/browser-usecom.browser-use/browser-useControl a real Chrome browser to complete any task: fill forms, extract data, book flights.117.7k
  3. 3World Monitorapp.worldmonitor/mcpLive markets, conflicts, country risk, chokepoints, energy, and China decision signals. 93 tools.88.3k
  4. 4Scrapling MCP Serverd4vinci/scrapling🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scraplingdev86.9k
  5. 5Everythingmodelcontextprotocol/serversThis MCP server attempts to exercise all the features of the MCP protocol. It is not intended to be a useful server, but rather a test server for builders of MCP clients. It implements prompts, tools, resources, sampling, and more to showcase MCP capabilities.85.8k
  6. 6Fetchmodelcontextprotocol/serversA Model Context Protocol server that provides web content fetching capabilities. This server enables LLMs to retrieve and process content from web pages, converting HTML to markdown for easier consumption.85.8k