Context7
Feeds AI the latest docs for libraries and frameworks before it answers, so code it writes does not use outdated, removed functions.
Description from the maker (original English)
Search Modrinth and publish Minecraft mods (create projects, upload versions) via the Modrinth API.
These three are never merged into one score: opinions, measurements and popularity are different things.
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
Pick the AI app you use, then copy the settings.
MODRINTH_TOKENValues marked secret are keys to your account. Never share them or paste them into a chat.
You need
Which app do you use?
Pick your app above. We remember it, so next time the button says “Install in …”.
Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json
{
"mcpServers": {
"modrinth": {
"command": "npx",
"args": [
"-y",
"@justinscott12/modrinth-mcp"
],
"env": {
"MODRINTH_TOKEN": "your-value"
}
}
}
}Run this in your terminal
claude mcp add modrinth --env MODRINTH_TOKEN=your-value -- npx -y @justinscott12/modrinth-mcpFill in the empty values before running it.
Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"modrinth": {
"command": "npx",
"args": [
"-y",
"@justinscott12/modrinth-mcp"
],
"env": {
"MODRINTH_TOKEN": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
Paste into .vscode/mcp.json in your project
{
"servers": {
"modrinth": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@justinscott12/modrinth-mcp"
],
"env": {
"MODRINTH_TOKEN": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.
Your choice stays on this device in a cookie; no account needed.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 9, 2026
The registry name was verified with the GitHub account justinscott12, which owns the repo
We have not read this repo from GitHub yet
We have not read this repo from GitHub yet
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
You need to fill in: MODRINTH_TOKEN
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed –, and the latest version (0.1.3) reached the registry 6 days ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.
In the same category: Context7, Codebase Memory, Exa
Servers in the same category from other makers, sorted by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Feeds AI the latest docs for libraries and frameworks before it answers, so code it writes does not use outdated, removed functions.
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
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.
| 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.
Create a PAT at https://modrinth.com/settings/pats with these scopes:
Set it as the MODRINTH_TOKEN environment variable.
/plugin marketplace add justinscott12/modrinth-mcp
/plugin install modrinth-mcp@justinscott12
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.:
# macOS/Linux (add to your shell profile to persist)
export MODRINTH_TOKEN=your-modrinth-pat
setx MODRINTH_TOKEN "your-modrinth-pat"
Then restart Claude Code and run modrinth_whoami to confirm. Read-only tools (search, get project/versions) work without a token.
Add to your MCP client config (e.g. Claude Desktop claude_desktop_config.json):
{
"mcpServers": { "modrinth": { "command": "npx", "args": ["-y", "@justinscott12/modrinth-mcp"], "env": { "MODRINTH_TOKEN": "your-modrinth-pat" } } } }
Or in Claude Code directly:
claude mcp add modrinth --env MODRINTH_TOKEN=your-modrinth-pat -- npx -y @justinscott12/modrinth-mcp
| 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/ … | Override the User-Agent sent to Modrinth. |
MODRINTH_TIMEOUT_MS | 60000 | Per-request timeout. A stalled request returns a tool error instead of hanging. |
MODRINTH_API_URL | – | Override the API base URL (for a proxy or tests). Takes precedence over MODRINTH_STAGING. |
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 target game_versions and loaders.Note:
create_versionandcreate_projectpublish public content. Only call them when you actually intend to publish.
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.
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.
MIT