SuperAPIAI Directory

modrinth-mcp

github.com · AI developer platforms

Search Modrinth and publish Minecraft mods via the Modrinth API: create projects, upload new versions and read project and version metadata.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

Purpose

modrinth-mcp is an MCP server that wraps the Modrinth API, enabling AI agents (Claude Code, Claude Desktop, Cursor, etc.) to search for projects on Modrinth, read project and version metadata, and publish Minecraft mods—create projects and upload built jars as new versions.

Main Capabilities

  • Search Modrinth projects.
  • Read project and version metadata.
  • Publish Minecraft mods: create projects, upload built jars as new versions.
  • Read-only tools can be used without a token; any write operation requires a Modrinth personal access token (PAT).

Usage

Get a Token

Create a PAT at https://modrinth.com/settings/pats with the required permission scopes:

  • Create versions

Set it as the MODRINTH_TOKEN environment variable.

As a Claude Code Plugin

The plugin runs the published npm package via npx under the hood. The Claude Code plugin has no token input UI, so the server reads the token from the MODRINTH_TOKEN environment variable in the environment where Claude Code is running. Set this variable before starting Claude Code, then restart Claude Code and run modrinth_whoami to confirm. Read-only tools (search, get project/version) can be used without a token.

As an MCP Server (Any Client)

Add to your MCP client configuration (e.g., Claude Desktop's claude_desktop_config.json), or add directly in Claude Code.

Environment Variables

  • MODRINTH_TOKEN — Modrinth personal access token for write operations.

Available Tools

  • modrinth_whoami — Confirm whether authentication is valid.
  • modrinth_create_project — Create a project page (created as a draft).
  • modrinth_create_version — Upload a built jar with the target game_versions and loaders.

Once ready, submit the project for review on the Modrinth website.

Note: create_version and create_project publish public content. Only call them when you truly intend to publish.

The server uses the MCP protocol over stdio; stdout is reserved for the protocol, and logs are output to stderr.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools