MTGデッキマネージャーMCPサーバー
このプロジェクトは、Claude を通じて Magic: The Gathering のデッキやカード情報と直接やり取りするための Model Context Protocol (MCP) サーバーを提供します。
特徴
MTG デッキマネージャー: デッキをアップロードし、カードを引いて、手札を管理し、マリガンを実行し、サイドボードを管理します
Scryfall API 統合: カードを検索し、ランダムなカードを取得し、カード情報を調べます
Related MCP server: MCP-AnkiConnect
インストール
このリポジトリをローカル マシンにクローンします。
git clone https://github.com/artillect/mtg-deck-mcp-server.git
cd mtg-deck-mcp-serverPython 仮想環境をセットアップします。
# Create and activate a virtual environment
python -m venv .venv
.venv\Scripts\activate
# Install dependencies
pip install fastmcp httpxクロードデスクトップクライアントの構成
Claude 構成に以下を追加します。
{
"mcp_servers": {
"mtg-server": {
"command": "C:\\Path\\To\\Your\\Project\\.venv\\Scripts\\python.exe",
"args": [
"C:\\Path\\To\\Your\\Project\\mtg_server.py"
]
},
"scryfall": {
"command": "C:\\Path\\To\\Your\\Project\\.venv\\Scripts\\python.exe",
"args": [
"C:\\Path\\To\\Your\\Project\\scryfall_server.py"
]
}
}
}ローカルインストールに合わせてパスを調整してください。
使用法
Claude クライアントでサーバーを設定したら、Claude に次の操作を依頼してサーバーと対話できます。
MTGデッキリストをアップロードする
デッキからカードを引く
手を見る
Scryfallでカード情報を検索する
ランダムカードを取得するか、名前で検索します
注記
Scryfall サーバーは開発中のため、時々クラッシュする場合があります。
それぞれの機能を使用する場合は、両方のサーバーが実行中であることを確認してください。
This server cannot be installed
Resources
Looking for Admin?
Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.