MCP server for RomM — browse and manage your retro game library with AI
Project description
RomM MCP Server
An MCP server for RomM — the self-hosted retro game library manager. 19 read-only tools for browsing platforms, searching ROMs, viewing metadata, managing collections, tracking saves, and monitoring tasks through any MCP-compatible AI assistant.
Tools
| Tool | Description |
|---|---|
romm_status |
Check server configuration and reachability |
romm_stats |
Library-wide statistics (platforms, ROMs, saves, total size) |
romm_platforms |
List platforms with ROM counts and sizes |
romm_library_items |
Browse ROMs with filtering and pagination |
romm_recent |
Recently added or updated ROMs |
romm_get_item |
Full ROM detail — metadata, saves, user status |
romm_search |
Search ROMs by name |
romm_search_by_hash |
Identify a ROM by file hash (CRC, MD5, or SHA1) |
romm_filters |
Available filter values (genres, regions, languages, tags) |
romm_collections |
List user-curated collections |
romm_collection_detail |
List ROMs in a specific collection |
romm_smart_collections |
List auto-generated smart collections |
romm_saves |
List save files by ROM or platform |
romm_user_profile |
Browse by status (now playing, backlog, completed, etc.) |
romm_rom_notes |
View notes on a ROM |
romm_firmware |
List BIOS/firmware files per platform |
romm_devices |
List registered devices |
romm_tasks |
Check running/scheduled task status |
romm_scan_library |
Trigger a background library rescan |
Setup
Prerequisites
- Python 3.10+
- A running RomM instance (v4.0+)
- A RomM user account with admin role
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:
| Variable | Required | Default | Description |
|---|---|---|---|
ROMM_URL |
No | http://localhost:3000 |
Your RomM instance URL |
ROMM_USERNAME |
Yes | RomM username | |
ROMM_PASSWORD |
Yes | RomM password | |
ROMM_REQUEST_TIMEOUT |
No | 30 |
Default request timeout (seconds) |
ROMM_REQUEST_TIMEOUT_LONG |
No | 60 |
Timeout for slow endpoints |
ROMM_TLS_VERIFY |
No | true |
Verify TLS certificates |
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"
}
}
}
}
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?"
Security
- Read-only. All 19 tools are read-only. The only mutation is
romm_scan_library, which triggers an idempotent library rescan. - No disk writes. Credentials and tokens are held in memory only, never written to disk.
- Scoped tokens. OAuth2 tokens request only the scopes needed for read operations.
- 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: Your RomM user must have the admin role for all tools to work. The user must also be enabled in the RomM admin panel.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_romm-0.1.0.tar.gz.
File metadata
- Download URL: mcp_romm-0.1.0.tar.gz
- Upload date:
- Size: 11.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e30c2465830d3fe52529dd3f1e6ffe06a8c2a93a5dab17ac7c8b2c3d79ef424
|
|
| MD5 |
10b081e7e53c8cf63684f862548d7369
|
|
| BLAKE2b-256 |
cd701032a454a01a229e5f42c7d48642353ba4e480c82bd48fbbbde2dc07cd22
|
Provenance
The following attestation bundles were made for mcp_romm-0.1.0.tar.gz:
Publisher:
publish.yml on lodordev/mcp-romm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_romm-0.1.0.tar.gz -
Subject digest:
9e30c2465830d3fe52529dd3f1e6ffe06a8c2a93a5dab17ac7c8b2c3d79ef424 - Sigstore transparency entry: 1155424496
- Sigstore integration time:
-
Permalink:
lodordev/mcp-romm@422e2bde44ec913fcb3ae6294c1444eac03fb674 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/lodordev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@422e2bde44ec913fcb3ae6294c1444eac03fb674 -
Trigger Event:
release
-
Statement type:
File details
Details for the file mcp_romm-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mcp_romm-0.1.0-py3-none-any.whl
- Upload date:
- Size: 12.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
165a7a430763dcd8071274305c1172e4f76459edc02a8e2b33e23884b2feaa6a
|
|
| MD5 |
785d165236dc6011a0bc986a7878c477
|
|
| BLAKE2b-256 |
5c6022be67e67176df7d735a67e9e002c755e37681c5299ee2868b221538fdc6
|
Provenance
The following attestation bundles were made for mcp_romm-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on lodordev/mcp-romm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_romm-0.1.0-py3-none-any.whl -
Subject digest:
165a7a430763dcd8071274305c1172e4f76459edc02a8e2b33e23884b2feaa6a - Sigstore transparency entry: 1155424499
- Sigstore integration time:
-
Permalink:
lodordev/mcp-romm@422e2bde44ec913fcb3ae6294c1444eac03fb674 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/lodordev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@422e2bde44ec913fcb3ae6294c1444eac03fb674 -
Trigger Event:
release
-
Statement type: