Skip to main content
Glama
justinscott12

modrinth-mcp

modrinth-mcp

Ein MCP-Server, der die Modrinth-API kapselt, sodass ein KI-Agent (Claude Code, Claude Desktop, Cursor, …) Projekte durchsuchen, Projekt-/Versionsmetadaten lesen und Minecraft-Mods veröffentlichen kann – Projekte erstellen und erstellte JARs als neue Versionen hochladen.

Tools

Tool

Auth

Beschreibung

modrinth_whoami

Überprüft dein Token und gibt den authentifizierten Benutzer zurück.

modrinth_search_projects

Durchsucht öffentliche Modrinth-Projekte.

modrinth_get_project

Ruft die Metadaten eines Projekts anhand von Slug oder ID ab.

modrinth_list_project_versions

Listet die veröffentlichten Versionen eines Projekts auf.

modrinth_create_version

Veröffentlicht eine neue Version, indem ein oder mehrere JARs hochgeladen werden.

modrinth_create_project

Erstellt ein neues Projekt (als Entwurf).

modrinth_modify_version

Bearbeitet Metadaten einer vorhandenen Version.

Schreibgeschützte Tools funktionieren ohne Token. Alles, was schreibt, benötigt ein Modrinth-Personal-Access-Token.

Related MCP server: ModWrench MCP Server

Ein Token erhalten

Erstelle ein PAT unter https://modrinth.com/settings/pats mit folgenden Berechtigungen:

  • Projekte lesen

  • Versionen lesen

  • Versionen erstellen

  • Versionen schreiben

Setze es als Umgebungsvariable MODRINTH_TOKEN.

Installation

Als Claude-Code-Plugin

/plugin marketplace add justinscott12/modrinth-mcp
/plugin install modrinth-mcp@justinscott12

Du wirst beim Aktivieren des Plugins nach deinem Modrinth-Token gefragt. Es führt das veröffentlichte npm-Paket im Hintergrund über npx aus.

Als MCP-Server (beliebiger Client)

Füge Folgendes zu deiner MCP-Client-Konfiguration hinzu (z. B. Claude Desktop claude_desktop_config.json):

{
  "mcpServers": {
    "modrinth": {
      "command": "npx",
      "args": ["-y", "@justinscott12/modrinth-mcp"],
      "env": {
        "MODRINTH_TOKEN": "your-modrinth-pat"
      }
    }
  }
}

Oder direkt in Claude Code:

claude mcp add modrinth --env MODRINTH_TOKEN=your-modrinth-pat -- npx -y @justinscott12/modrinth-mcp

Umgebungsvariablen

Variable

Standard

Zweck

MODRINTH_TOKEN

Modrinth Personal Access Token. Für Schreibaktionen erforderlich.

MODRINTH_STAGING

unset

Auf 1 setzen, um https://staging-api.modrinth.com für sichere Tests zu verwenden.

MODRINTH_USER_AGENT

modrinth-mcp/<version> …

Überschreibt den an Modrinth gesendeten User-Agent.

Beispielablauf

  1. modrinth_whoami – bestätigt, dass die Authentifizierung funktioniert.

  2. modrinth_create_project – erstellt die Projektseite (wird als Entwurf erstellt).

  3. modrinth_create_version – lade deine erstellten JAR(s) mit den Ziel-game_versions und loaders hoch.

  4. Reiche das Projekt zur Überprüfung auf der Modrinth-Website ein, sobald es bereit ist.

Hinweis: create_version und create_project veröffentlichen öffentliche Inhalte. Rufe sie nur auf, wenn du tatsächlich veröffentlichen möchtest.

Entwicklung

npm install
MODRINTH_STAGING=1 MODRINTH_TOKEN=your-staging-pat npm start

Der Server spricht MCP über stdio. stdout ist für das Protokoll reserviert; Logs gehen an stderr.

Lizenz

MIT

Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI assistants to search, browse, and manage mods across Nexus Mods, mod.io, Thunderstore, and Modrinth, as well as perform local diagnostics like detecting games and parsing crash logs.
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables AI agents to read and modify Mendix application models through MCP tools for creating modules, entities, pages, microflows, deploying, and querying runtime data.
    1

View all related MCP servers

Related MCP Connectors

  • Search a curated directory of 300+ verified AI agents, MCP servers, and agentic tools.

  • An MCP server that gives your AI access to the source code and docs of all public github repos

  • Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/justinscott12/modrinth-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server