dsh-modrinth-mcp
Provides tools for interacting with Modrinth's API v2, enabling search and retrieval of projects, versions, dependencies, users, and tags.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@dsh-modrinth-mcpsearch for Fabric mods compatible with Minecraft 1.20.1"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
dsh-modrinth-mcp
DeepSeek Harness(DSH)から Modrinth API v2 をネイティブツールとして使えるようにする、依存ゼロの MCP サーバー(stdio)。
@deepseek-ai/dsh-mcp-client ブリッジで登録すると mcp__modrinth__* の9ツールが生えます。DSH 以外の MCP クライアント(Claude Code / Codex 等の汎用 mcpServers 設定)でもそのまま動きます。
特徴
依存ゼロ — Node.js 標準機能のみ。newline-delimited JSON-RPC 2.0 を直実装しているので
npm install 不要レスポンス最適化 — Modrinth の生レスポンスは巨大(ウィキ HTML 本文・全バージョン配列・ギャラリー等)。全ツールでモデルに必要なフィールドだけにトリムし、
search_projectsの1ヒットは約500バイト程度に収まるプロトコルの落とし穴を回避済み — Modrinth の配列クエリパラメータは JSON 配列形式が必須(
?loaders=["fabric"])。カンマ区切り(?loaders=fabric)は 黙って無視され全件返る(実測)。本サーバーは常に正しい形式で送る429/5xx の単発リトライ内蔵(Retry-After尊重)、タイムアウト 30秒/リクエスト
読み取りは認証不要(300 req/min)。
MODRINTH_PATを設定すればレート制限を緩和
Related MCP server: fabric-docs-mcp
ツール一覧(9)
ツール | 機能 |
| 検索。categories / gameVersions / projectType の各グループは AND 結合、グループ内は OR |
| プロジェクト取得(単体 / バッチ50件)。ウィキ HTML 本文は |
| バージョン一覧(新着順・ |
| 単一バージョン(ダウンロード URL・sha1・依存関係) |
| 依存グラフ(解決済みプロジェクトの要約付き) |
| ユーザープロフィール / 公開プロジェクト一覧 |
| facets 構築用の語彙(カテゴリ・ローダー・ゲームバージョン) |
DSH へのインストール
git clone https://github.com/motchii709/dsh-modrinth-mcp~/.dsh/profiles/web/cordis.patch.yml に追記(node のパス・サーバーのパスは環境に合わせて変更):
- insert:
- id: mcp-modrinth
name: '@deepseek-ai/dsh-mcp-client'
config:
serverName: modrinth
transport: stdio
command: node
args:
- 'C:\path\to\dsh-modrinth-mcp\modrinth-mcp.mjs'
env:
MODRINTH_PAT: !!js process.env.MODRINTH_PAT || ''
failOnStartupError: false
toolCallTimeoutMs: 60000ホスト再起動(または HMR 反映)後、新規セッションで mcp__modrinth__search_projects 等が使えるようになります。
その他の MCP クライアント
{
"mcpServers": {
"modrinth": {
"command": "node",
"args": ["/path/to/dsh-modrinth-mcp/modrinth-mcp.mjs"]
}
}
}開発
node test/server-test.mjs # JSON-RPC往復 + 実API呼び出しの回帰テスト
node test/server-test.mjs ./modrinth-mcp.mjs # サーバーファイルを明示指定する場合テストは Modrinth 本番 API に実際にアクセスします(読み取りのみ・レート制限内)。
対応バージョン
Node.js 18+(global
fetch利用)DSH
0.1.1-rc.2(web プロファイル、@deepseek-ai/dsh-mcp-client同梱版)で動作確認
ライセンス
This server cannot be deployed
Maintenance
Related MCP Connectors
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
Search MCP servers, MCP clients and AI agents, and retrieve listing details. Free, read-only access.
Search and get install details on MCP servers, right from your agent -- a unified marketplace index.
Serper MCP — wraps the Serper Google Search API (serper.dev)
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceA local MCP server for Nexus Mods mod discovery and research, backed by the v2 GraphQL API, enabling search of games, mods, collections, and users.79 npm1ISC
- AlicenseNot gradedqualityCmaintenanceMCP server that provides LLM coding agents with version-pinned Fabric modding documentation, including search, page reading, and a curated built-ins index to encourage idiomatic code.MIT
- AlicenseAqualityAmaintenanceEnables AI agents to search, read, and publish Minecraft mods on Modrinth, including creating projects and uploading jar files as new versions.742 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables MCP-compatible clients to perform web searches through a self-hosted SearXNG instance, with support for configurable languages, categories, time ranges, and safe search settings.344 npmMIT