
Modrinth Mcp
io.github.justinscott12Published by GitHub account justinscott12v0.1.3Updated Nov 3, 2026
Search Modrinth and publish Minecraft mods (create projects, upload versions) via the Modrinth API.
Overview
Modrinth's local MCP server; no sign-in required; STDIO.
No AI overview yet: these facts come from the registry entry and the server itself.
Installation
In SourceWeft
- Open Modrinth Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
modrinth-mcp
An MCP server that wraps the Modrinth API so an AI agent (Claude Code, Claude Desktop, Cursor, …) can search projects, read project/version metadata, and publish Minecraft mods — create projects and upload built jars as new versions.
Tools
Read-only tools work without a token. Anything that writes needs a Modrinth Personal Access Token.
Getting a token
Create a PAT at https://modrinth.com/settings/pats with these scopes:
- Read projects
- Read versions
- Create versions
- Write versions
Set it as the MODRINTH_TOKEN environment variable.
Install
As a Claude Code plugin
It runs the published npm package under the hood via npx. Claude Code
plugins have no token-entry UI, so the server reads its token from the
MODRINTH_TOKEN environment variable in the environment Claude Code
runs in. Set it before launching Claude Code, e.g.:
Then restart Claude Code and run modrinth_whoami to confirm. Read-only
tools (search, get project/versions) work without a token.
As an MCP server (any client)
Add to your MCP client config (e.g. Claude Desktop claude_desktop_config.json):
Or in Claude Code directly:
Environment variables
Example flow
modrinth_whoami— confirm auth works.modrinth_create_project— create the project page (created as a draft).modrinth_create_version— upload your built jar(s) with the targetgame_versionsandloaders.- Submit the project for review on the Modrinth site when ready.
Note:
create_versionandcreate_projectpublish public content. Only call them when you actually intend to publish.
Development
The server speaks MCP over stdio. stdout is reserved for the protocol; logs go to stderr.
npm test runs the server over stdio against a local stub (no Modrinth calls).
The server ignores SIGINT/SIGBREAK and exits when the client closes stdin. A console
Ctrl+C or Ctrl+Break reaches every process on the console, and on Windows npx runs the server
through a .cmd shim: if node exited, cmd.exe would keep the pipe open at a
Terminate batch job (Y/N)? prompt and every later tool call would hang. Node can't simulate
that on Windows, so check it by hand there: send GenerateConsoleCtrlEvent to a shim-launched
server and confirm tools/list still answers.
License
Source: README.md at commit 936b21d
Tools
0Version history
2- v0.1.3LatestNov 3, 2026
- v0.1.1Sep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts