Skip to main content
Glama
artillect

MTG Deck Manager MCP Servers

by artillect

MTG 卡牌管理器 MCP 服务器

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

特征

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

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

Related MCP server: MCP-AnkiConnect

安装

  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 服务器可能偶尔会崩溃。

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

-
security - not tested
F
license - not found
-
quality - not tested

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.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/artillect/mtg-mcp-servers'

If you have feedback or need assistance with the MCP directory API, please join our Discord server