Skip to main content
Glama
artillect

MTG Deck Manager MCP Servers

by artillect

MTG 卡牌管理器 MCP 服务器

该项目提供模型上下文协议 (MCP) 服务器,用于直接通过 Claude 与万智牌卡组和卡片信息进行交互。

特征

  • MTG 牌组管理器:上传牌组、抽牌、管理手牌、执行重新洗牌以及处理换边

  • Scryfall API 集成:搜索卡牌、获取随机卡牌、查找卡牌信息

Related MCP server: Scryfall MCP Server

安装

  1. 将此存储库克隆到您的本地机器:

git clone https://github.com/artillect/mtg-deck-mcp-server.git
cd mtg-deck-mcp-server
  1. 设置 Python 虚拟环境:

# Create and activate a virtual environment
python -m venv .venv
.venv\Scripts\activate

# Install dependencies
pip install fastmcp httpx

Claude 桌面客户端配置

将以下内容添加到您的 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 服务器可能偶尔会崩溃。

  • 当您想要使用各自的功能时,请确保两台服务器都在运行。

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    Enables AI assistants to search and retrieve Magic: The Gathering card data through the Scryfall API. Supports card searches, random card generation, autocomplete, set listings, and rulings lookup.
    22
    274 npm
    1
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables Claude to search and retrieve Magic: The Gathering card details, prices, set information, and random cards from Scryfall's database through natural language.
    4
    2
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides AI assistants with access to Magic: The Gathering card data via Scryfall API, enabling card search, image downloads, and database management.
    14 npm
    2
    Apache 2.0
  • A
    license
    A
    quality
    B
    maintenance
    Provides AI assistants with comprehensive Magic: The Gathering data including card info, combos, draft analytics, Commander metagame, constructed formats, sideboard strategy, deck building, and rules.
    74
    MIT