modrinth-mcp
modrinth-mcp
Modrinth API をラップする MCP サーバーで、AI エージェント(Claude Code、Claude Desktop、Cursor など)がプロジェクトの検索、プロジェクト/バージョンのメタデータの読み取り、そして Minecraft の MOD の公開(プロジェクトの作成やビルド済み jar の新バージョンとしてのアップロード)を行えるようにします。
ツール
ツール | 認証 | 機能 |
| ✅ | トークンを検証し、認証されたユーザーを返します。 |
| – | 公開されている Modrinth プロジェクトを検索します。 |
| – | slug または ID でプロジェクトのメタデータを取得します。 |
| – | プロジェクトの公開済みバージョンを一覧表示します。 |
| ✅ | 1 つ以上の jar をアップロードして新バージョンを公開します。 |
| ✅ | 新規プロジェクトを(下書きとして)作成します。 |
| ✅ | 既存バージョンのメタデータを編集します。 |
読み取り専用ツールはトークンなしで動作します。書き込みを行うものには Modrinth の Personal Access Token が必要です。
Related MCP server: ModWrench MCP Server
トークンの取得
https://modrinth.com/settings/pats で以下のスコープを持つ PAT を作成します:
プロジェクトの読み取り
バージョンの読み取り
バージョンの作成
バージョンの書き込み
これを MODRINTH_TOKEN 環境変数として設定します。
インストール
Claude Code プラグインとして
/plugin marketplace add justinscott12/modrinth-mcp
/plugin install modrinth-mcp@justinscott12プラグインを有効にする際に Modrinth トークンの入力を求められます。内部では npx 経由で公開済みの npm パッケージを実行します。
MCP サーバーとして(任意のクライアント)
MCP クライアントの設定(例:Claude Desktop の claude_desktop_config.json)に追加します:
{
"mcpServers": {
"modrinth": {
"command": "npx",
"args": ["-y", "@justinscott12/modrinth-mcp"],
"env": {
"MODRINTH_TOKEN": "your-modrinth-pat"
}
}
}
}または Claude Code に直接:
claude mcp add modrinth --env MODRINTH_TOKEN=your-modrinth-pat -- npx -y @justinscott12/modrinth-mcp環境変数
変数 | デフォルト | 説明 |
| – | Modrinth の Personal Access Token。書き込み操作に必要です。 |
| unset | 安全なテスト用に |
|
| Modrinth に送信される User-Agent を上書きします。 |
使用例
modrinth_whoami— 認証が機能することを確認します。modrinth_create_project— プロジェクトページを作成します(下書きとして作成されます)。modrinth_create_version— 対象のgame_versionsとloadersを指定してビルド済みの jar をアップロードします。準備ができたら Modrinth サイトでプロジェクトをレビューに提出します。
注記:
create_versionとcreate_projectは公開コンテンツを公開します。実際に公開する意図がある場合のみ呼び出してください。
開発
npm install
MODRINTH_STAGING=1 MODRINTH_TOKEN=your-staging-pat npm startサーバーは stdio 経由で MCP を話します。stdout はプロトコル用に予約されており、ログは stderr に出力されます。
ライセンス
Maintenance
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
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to fetch comprehensive information about Maven packages from Maven Central, including README content, package metadata, dependencies, and search functionality with GitHub integration.8MIT
- AlicenseNot gradedqualityBmaintenanceEnables 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
- AlicenseAqualityBmaintenanceEnables AI agents to search Minecraft obfuscated name mappings (class, method, field) across 38 versions, aiding modding, plugin development, and reflection.12MIT
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to read and modify Mendix application models through MCP tools for creating modules, entities, pages, microflows, deploying, and querying runtime data.1
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
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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