modrinth-mcp
v0.1.3Search Modrinth and publish Minecraft mods (create projects, upload versions) via the Modrinth API.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
modrinth_whoami
Verify the configured Modrinth token and return the authenticated user (username, id, email, role). Use this first to confirm auth works.
modrinth_search_projects
Search public Modrinth projects. Returns a compact list of hits (slug, title, project_type, downloads, description).
| Parameter | Type | Description |
|---|---|---|
query * | string | Search text, e.g. 'sodium' or 'anvil'. |
facets | string | Optional raw Modrinth facets JSON, e.g. '[["project_type:mod"],["categories:fabric"]]'. |
limit | number | Max hits. |
modrinth_get_project
Get a Modrinth project's metadata by slug or id (title, type, loaders, game_versions, published version ids, status).
| Parameter | Type | Description |
|---|---|---|
id_or_slug * | string | Project slug (e.g. 'no-anvil-limit') or id. |
modrinth_list_project_versions
List a project's published versions (version_number, id, type, loaders, game_versions, download url of primary file).
| Parameter | Type | Description |
|---|---|---|
id_or_slug * | string | Project slug or id. |
modrinth_create_version
Publish a NEW version to an existing Modrinth project by uploading one or more built jar files. This is a write action that publishes public content — only call it when the user has explicitly asked to publish. The project must already exist on Modrinth.
| Parameter | Type | Description |
|---|---|---|
file_paths * | array | Absolute path(s) to the jar file(s) to upload. First is treated as the primary file. |
game_versions * | array | Supported Minecraft versions, e.g. ['1.21.8']. |
project_id * | string | Target project slug or id (must already exist). |
version_number * | string | Version string, e.g. '1.21.8' or '2.0.0+1.21.8'. |
changelog | string | Markdown changelog. |
dependencies | array | Dependencies. e.g. Fabric API as required: [{project_id:'P7dR8mSH', dependency_type:'required'}]. |
featured | boolean | Feature this version. |
loaders | array | Mod loaders, e.g. ['fabric']. Defaults to fabric. |
name | string | Display name for the version. |
version_type | string | Release channel. |
modrinth_create_project
Create a NEW Modrinth project (the initial project page). Created as a DRAFT — nothing is public until you submit it for review on the site or set requested_status. This is a write action; only call it when the user explicitly asks to create a new project. After it exists, publish jars with modrinth_create_version.
| Parameter | Type | Description |
|---|---|---|
description * | string | Short one-or-two-sentence summary shown in search. |
slug * | string | URL slug, 3-64 chars, e.g. 'no-anvil-limit'. Becomes modrinth.com/project/<slug>. |
title * | string | Project display name, e.g. 'No Anvil Limit'. |
body | string | Long-form markdown description for the project page. |
categories | array | Featured categories, e.g. ['utility','game-mechanics']. Must be valid Modrinth categories for the project_type. |
client_side | string | Whether the mod is needed on the client. Editable later. |
discord_url | string | Discord invite URL. |
icon_path | string | Absolute path to an icon image (png/jpg/webp/gif/svg). |
issues_url | string | Issue tracker URL. |
license_id | string | SPDX license id, e.g. 'MIT', 'GPL-3.0-only', 'ARR'. |
project_type | string | Project type. Defaults to mod. |
requested_status | string | Desired status once processed. Stays a draft until you submit for review on the site. |
server_side | string | Whether the mod is needed on the server. Editable later. |
source_url | string | Source code repo URL. |
wiki_url | string | Wiki/docs URL. |
modrinth_modify_version
Edit metadata of an EXISTING published version (name, changelog, version_type, loaders, game_versions, featured). Does not upload files.
| Parameter | Type | Description |
|---|---|---|
version_id * | string | The version id to modify. |
changelog | string | |
featured | boolean | |
game_versions | array | |
loaders | array | |
name | string | |
version_type | string |