MCP server for searching Modrinth and publishing Minecraft mods via the Modrinth API. npm package + Claude Code plugin.
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Topics declared
- ✓Documented (README)
claude mcp add modrinth-mcp -- npx -y @justinscott12/modrinth-mcp{
"mcpServers": {
"modrinth-mcp": {
"command": "npx",
"args": ["-y", "@justinscott12/modrinth-mcp"],
"env": {
"MODRINTH_TOKEN": "<modrinth_token>"
}
}
}
}MODRINTH_TOKENMCP Servers overview
# modrinth-mcp
An [MCP](https://modelcontextprotocol.io) server that wraps the [Modrinth](https://modrinth.com) 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
| Tool | Auth | What it does |
| --- | --- | --- |
| `modrinth_whoami` | ✅ | Verify your token; return the authenticated user. |
| `modrinth_search_projects` | – | Search public Modrinth projects. |
| `modrinth_get_project` | – | Get a project's metadata by slug or id. |
| `modrinth_list_project_versions` | – | List a project's published versions. |
| `modrinth_create_version` | ✅ | Publish a **new version** by uploading one or more jars. |
| `modrinth_create_project` | ✅ | Create a **new project** (as a draft). |
| `modrinth_modify_version` | ✅ | Edit metadata of an existing version. |
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
```bash
/plugin marketplace add justinscott12/modrinth-mcp
/plugin install modrinth-mcp@justinscott12
```
You'll be prompted for your Modrinth token when enabling the plugin. It runs the published npm package under the hood via `npx`.
### As an MCP server (any client)
Add to your MCP client config (e.g. Claude Desktop `claude_desktop_config.json`):
```json
{
"mcpServers": {
"modrinth": {
"command": "npx",
"args": ["-y", "@justinscott12/modrinth-mcp"],
"env": {
"MODRINTH_TOKEN": "your-modrinth-pat"
}
}
}
}
```
Or in Claude Code directly:
```bash
claude mcp add modrinth --env MODRINTH_TOKEN=your-modrinth-pat -- npx -y @justinscott12/modrinth-mcp
```
## Environment variables
| Variable | Default | Purpose |
| --- | --- | --- |
| `MODRINTH_TOKEN` | – | Modrinth Personal Access Token. Required for write actions. |
| `MODRINTH_STAGING` | unset | Set to `1` to hit `https://staging-api.modrinth.com` for safe testing. |
| `MODRINTH_USER_AGENT` | `modrinth-mcp/<version> …` | Override the User-Agent sent to Modrinth. |
## Example flow
1. `modrinth_whoami` — confirm auth works.
2. `modrinth_create_project` — create the project page (created as a draft).
3. `modrinth_create_version` — upload your built jar(s) with the target `game_versions` and `loaders`.
4. Submit the project for review on the Modrinth site when ready.
> **Note:** `create_version` and `create_project` publish public content. Only call them when you actually intend to publish.
## Development
```bash
npm install
MODRINTH_STAGING=1 MODRINTH_TOKEN=your-staging-pat npm start
```
The server speaks MCP over stdio. `stdout` is reserved for the protocol; logs go to `stderr`.
## License
[MIT](./LICENSE)
What people ask about modrinth-mcp
What is justinscott12/modrinth-mcp?
+
justinscott12/modrinth-mcp is mcp servers for the Claude AI ecosystem. MCP server for searching Modrinth and publishing Minecraft mods via the Modrinth API. npm package + Claude Code plugin. It has 0 GitHub stars and its last recorded update is dated 2026-08-24.
How do I install modrinth-mcp?
+
You can install modrinth-mcp by cloning the repository (https://github.com/justinscott12/modrinth-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is justinscott12/modrinth-mcp safe to use?
+
Our security agent has analyzed justinscott12/modrinth-mcp and assigned a Trust Score of 95/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.
Who maintains justinscott12/modrinth-mcp?
+
justinscott12/modrinth-mcp is maintained by justinscott12. The last recorded GitHub activity is dated 2026-08-24, with 0 open issues.
Are there alternatives to modrinth-mcp?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy modrinth-mcp to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/justinscott12-modrinth-mcp)<a href="https://claudewave.com/repo/justinscott12-modrinth-mcp"><img src="https://claudewave.com/api/badge/justinscott12-modrinth-mcp" alt="Featured on ClaudeWave: justinscott12/modrinth-mcp" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
The fastest path to AI-powered full stack observability, even for lean teams.
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!