RomM MCP
MCP Server for your RomM platform
š® RomM MCP Server
An MCP (Model Context Protocol) server for RomM ā the self-hosted game and ROM management platform.
Give your AI assistant full access to browse, search, and manage your retro game library.
Supports both transports:
- stdio ā local CLI usage (default)
- Streamable HTTP ā Docker / remote / multi-client
Features
- Browse your full ROM library with pagination, filtering, and sorting
- Search games by name across all platforms
- Platforms ā list all platforms with ROM counts and metadata
- Collections ā create, list, update, and delete game collections
- ROM details ā full metadata including genres, companies, ratings, summaries
- Firmware ā list available firmware files per platform
- Save management ā browse save files and save states
- Notes ā CRUD notes attached to any ROM
- System ā heartbeat check, config, trigger library scans
- Screenshots ā browse screenshots per ROM
- Download URLs ā generate authenticated download links
Requirements
- Node.js >= 20.0.0
- A running RomM instance (v4.x+)
- A RomM API key (
rmm_*token)
Installation
Option 1: npx (no install needed)
npx romm-mcp
Option 2: Clone and build
git clone https://github.com/rodrigosiviero/romm-mcp.git
cd romm-mcp
npm install
npm run build
Option 3: Docker
docker compose up -d
See Docker section below for details.
Configuration
Environment Variables
| Variable | Required | Description |
|---|---|---|
ROMM_BASE_URL | Yes | Your RomM instance URL (e.g. http://romm.local:5500) |
ROMM_API_KEY | Yes | RomM API key (generate in RomM ā Settings ā API Keys) |
MCP_TRANSPORT | No | stdio (default) or http for Streamable HTTP mode |
MCP_PORT | No | HTTP server port (default 3000, HTTP mode only) |
MCP_HOST | No | HTTP bind address (default 0.0.0.0, HTTP mode only) |
ROMM_DEBUG | No | Sets to 1 for debug logs |
Getting Your API Key
- Open your RomM web UI
- Go to Settings ā API Keys
- Click Generate Key
- Copy the
rmm_...token
Usage
stdio Transport (Local)
For Claude Desktop, Cursor, CoPaw, and other local MCP clients.
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"romm": {
"command": "npx",
"args": ["-y", "romm-mcp"],
"env": {
"ROMM_BASE_URL": "http://your-romm-instance:5500",
"ROMM_API_KEY": "rmm_your_api_key_here"
}
}
}
}
CoPaw / OpenClaw
Add to agent.json under mcp.clients:
{
"romm": {
"name": "romm",
"description": "RomM MCP server",
"enabled": true,
"transport": "stdio",
"command": "npx",
"args": ["-y", "romm-mcp"],
"env": {
"ROMM_BASE_URL": "http://your-romm-instance:5500",
"ROMM_API_KEY": "rmm_your_api_key_here"
}
}
}
Streamable HTTP Transport (Remote / Docker)
For remote access, Docker deployments, or sharing one MCP server with multiple clients.
Local HTTP
MCP_TRANSPORT=http MCP_PORT=3000 \
ROMM_BASE_URL=http://your-romm-instance:5500 \
ROMM_API_KEY=rmm_your_api_key_here \
npx romm-mcp
Then connect your client:
{
"mcpServers": {
"romm": {
"type": "streamable-http",
"url": "http://localhost:3000/mcp"
}
}
}
Docker
Create a .env file:
ROMM_BASE_URL=http://host.docker.internal:5500
ROMM_API_KEY=rmm_your_api_key_here
Then:
docker compose up -d
Or use the published image directly:
docker run -d \
--name romm-mcp \
-p 3000:3000 \
-e ROMM_BASE_URL=http://host.docker.internal:5500 \
-e ROMM_API_KEY=rmm_your_api_key_here \
ghcr.io/rodrigosiviero/romm-mcp:main
Docker Compose (full example)
services:
romm-mcp:
image: ghcr.io/rodrigosiviero/romm-mcp:main
ports:
- "3000:3000"
environment:
- MCP_TRANSPORT=http
- MCP_PORT=3000
- ROMM_BASE_URL=http://host.docker.internal:5500
- ROMM_API_KEY=rmm_your_api_key_here
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "-O-", "http://127.0.0.1:3000/health"]
interval: 30s
timeout: 5s
retries: 3
Tools
| Tool | Description |
|---|---|
romm_stats | Library statistics ā total platforms, ROMs, saves, states, screenshots, file size |
romm_list_platforms | List all platforms with ROM counts, categories, and slugs |
romm_browse_roms | Browse and filter ROMs with pagination. Supports platform, collection, genre, company, region filters, and sorting |
romm_get_rom | Full ROM details by ID ā metadata, genres, companies, summary, rating, YouTube link |
romm_search_roms | Search ROMs by name |
romm_manage_collections | CRUD collections (list, get, create, update, delete). Also supports smart and virtual collections |
romm_get_collection_roms | List all ROMs in a specific collection |
romm_list_firmware | List firmware files available per platform |
romm_download_rom | Generate an authenticated download URL for a ROM |
romm_update_rom | Update ROM metadata ā display name, notes, favorite status |
romm_rom_notes | Manage notes attached to a ROM (list, add, update, delete) |
romm_manage_saves | List save files, optionally filtered by ROM |
romm_manage_states | List save state files, optionally filtered by ROM |
romm_system | System operations ā heartbeat, config, trigger library scan, metadata update |
romm_screenshots | List screenshots, optionally filtered by ROM |
Example Interactions
You: How many games do I have?
š¤: š RomM Library Stats
Platforms: 20
ROMs: 1,362
Saves: 1
States: 0
Screenshots: 0
Total Size: 197.4 GB
You: Find Mario games in my library
š¤: š Search: "mario" (5 results)
⢠[4227] Mario Kart 8 Deluxe (Nintendo Switch)
⢠[4108] Mario Andretti Racing (Sega Mega Drive/Genesis)
⢠[921] Super Mario RPG (Nintendo Switch)
⢠[933] Paper Mario (Wii)
⢠[4109] Mario Lemieux Hockey (Sega Mega Drive/Genesis)
You: Tell me about Super Mario RPG
š¤: š® Super Mario RPG
Platform: Nintendo Switch
File: Super Mario RPG [0100BC0018138000][v0].nsp (6.4 GB)
š Summary: Mario, Bowser, and Peach partner up to repair the
wish-granting Star Road in this approachable role-playing adventure.
š·ļø Genres: Adventure, Role-playing (RPG)
š¢ Companies: ArtePiazza, Flame Hearts, Nintendo
š Franchises: Mario
ā Rating: 80.51
š
Release: 11/17/2023
Development
# Install dependencies
npm install
# Build
npm run build
# Run with stdio (default)
ROMM_BASE_URL=http://localhost:5500 ROMM_API_KEY=rmm_xxx node dist/index.js
# Run with HTTP
MCP_TRANSPORT=http ROMM_BASE_URL=http://localhost:5500 ROMM_API_KEY=rmm_xxx node dist/index.js
Architecture
src/
āāā client.ts # RomM REST API client (fetch-based, zero deps)
āāā server.ts # MCP server with all tools (shared between transports)
āāā index.ts # Entry point ā auto-detects stdio vs HTTP
The API client is a thin wrapper over the RomM REST API (OpenAPI 3.1.0). It uses native fetch ā no external HTTP library needed.
In HTTP mode, the server uses Hono with the stateless WebStandardStreamableHTTPServerTransport ā a fresh MCP server is created per request, making it safe for Docker and multi-client scenarios.
Compatibility
- RomM v4.x+ (tested with v4.8.1)
- Node.js >= 20 (uses native
fetch) - Any MCP-compatible client (Claude Desktop, CoPaw, Cursor, Windsurf, etc.)
- MCP Streamable HTTP spec (
2025-03-26)
License
Related Servers
pop-pay
Stop AI agents leaking your payment info or making hallucinated purchases. No SaaS, No login, No pain, fully local.
Keycloak MCP Server
A complete Model Context Protocol (MCP) server for Keycloak 26.x
AltBots ā Fund Manager Intelligence
Institutional research and manager diligence reports on hedge funds, venture capital and private equity managers. Summary of filings, personnel changes, media screening and social signals delivered to you in minutes.
OraClaw Decision Intelligence
12 MCP tools with 19 ML algorithms for AI agents ā bandits, solvers, forecasters, risk models. All under 25ms, deterministic.
Clicks Protocol
Autonomous DeFi yield for AI agents on Base. Query APY rates, agent status, payment splits. 9 MCP tools.
Formester
Gives AI agents access to Formester form submissions - read, search, update, and extract content from file attachments.
Context Lens
Semantic search knowledge base for MCP-enabled AI assistants
Fiken MCP Server
MCP server for Fiken ā Norway's popular accounting software. Manage invoices, contacts, journal entries, and bank accounts via AI agents.
PiAPI
PiAPI MCP server makes user able to generate media content with Midjourney/Flux/Kling/Hunyuan/Udio/Trellis directly from Claude or any other MCP-compatible apps.
Compliance Intelligence
Access 692+ compliance frameworks, 13,700+ controls, and 280,000+ cross-framework mappings via MCP. Query ISO 27001, NIST CSF, GDPR, SOC 2, HIPAA, PCI DSS and more.