Skip to main content
Glama
justinscott12

modrinth-mcp

modrinth-mcp

Modrinth API をラップする MCP サーバーで、AI エージェント(Claude Code、Claude Desktop、Cursor など)がプロジェクトの検索、プロジェクト/バージョンのメタデータの読み取り、そして Minecraft の MOD の公開(プロジェクトの作成やビルド済み jar の新バージョンとしてのアップロード)を行えるようにします。

ツール

ツール

認証

機能

modrinth_whoami

トークンを検証し、認証されたユーザーを返します。

modrinth_search_projects

公開されている Modrinth プロジェクトを検索します。

modrinth_get_project

slug または ID でプロジェクトのメタデータを取得します。

modrinth_list_project_versions

プロジェクトの公開済みバージョンを一覧表示します。

modrinth_create_version

1 つ以上の jar をアップロードして新バージョンを公開します。

modrinth_create_project

新規プロジェクトを(下書きとして)作成します。

modrinth_modify_version

既存バージョンのメタデータを編集します。

読み取り専用ツールはトークンなしで動作します。書き込みを行うものには 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_TOKEN

Modrinth の Personal Access Token。書き込み操作に必要です。

MODRINTH_STAGING

unset

安全なテスト用に https://staging-api.modrinth.com にアクセスするには 1 に設定します。

MODRINTH_USER_AGENT

modrinth-mcp/<version> …

Modrinth に送信される User-Agent を上書きします。

使用例

  1. modrinth_whoami — 認証が機能することを確認します。

  2. modrinth_create_project — プロジェクトページを作成します(下書きとして作成されます)。

  3. modrinth_create_version — 対象の game_versionsloaders を指定してビルド済みの jar をアップロードします。

  4. 準備ができたら Modrinth サイトでプロジェクトをレビューに提出します。

注記: create_versioncreate_project は公開コンテンツを公開します。実際に公開する意図がある場合のみ呼び出してください。

開発

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

サーバーは stdio 経由で MCP を話します。stdout はプロトコル用に予約されており、ログは stderr に出力されます。

ライセンス

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