dsh-modrinth-mcp
Provides tools for interacting with Modrinth's API v2, enabling search and retrieval of projects, versions, dependencies, users, and tags.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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: modrinth-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同梱版)で動作確認
ライセンス
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Search APIs, MCP servers and agents; score a website's agent-readiness. Read-only, no auth.
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 inspect source-pinned agent skills, plugins and tools through a free public MCP.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP 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
- AlicenseAqualityBmaintenanceEnables AI agents to search, read, and publish Minecraft mods on Modrinth, including creating projects and uploading jar files as new versions.759 npm2MIT
- AlicenseAqualityCmaintenanceEnables any MCP client to search, browse, download, and manage Nexus Mods content—games, mods, files, comments, collections, and user preferences—through a unified REST and GraphQL interface with caching and OAuth2 support.13571 PyPI3MIT
- AlicenseNot gradedqualityDmaintenanceEnables MCP clients to search a catalogue of 648,000+ coding-agent mods with measured metrics such as token cost, security grade, and originality, and to fetch full details for any mod directly from Claude Desktop or any MCP client.18 npm1MIT