MO5 MCP Server logo

MO5 MCP Server

thlg057/mo5-mcp-server
0 starsv1.0.2STDIORegistry activeMITUpdated 2026-04-13Community

Is this your server?

Add your score badge to your README and get your server in front of 45k+ builders a month.

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

claude mcp add mo5 -- npx -y @thlg057/mo5-rag-mcp

Summary

Enables AI agents to access Thomson MO5 technical documentation, perform semantic search, and use build tools for MO5 development.

Connect from your MCP client

One-click install

Add this server to your editor with a single click. Fill in any required credentials afterward.

Claude Code

Run this once and Claude Code registers the server for you:

claude mcp add mo5 -- npx -y @thlg057/mo5-rag-mcp

Claude Desktop

Add this to claude_desktop_config.json under Settings → Developer → Edit Config:

{
  "mcpServers": {
    "mo5": {
      "command": "npx",
      "args": [
        "-y",
        "@thlg057/mo5-rag-mcp"
      ],
      "env": {
        "RAG_BASE_URL": "<RAG_BASE_URL>"
      }
    }
  }
}

Cursor

Add this to .cursor/mcp.json in your project (or ~/.cursor/mcp.json for all projects):

{
  "mcpServers": {
    "mo5": {
      "command": "npx",
      "args": [
        "-y",
        "@thlg057/mo5-rag-mcp"
      ],
      "env": {
        "RAG_BASE_URL": "<RAG_BASE_URL>"
      }
    }
  }
}

Cline and other MCP clients

Most MCP clients accept the standard mcpServers JSON block:

{
  "mcpServers": {
    "mo5": {
      "command": "npx",
      "args": [
        "-y",
        "@thlg057/mo5-rag-mcp"
      ],
      "env": {
        "RAG_BASE_URL": "<RAG_BASE_URL>"
      }
    }
  }
}

Codex CLI

Register the server with OpenAI's Codex CLI — run this once, or add the equivalent block to ~/.codex/config.toml:

codex mcp add mo5 --env RAG_BASE_URL=<RAG_BASE_URL> -- npx -y @thlg057/mo5-rag-mcp

# or add to ~/.codex/config.toml:
[mcp_servers.mo5]
command = "npx"
args = ["-y", "@thlg057/mo5-rag-mcp"]
[mcp_servers.mo5.env]
RAG_BASE_URL = "<RAG_BASE_URL>"

OpenClaw

OpenClaw reads MCP servers from the mcp.servers section of ~/.openclaw/openclaw.json (managed via `openclaw mcp add` or the mcporter skill):

{
  "mcp": {
    "servers": {
      "mo5": {
        "command": "npx",
        "args": [
          "-y",
          "@thlg057/mo5-rag-mcp"
        ],
        "env": {
          "RAG_BASE_URL": "<RAG_BASE_URL>"
        }
      }
    }
  }
}

Replace the <PLACEHOLDER> values with your own credentials — see the configuration table below.

Configuration

MO5 MCP Server reads the following environment variable:

VariableRequired
RAG_BASE_URLRequired

README.md

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:

  • SDK MO5 : https://github.com/thlg057/sdk_mo5

C library optimized for CMOC.

  • MO5 Project Template : https://github.com/thlg057/mo5_template

Project template with automated Makefile.

  • This MCP Server : The assistant that connects everything, answers technical questions, and generates assets.

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

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

Option 2 — From source

git clone https://github.com/thlg057/mo5-mcp-server.git
cd mo5-mcp-server
npm install

Then configure your agent:

{
  "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)

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

Via Command Line

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.

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Search servers.