mcp-romm
The mcp-romm server provides 19 tools to browse, search, and manage a self-hosted RomM retro game library through any MCP-compatible AI assistant.
Check server status (
romm_status): Verify server configuration and reachabilityView library statistics (
romm_stats): Get platform count, ROM count, saves, and total storage sizeList platforms (
romm_platforms): Browse all platforms with ROM counts and sizesBrowse ROMs (
romm_library_items): Filter by platform, search term, or favorites with pagination and sortingView recent ROMs (
romm_recent): See recently added or updated ROMsGet ROM details (
romm_get_item): Retrieve full metadata, user status, and save files for a specific ROMSearch ROMs (
romm_search): Search by name across the entire library or within a platformIdentify ROMs by hash (
romm_search_by_hash): Look up a ROM using CRC32, MD5, or SHA1 file hashesGet filter options (
romm_filters): Retrieve available genres, regions, languages, and tagsList collections (
romm_collections): View user-curated ROM collectionsView collection details (
romm_collection_detail): List all ROMs within a specific collectionList smart collections (
romm_smart_collections): Browse auto-generated, rule-based collectionsView save files (
romm_saves): List save files filtered by ROM or platformBrowse by user status (
romm_user_profile): View ROMs by status — favorites, now playing, backlog, wishlist, completed, or retiredView ROM notes (
romm_rom_notes): Read notes attached to a specific ROMList firmware/BIOS files (
romm_firmware): Browse BIOS and firmware files, optionally filtered by platformList devices (
romm_devices): View registered handhelds, emulators, and other devicesCheck tasks (
romm_tasks): Monitor running and scheduled background task statusTrigger library rescan (
romm_scan_library): Initiate a background rescan to discover new ROMs and platforms
Allows searching metadata providers including IGDB for ROM matches, enabling AI agents to retrieve game metadata.
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
Tool | Description |
| Check server configuration and reachability |
| Library-wide statistics (platforms, ROMs, saves, total size) |
| List platforms with ROM counts and sizes |
| Browse ROMs with filtering and pagination |
| Recently added or updated ROMs |
| Full ROM detail — metadata, saves, user status |
| Search ROMs by name |
| Identify a ROM by file hash (CRC, MD5, SHA1, or RetroAchievements) |
| Available filter values (genres, regions, languages, tags) |
| List user-curated collections |
| List ROMs in a specific collection |
| List auto-generated smart collections |
| List save files by ROM or platform |
| Browse by status (now playing, backlog, completed, etc.) |
| View notes on a ROM |
| List BIOS/firmware files per platform |
| List registered devices |
| List registered tasks (schedule, manual-run availability) and running status |
| Trigger a background library rescan (blocked over REST on RomM 5.0 — see Known issues) |
| Recent play activity feed — who played what, when (5.0+) |
| List recorded play sessions with durations (5.0+) |
| Automatic groupings by genre/franchise/company/etc. (5.0+) |
| List ROMs in a virtual collection (5.0+) |
| A smart collection's rules and matching ROMs (5.0+) |
| Authenticated account, role, and effective permissions |
| Search 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.
Tool | Description |
| Set play status, backlog, now-playing, rating, completion, last-played |
| Add or remove a ROM from your favorites |
| Add a note to a ROM |
| Edit an existing note |
| Delete a note (permanent) |
| Create a new collection |
| Add ROMs to a collection |
| Remove ROMs from a collection |
| Delete a collection — the grouping only, not the ROMs (permanent) |
| Record a play session on a ROM (5.0+) |
| Delete one of your play sessions (permanent, 5.0+) |
| Create a smart collection — a saved filter that auto-matches ROMs (5.0+) |
| Edit a smart collection's name/description/rules (5.0+) |
| Delete a smart collection — the saved filter only (permanent, 5.0+) |
Related MCP server: MyAnimeList MCP Server
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 httpxOr clone and install:
git clone https://github.com/lodordev/mcp-romm.git
cd mcp-romm
pip install .Configure
Set environment variables:
Variable | Required | Default | Description |
| No |
| Your RomM instance URL |
| Yes | RomM username | |
| Yes | RomM password | |
| No |
| Default request timeout (seconds) |
| No |
| Timeout for slow endpoints |
| No |
| Verify TLS certificates |
| No |
|
|
| No |
| Bind address for |
| No |
| Port for |
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.pyThen point clients at it, e.g. Claude Code:
claude mcp add --transport http romm http://your-host:8765/mcpThe 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, andtasks.run. It deliberately does not requestroms.write,platforms.write,firmware.write,assets.write,users.write, orme.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_noteandromm_delete_collectionpermanently remove data and say so in their descriptions. (romm_delete_collectionremoves 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_filterstimes out.GET /api/roms/filtersin RomM 5.0.0 executes a query with a cartesian product (RomM's log flags it atroms_handler.py:2159); the request hangs until the client timeout, and the abandoned query keeps running server-side at high CPU. Avoid callingromm_filterson 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}/notesfails serialization (UserNoteSchemavalidation inendpoints/roms/notes.py) whenever the ROM has at least one note. Creating and deleting notes work;romm_rom_notes(and the read-back afterromm_add_note) will error until fixed upstream.Library scans can't be triggered over REST. RomM 5.0.0 flags
scan_libraryasmanual_run: false, soPOST /api/tasks/run/scan_libraryis rejected.romm_scan_libraryreports this instead of failing; scans run on the configured schedule or from the web UI.
License
MIT. See CHANGELOG.md for release history.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityBmaintenanceMCP server to help manage a WHMCS installation.Last updated623919MIT
- AlicenseBqualityDmaintenanceMCP Server for interacting with the MyAnimeList API, allowing LLM clients to access and interact with anime, manga and more.Last updated152MIT
- Alicense-qualityCmaintenanceProduction-grade MCP server for universal reverse engineering automation.Last updated69GPL 3.0
Related MCP Connectors
MCP server for accessing curated awesome list documentation
A basic MCP server to operate on the Postman API.
Official remote MCP server for Archivist AI TTRPG campaign memory: characters, sessions, and more.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/lodordev/mcp-romm'
If you have feedback or need assistance with the MCP directory API, please join our Discord server