lodordev/mcp-romm

๐ŸŽฎ Gaming
0 Views
0 Installs

๐Ÿ ๐Ÿ  - MCP server for RomM retro game library manager. 19 read-only tools for browsing platforms, searching ROMs, viewing metadata, managing collections, tracking saves, firmware, devices, and task monitoring. OAuth2 auth with automatic token refresh.

Quick Install

One-Click IDE Configuration
claude_desktop_config.json
{
  "mcpServers": {
    "lodordev-mcp-romm": {
      "command": "npx",
      "args": [
        "-y",
        "lodordev-mcp-romm"
      ]
    }
  }
}
Or

Using an AI coding agent (Claude Code, Cursor, etc.)? Copy a ready-made prompt that tells it to fetch the setup instructions and install this server for you.

Documentation Overview

RomM MCP Server

An MCP server for RomM โ€” the self-hosted retro game library manager. 40 tools: 26 read-only for browsing platforms, searching ROMs, viewing metadata, collections (regular, smart, and virtual), saves, play activity, and tasks โ€” plus 14 write tools for play status, play sessions, favorites, notes, and collection management, through any MCP-compatible AI assistant.

Tools

Read

ToolDescription
romm_statusCheck server configuration and reachability
romm_statsLibrary-wide statistics (platforms, ROMs, saves, total size)
romm_platformsList platforms with ROM counts and sizes
romm_library_itemsBrowse ROMs with filtering and pagination
romm_recentRecently added or updated ROMs
romm_get_itemFull ROM detail โ€” metadata, saves, user status
romm_searchSearch ROMs by name
romm_search_by_hashIdentify a ROM by file hash (CRC, MD5, SHA1, or RetroAchievements)
romm_filtersAvailable filter values (genres, regions, languages, tags)
romm_collectionsList user-curated collections
romm_collection_detailList ROMs in a specific collection
romm_smart_collectionsList auto-generated smart collections
romm_savesList save files by ROM or platform
romm_user_profileBrowse by status (now playing, backlog, completed, etc.)
romm_rom_notesView notes on a ROM
romm_firmwareList BIOS/firmware files per platform
romm_devicesList registered devices
romm_tasksList registered tasks (schedule, manual-run availability) and running status
romm_scan_libraryTrigger a background library rescan (blocked over REST on RomM 5.0 โ€” see Known issues)
romm_activityRecent play activity feed โ€” who played what, when (5.0+)
romm_play_sessionsList recorded play sessions with durations (5.0+)
romm_virtual_collectionsAutomatic groupings by genre/franchise/company/etc. (5.0+)
romm_virtual_collection_detailList ROMs in a virtual collection (5.0+)
romm_smart_collection_detailA smart collection's rules and matching ROMs (5.0+)
romm_whoamiAuthenticated account, role, and effective permissions
romm_metadata_searchSearch metadata providers (IGDB etc.) for ROM matches (5.0+)

Write

These modify your own user data and collections. They cannot alter ROM files, platforms, firmware, other users, or save files.

ToolDescription
romm_set_statusSet play status, backlog, now-playing, rating, completion, last-played
romm_favoriteAdd or remove a ROM from your favorites
romm_add_noteAdd a note to a ROM
romm_update_noteEdit an existing note
romm_delete_noteDelete a note (permanent)
romm_create_collectionCreate a new collection
romm_add_to_collectionAdd ROMs to a collection
romm_remove_from_collectionRemove ROMs from a collection
romm_delete_collectionDelete a collection โ€” the grouping only, not the ROMs (permanent)
romm_log_play_sessionRecord a play session on a ROM (5.0+)
romm_delete_play_sessionDelete one of your play sessions (permanent, 5.0+)
romm_create_smart_collectionCreate a smart collection โ€” a saved filter that auto-matches ROMs (5.0+)
romm_update_smart_collectionEdit a smart collection's name/description/rules (5.0+)
romm_delete_smart_collectionDelete a smart collection โ€” the saved filter only (permanent, 5.0+)

Setup

Prerequisites

  • Python 3.10+
  • A running RomM instance (v5.0+; most read tools also work on v4.4+)
  • An enabled RomM user account โ€” admin is not required (see Auth)

Install

pip install fastmcp httpx

Or clone and install:

git clone https://github.com/lodordev/mcp-romm.git
cd mcp-romm
pip install .

Configure

Set environment variables:

VariableRequiredDefaultDescription
ROMM_URLNohttp://localhost:3000Your RomM instance URL
ROMM_USERNAMEYesRomM username
ROMM_PASSWORDYesRomM password
ROMM_REQUEST_TIMEOUTNo30Default request timeout (seconds)
ROMM_REQUEST_TIMEOUT_LONGNo60Timeout for slow endpoints
ROMM_TLS_VERIFYNotrueVerify TLS certificates
ROMM_MCP_TRANSPORTNostdiostdio (client spawns the process) or http (serve remote MCP clients)
ROMM_MCP_HOSTNo127.0.0.1Bind address for http transport
ROMM_MCP_PORTNo8765Port for http transport

Add to Claude Code

Add to your .mcp.json:

{
  "mcpServers": {
    "romm": {
      "command": "python",
      "args": ["/path/to/mcp-romm/server.py"],
      "env": {
        "ROMM_URL": "http://your-romm-instance:3000",
        "ROMM_USERNAME": "your-username",
        "ROMM_PASSWORD": "your-password"
      }
    }
  }
}

Add to Claude Desktop

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "romm": {
      "command": "python",
      "args": ["/path/to/mcp-romm/server.py"],
      "env": {
        "ROMM_URL": "http://your-romm-instance:3000",
        "ROMM_USERNAME": "your-username",
        "ROMM_PASSWORD": "your-password"
      }
    }
  }
}

Remote (HTTP) transport

By default the server speaks stdio and is spawned by the client. To host it as a shared network service instead โ€” e.g. one instance on your homelab that all your machines use โ€” set:

ROMM_MCP_TRANSPORT=http ROMM_MCP_HOST=0.0.0.0 ROMM_MCP_PORT=8765 python server.py

Then point clients at it, e.g. Claude Code:

claude mcp add --transport http romm http://your-host:8765/mcp

The HTTP transport has no authentication of its own โ€” bind it to a trusted network only (LAN, VPN, or an overlay network like Tailscale), never the open internet. Note that claude.ai web/mobile connectors connect from Anthropic's cloud and cannot reach private-network URLs.

Examples

Once configured, you can ask your AI assistant things like:

  • "What platforms do I have in RomM?"
  • "Search for Zelda games"
  • "Show me my backlog"
  • "How many ROMs do I have total?"
  • "What was recently added?"
  • "Show me the saves for Super Metroid"
  • "What's in my favorites?"
  • "List my firmware files for PlayStation"
  • "What tasks are running?"
  • "What devices are registered?"

And, with the write tools:

  • "Mark Chrono Trigger as finished"
  • "Favorite Super Metroid"
  • "Add it to my backlog and rate it 9"
  • "Make a collection called 'SNES RPGs' and add ROMs 10, 11, and 12"
  • "Add a note to this ROM: 'glitch at the second boss, save often'"

Security

  • Least privilege. The OAuth2 token requests only the read scopes the tools use plus roms.user.write, collections.write, and tasks.run. It deliberately does not request roms.write, platforms.write, firmware.write, assets.write, users.write, or me.write โ€” no tool uses them.
  • Bounded write surface. Write tools change only your own user data (play status, favorites, notes) and your own collections. No tool edits ROM files, platforms, firmware, other users, or uploads/deletes save files.
  • Destructive ops are labeled. romm_delete_note and romm_delete_collection permanently remove data and say so in their descriptions. (romm_delete_collection removes the grouping, not the ROMs.)
  • No disk writes. Credentials and tokens are held in memory only, never written to disk.
  • TLS by default. Certificate verification is enabled by default (ROMM_TLS_VERIFY=true).
  • Auto-retry. If a token expires mid-session, the server re-authenticates transparently.

Auth

The server uses OAuth2 password grant to authenticate with RomM. Tokens are scoped to the minimum permissions needed and automatically refreshed when they expire. If a request gets a 401, the server re-authenticates and retries once.

Note: The read and write tools operate on your own library and user data, so an ordinary enabled RomM user account is sufficient โ€” admin is not required. (romm_scan_library does require an account permitted to run tasks.)

RomM 5.0 role change: RomM 5.0 collapsed the old viewer/editor/admin roles into user/admin and moved fine-grained authorization to a permissions system (legacy roles are coerced to user on upgrade). If a tool unexpectedly gets a 403 on a 5.0 instance, check the account's effective permissions (GET /api/permissions/me) in the RomM admin UI.

Known issues

All three are RomM 5.0.0 server-side issues, found by running this server's live e2e suite (smoke_test.py) against a 5.0.0 instance:

  • romm_filters times out. GET /api/roms/filters in RomM 5.0.0 executes a query with a cartesian product (RomM's log flags it at roms_handler.py:2159); the request hangs until the client timeout, and the abandoned query keeps running server-side at high CPU. Avoid calling romm_filters on 5.0.0 until this is fixed upstream โ€” every call strands another runaway database query.
  • Note listing 500s once any note exists. RomM 5.0.0's GET /api/roms/{id}/notes fails serialization (UserNoteSchema validation in endpoints/roms/notes.py) whenever the ROM has at least one note. Creating and deleting notes work; romm_rom_notes (and the read-back after romm_add_note) will error until fixed upstream.
  • Library scans can't be triggered over REST. RomM 5.0.0 flags scan_library as manual_run: false, so POST /api/tasks/run/scan_library is rejected. romm_scan_library reports this instead of failing; scans run on the configured schedule or from the web UI.

License

MIT. See CHANGELOG.md for release history.

Related MCP Servers

3aKHP/prts-mcp

๐Ÿ ๐Ÿ“‡ โ˜๏ธ ๐Ÿ  - MCP Server for Arknights, querying the PRTS Wiki API and serving auto-synced operator archives and voice lines from game data. Designed for fan-creation (ๅŒไบบๅ‰ตไฝœ) AI agents. Python (stdio/Docker) and TypeScript (Streamable HTTP) implementations.

๐ŸŽฎ Gaming0 views
alex-gon/thegamecrafter-mcp-server

๐Ÿ“‡ โ˜๏ธ - Design, manage, and price tabletop games on The Game Crafter. Browse catalogs, create projects, upload artwork, get pricing.

๐ŸŽฎ Gaming0 views
antics-gg/antics-mcp

๐Ÿ“‡ โ˜๏ธ - Deploy a single-file HTML game to a shareable multiplayer URL with rooms, state sync, and leaderboards. No backend or player accounts.

๐ŸŽฎ Gaming0 views
beckettlab/beckett-godot-mcp

๐Ÿ  ๐ŸŽ ๐ŸชŸ ๐Ÿง - Beckett โ€” MCP for Godot: a zero-sidecar GDScript editor addon that serves MCP over Streamable HTTP from inside the Godot 4 editor (no Node/Python sidecar). Reflection over any class, validate-before-write GDScript, scene/script/resource authoring, and a runtime play-test loop (play, screenshot, input, assert). MIT.

๐ŸŽฎ Gaming0 views

Engagement

Views
0
Installs
0
Upvotes
0

Views and upvotes are unique per visitor network (hashed IP). Installs count copy actions.

Status

Health: Not checked yet

We have not completed a health check for this listing yet.

No check timestamp yet.

Unclaimed listing (imported or pending owner verification). Claim it โ†’
โ˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Claim this listing

Promote this listing

Optional paid placement. Free listings stay free forever.

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.