romm-mcp
A community-maintained MCP server for bounded management of RomM through its authenticated API, providing typed read/write tools for library tasks like ROM discovery, metadata updates, and collection management.
README
RomM MCP
romm-mcp is a community-maintained Model Context Protocol (MCP) server for bounded management of RomM through RomM's authenticated API. It is not affiliated with, endorsed by, or maintained by the RomM project.
The server is intentionally narrower than the complete RomM API: it provides explicit typed read/write tools for common library-management tasks without a generic HTTP passthrough or broad administrative escape hatch.
Status and compatibility
- Initial release line:
0.1.x. - Tested against RomM
5.1.0API contracts. - Requires Python
3.12or newer. - Uses RomM Client API Tokens (
rmm_...) as bearer credentials.
Later RomM versions may remain compatible, but they are not claimed as tested until verified.
Capability boundary
Included in v0.1:
- Platform and ROM discovery.
- Bounded ROM text metadata updates (
name,name_sort_key,summary). - Personal ROM status/rating/completion properties.
- ROM notes.
- Regular collections and collection membership.
- Smart collections with an explicit RomM 5.1 filter schema.
- User visibility and play-session reads.
Intentionally excluded from v0.1:
- Generic API/HTTP passthrough.
- ROM or ROM-file deletion.
- ROM/file uploads or replacement.
- Remote cover/manual fetching and asset mutation.
- Library scans, background tasks and bulk metadata refresh.
- Platform/system configuration mutation.
- Client-token administration.
- User, permission-group or authorization mutation.
- Device/sync mutation.
Removing ROMs from a collection only changes collection membership. Deleting a regular collection requires confirm=true; RomM also removes that collection's own managed artwork/resource directory, but ROM files are never deleted by this MCP.
See docs/tools.md for the complete 26-tool surface and per-tool side effects.
Installation
Releases are distributed as immutable GitHub Release wheels. romm-mcp is not currently published to PyPI.
For v0.1.1:
uvx --python 3.12 \
--from https://github.com/X1pheR/romm-mcp/releases/download/v0.1.1/romm_mcp-0.1.1-py3-none-any.whl \
romm-mcp
Each release includes SHA256SUMS. For pinned or production use, verify the wheel digest before deployment and, where supported, pin the artifact URL with its SHA-256 hash.
Configuration
The server requires a dedicated RomM Client API Token stored in a file. Token values are never accepted as MCP tool arguments.
ROMM_BASE_URL=https://romm.example.com
ROMM_API_TOKEN_FILE=/path/to/romm-api-token
ROMM_TIMEOUT_SECONDS=15
ROMM_BASE_URL must be an absolute http:// or https:// URL. ROMM_TIMEOUT_SECONDS must be greater than 0 and at most 300 seconds.
For the complete v0.1 toolset, the intended RomM scope set is:
me.read
platforms.read
roms.read
roms.write
roms.user.read
roms.user.write
collections.read
collections.write
users.read
users.write, task execution, platform-write, device-write and asset-write scopes are not required by v0.1.
MCP client example
{
"command": "uvx",
"args": [
"--python",
"3.12",
"--from",
"https://github.com/X1pheR/romm-mcp/releases/download/v0.1.1/romm_mcp-0.1.1-py3-none-any.whl",
"romm-mcp"
],
"env": {
"ROMM_BASE_URL": "https://romm.example.com",
"ROMM_API_TOKEN_FILE": "/path/to/romm-api-token",
"ROMM_TIMEOUT_SECONDS": "15"
}
}
Security model
The RomM Client API Token and its upstream scopes are the hard authorization boundary. Use a dedicated token and grant only the scopes required by the tools you intend to expose.
The MCP layer adds a second boundary:
- Credentials are file-backed and omitted from tool schemas.
- Every upstream JSON response crosses a centralized recursive sanitizer that redacts credential-like fields and credential-bearing URL query parameters, including nested error payloads.
- Every exposed tool then returns a bounded allow-listed response model instead of raw RomM API objects; provider metadata, filesystem internals, unnecessary authorization details and unrelated PII are excluded.
- There is no generic request tool.
- Remote cover/manual URLs are not accepted, avoiding server-side asset fetch/write behavior through this MCP.
- Note, regular-collection and smart-collection deletion require explicit
confirm=true. - ROM/file deletion, uploads, task execution and authorization administration are absent from the tool registry.
See SECURITY.md for vulnerability reporting and credential-handling guidance.
Development
uv.lock is the canonical exact dependency resolution used by CI and release verification, while the published package keeps compatible dependency ranges in pyproject.toml.
bash ./scripts/verify.sh
The verification script creates an isolated Python 3.12 environment, synchronizes the frozen uv.lock resolution, compiles the package, runs the test suite and builds the release wheel.
Upstream and license
This repository is an independent community integration for RomM. RomM is a separate upstream project governed by its own license and project policies.
romm-mcp is licensed under the MIT License.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。