moripa-mcp
OfficialProvides a tool to retrieve player balance from the Vault economy plugin on Minecraft servers.
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., "@moripa-mcpmain鯖で今オンラインのプレイヤーを教えて"
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.
moripa-mcp
moripa マイクラ鯖のための MCP サーバー。裏側は各 MC サーバーの MineAuth HTTP API を 単一の Service Token で叩く。Hono + MCP (Streamable HTTP, stateless) on Cloudflare Workers。
公開 URL: https://moripa-mcp.nikomaru.workers.dev (MCP は POST /mcp, Bearer 認証あり)。カスタムドメインは使っていない。
サーバー解決: SERVERS + 単一トークン
SERVERS=main,res,lobby→<MINEAUTH_BASE_URL>/main,.../res,.../lobbyMINEAUTH_BASE_URLの既定はhttps://api.morino.party。mainがデフォルト鯖MINEAUTH_SERVICE_TOKEN1つで全部の鯖に通る (署名鍵が共通のため)。鯖ごとに token を分けない例外的に別 URL が要る鯖だけ
MC_SERVERS_JSONで上書き可 ({"local":{"baseUrl":"http://localhost:8080"}}, token 省略時は共通トークン)
ツール呼び出しは server 引数で分ける (省略時は main)。接続は /mcp ひとつ。
Related MCP server: Maicraft
認証 (2層)
区間 | 方法 |
Hermes → MCP |
|
MCP → MineAuth |
|
開発
pnpm 使用。
pnpm install
cp .env.example .dev.vars # 中身を埋める (commit 禁止)
pnpm run dev # http://localhost:8787/health, MCP は POST /mcp
pnpm run check # typecheckデプロイ
main push で GitHub Actions → Workers に publish される (.github/workflows/deploy.yml)。
Cloudflare のデプロイトークンは repo secret ではなく Bitwarden Secrets Manager から取る。
bitwarden/sm-action が BSM の morinoparty / shared/CLOUDFLARE_API_TOKEN を
CLOUDFLARE_API_TOKEN として env に流し、wrangler-action がそれを使う。MoriPath / kodama と同じ形。
必要な secrets:
secret | スコープ | 用途 |
| org | BSM からデプロイトークンを取得 |
| repo | wrangler の accountId (MoriPath と同じ名前。org の OWNER_CLOUDFLARE_ACCOUNT_ID は BSM のデプロイトークンが見えるアカウントと別なので使わない) |
| repo | Hermes 認証用。deploy 後に Worker secret へ反映 |
| repo | MineAuth 用。deploy 後に Worker secret へ反映 |
gh secret set BEARER_TOKEN -R morinoparty/moripa-mcp
gh secret set MINEAUTH_SERVICE_TOKEN -R morinoparty/moripa-mcpツール一覧
コア
list_servers— 設定済み鯖名 + デフォルトlist_plugins—GET /api/v1/commons/server/plugins(導入 plugin 一覧)list_integrations—GET /api/v1/plugins/availableIntegrations(新形式{integrations, plugins[]}、旧鯖はstring[]のまま)get_online_players—GET /api/v1/commons/server/playersget_tickets/get_ticket_detail— PureTickets (per-player)list_all_tickets— PureTickets 全件一覧 (GET /tickets?status&player&cursor&limit→{tickets, total, nextCursor, hasMore}、MineAuth #412 以降が必要)get_claims— GriefPreventionget_balance— Vaultticket_context— ticket 対応用まとめ取り (ticket 詳細 + claims + balance + online)。足りない分はgapsで明示mineauth_request— 汎用パススルー (/api/始まりのみ)
AdvanceRailway
ベースパス /api/v1/plugins/advancerailway/。id 系は slug / UUID どちらも可。
adv_route— 2 駅間の最短経路 (GET /route?from=&to=)。totalTime(秒) +legs[](RAIL/WALK、fromName/toName、timeRequired、railwaySlug、line)。徒歩区間は直線距離/4.317 の概算adv_stations— 駅:list(GET /stations) /get/railways(接続路線) /nearest(GET /nearest-station?world&x&z) /create(POST) /update(PATCH) /deleteadv_railways— 路線:list/get/create(POST、実レールをサーバー側でトレース) /update(PATCH、startPoint+endPoint+flags揃いでのみ引き直し) /deleteadv_groups— グループ (路線名・ナンバリング):list/get/railways/stations(並び+ナンバリング) /set-stations(PUT 一括置換) /create/update/deleteadv_stats— 件数サマリ (GET /stats→{stations, railways, groups})
mpm
ベースパス /api/v1/plugins/mpm/。読み取りは mpm.api.read、書き込みは mpm.api.write (サービストークンは callers 許可で到達)。
mpm_plugins— 読み取り:list(GET /plugins?filter=all|managed|unmanaged|outdated|locked) /get/versions/metadata/history/deps(?soft) /outdated/verifympm_status—doctor(一括診断) /search(GET /search?q=&limit=) /repositories(ソース一覧)mpm_jobs— 非同期ジョブ:list/get(RUNNING 中はポーリング) /create(POST /jobs {type:'update_all', force?, skipIntegrity?})mpm_plugins_write— 書き込み:update-all/update/version({version*, force?, skipIntegrity?}) /add(version指定:latest/sync:親/tag:/固定、登録のみ・配置はinstallを続けて呼ぶ) /install/uninstall(反映に再起動) /lock/unlock。一括更新はタイムアウト回避のためmpm_jobsのcreate推奨
MineAuth 側に足りないもの (addon 開発が必要)
座標→周辺 claims 検索:
GET /api/v1/plugins/griefprevention/claims/nearby?world=&x=&y=&z=&radius=最終ログイン / playtime:
OfflinePlayer.getLastPlayed()系を返す小さな addon町の情報: 使う town プラグインを決めてから addon 化
mineauth_request があるので addon が生えたら MCP 改修なしで叩ける。
Related MCP Connectors
One AI endpoint to search and call 22k+ MCP servers; 50+ hosted tools work instantly, no key.
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Generate AI images, video, music, and sound effects, and upscale them, from any MCP client.
Capability registry for the agentic economy. Semantic search over verified MCP server listings.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables management of Minecraft servers through the MCSManager API. Supports executing server commands, checking player status, retrieving server information, and controlling game settings like weather.5 npm1MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to play and interact with Minecraft servers through mineflayer, providing automated actions like mining, movement, crafting, and real-time game event monitoring.12 npm8MIT
- AlicenseBqualityDmaintenanceEnables AI assistants to interact with and manage Minecraft servers through a standardized interface, supporting server monitoring, player management, log analysis, and command execution.11MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI clients like Codex and Claude Code to manage Minecraft servers through the Exaroton API, including status, logs, crash diagnostics, player management, and guarded server actions with confirmation.MIT