Mo5 Mcp Server

io.github.thlg057由 GitHub 账号 thlg057 发布v1.0.2更新于 Oct 24, 2026

MCP server for Thomson MO5 C development, 6809, CMOC, SDK, toolchain.

已验证STDIO仅桌面知识与记忆开发者工具

概览

AI 生成的概览

一个本地 MCP 服务器,将 AI 助手连接到 MO5 RAG 知识库和 Thomson MO5 6809 开发构建工具。

可以做什么
通过 RAG 服务器对 MO5 技术文档进行语义搜索,并浏览已索引文档、标签和索引状态。启用预配置的 Thomson MO5 专家提示,用于开发问答。生成可启动的 .fd 磁盘镜像,将 .fd 镜像转换为 SDDrive 用的 .sd,并把 PNG 素材转换为 C 精灵头文件。
适用场景
适合使用 CMOC 和 6809 为 Thomson MO5 微型计算机开发软件时使用,也适合让助手基于精选文档库回答 MO5 技术问题并生成磁盘镜像或精灵头文件。
运行要求
通过 npx 或源码在本地运行,需要 Node.js v18 或更高版本。必须设置环境变量 RAG_BASE_URL 指向 MO5 RAG 服务器;提供公共实例,自托管可选。仅 PNG 转精灵工具需要 Python 3 和 Pillow。需要能访问 RAG 服务器的网络。
安装前请注意
服务器会把查询发送到 RAG_BASE_URL 指定的 RAG 服务器,因此文档内容和问题会离开本机;只应指向你信任的实例。构建工具会在本机写入磁盘镜像和 C 头文件等文件。PNG 转精灵工具依赖另行安装的 Python 包。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Mo5 Mcp Server,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

MO5 MCP Server (RAG Connector)

This MCP server (Model Context Protocol) acts as a bridge between modern AI agents (Claude Desktop, Augment, Cursor) and the Thomson MO5 ecosystem.
It allows access to an expert knowledge base and manipulation of MO5 heritage files.

It provides semantic search tools, documentation resources, and expert prompts to facilitate development around the Thomson MO5 microcomputer.

🏗️ MO5 Development Ecosystem

This server is part of a complete toolchain for modern 6809 development:

🌐 RAG Infrastructure (Artificial Intelligence)

The server relies on a Retrieval-Augmented Generation architecture to provide accurate answers based on real technical documentation.

🚀 Features

  • Semantic Search: Intelligent search within the MO5 technical documentation.
  • Resources Explorer: Direct access to the list of documents, tags, and indexing status.
  • Expert Prompt: A preconfigured "Expert Thomson MO5" mode for the AI.
  • Build Tools: Generate bootable .fd disk images, convert .fd to .sd for SDDrive, and convert PNG assets to C sprite headers.
  • Robustness: Native handling of timeouts (30s) and retry policy for unstable network environments (NAS).

🌐 Public MO5 RAG Server

The MO5 RAG server is now publicly deployed and accessible on the Internet.

👉 https://retrocomputing-ai.cloud/

This MCP server is designed to work out of the box with the public RAG instance.

For most users, this means:

  • no RAG server to install
  • no Docker setup
  • no local infrastructure to maintain

Simply configure the MCP server to point to the public URL and start using it from your coding agent.

Self-hosting a RAG server is still possible if you want to:

  • experiment with the internals
  • customize the knowledge base
  • run everything offline

But it is no longer required for normal usage.

🛠️ Requirements

  • Node.js (v18 or higher)
  • Python 3 with Pillow (pip install Pillow) — required only for the png_to_mo5_sprite tool.

The official public MO5 RAG server is available at: https://retrocomputing-ai.cloud/

You can use this public instance directly, there is no need to host your own RAG server.

📦 Installation & Setup

Option 1 — Via npx (recommended, no installation required)

Configure your agent to run the server directly from npm. No git clone or npm install needed.

json
{  "mcpServers": {    "mo5-server": {      "command": "npx",      "args": [        "-y",        "@thlg057/mo5-rag-mcp"      ],      "env": {        "RAG_BASE_URL": "https://retrocomputing-ai.cloud"      }    }  }}

Option 2 — From source

bash
git clone https://github.com/thlg057/mo5-mcp-server.gitcd mo5-mcp-servernpm install

Then configure your agent:

json
{  "mcpServers": {    "mo5-rag": {      "command": "node",      "args": ["C:\\your\\path\\to\\mo5-mcp-server\\index.js"],      "env": {        "RAG_BASE_URL": "https://retrocomputing-ai.cloud"      }    }  }}

Note for Windows: Use double backslashes \\ or single slashes / in the path to avoid JSON formatting errors.

🤖 Integration into an Agent (e.g., Augment, Claude Desktop)

Add one of the configurations above to your MCP configuration file (e.g., augment_config.json or claude_desktop_config.json).

🧪 Local Testing

It is recommended to test the server before integration to ensure proper communication with the RAG API.

Via the MCP Inspector (Recommended)

bash
# Windows (PowerShell)$env:RAG_BASE_URL="https://retrocomputing-ai.cloud"; npx @modelcontextprotocol/inspector node index.js

Via Command Line

bash
echo {"jsonrpc":"2.0","method":"tools/list","id":1} | node index.js

📂 Project Structure

  • index.js: Main source code of the MCP server.
  • scripts/: Python scripts for build tools (makefd.py, fd2sd.py, png2mo5.py).
  • package.json: Dependencies (MCP SDK).
  • .gitignore: Ignores node_modules and environment files.

🏗️ MO5 Development Ecosystem

This server is part of a suite of tools designed to modernize development on the Thomson MO5:

  • SDK MO5: A C library for CMOC that provides easy access to the hardware (video, keyboard, monitor) without writing assembly.
  • Project Template: A ready-to-use project skeleton with an automated Makefile that compiles, links the SDK, and generates a bootable disk image in a single command. Also includes this MCP server as a dev dependency so your coding agent has full context and build capabilities out of the box.

This project is part of the digital preservation ecosystem for the Thomson MO5 microcomputer.

来源:README.md,提交 e41c09c

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.0.2最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分