
一个适用于万智牌指挥官格式的模型上下文协议(MCP)服务器,提供全面的卡牌信息、判决、定价和牌组验证工具。
概览
一个适用于《万智牌:聚会指挥官》格式的模型上下文协议(MCP)服务器,提供全面的卡牌信息、裁决、定价、牌组验证工具以及多平台牌组导入。 1. – 使用Scryfall搜索语法搜索MTG卡牌 - 支持高级查询(颜色、类型、能力等) - 返回最多50条含完整卡牌信息的结果 - 包含指挥官合法性状态 2. – 获取特定卡牌的详细信息 - 神谕文本和规则 - 法力消耗、类型、力量/耐久度 - 颜色识别 - 所有格式的格式合法性 - 艺术家和套装信息 3. – 检查卡牌在指挥官中是否合法 - 显示所有格式的合法状态 - 明确显示被禁用/合法/不合法状态 - 快速格式验证 4. – 获取官方卡牌裁定和澄清 - 官方WotC裁定 - 每项裁决的日期和来源 - 详尽的规则澄清 5.
概述(AI 翻译)
一款适用于万智牌指挥官格式的模型上下文协议(MCP)服务器,提供全面的卡牌 信息、裁定、定价、牌组验证工具以及多平台牌组导入。
特色
工具(AI可调用函数)
掠夺者卡牌数据(8个工具)
- search_cards – 使用Scryfall搜索语法搜索MTG卡牌
- 支持高级查询(颜色、类型、能力等)
- 返回最多50个结果,包含完整卡片详情
- 包括指挥官合法身份
- get_card_details – 获取特定卡片的详细信息
- 神谕文本与规则
- 法力消耗、类型、力量/耐难度
- 颜色识别
- 各格式的合法性
- 艺术家与布景信息
- check_commander_legality – 检查一张卡在指挥官中是否合法
- 显示所有格式的合法性状态
- 明确显示被禁/合法/非法身份
- 快速格式验证
- get_card_rulings – 获取官方卡牌裁定和说明
- 官方WotC裁决
- 每项裁决的日期和来源
- 全面的规则澄清
- get_card_price – 获取最新的卡片价格
- Scryfall 提供的美元和欧元价格
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
MTG Commander MCP Server
A Model Context Protocol (MCP) server for Magic: The Gathering Commander format, providing comprehensive card information, rulings, pricing, deck validation tools, and multi-platform deck importing.
Features
Tools (AI-Callable Functions)
Scryfall Card Data (8 tools)
-
search_cards – Search for MTG cards using Scryfall search syntax
- Supports advanced queries (colors, types, abilities, etc.)
- Returns up to 50 results with full card details
- Includes Commander legality status
-
get_card_details – Get detailed information about a specific card
- Oracle text and rules
- Mana cost, type, power/toughness
- Color identity
- Format legalities across all formats
- Artist and set information
-
check_commander_legality – Check if a card is legal in Commander
- Shows legality status across all formats
- Clear indication of banned/legal/not legal status
- Quick format validation
-
get_card_rulings – Get official card rulings and clarifications
- Official WotC rulings
- Dates and sources for each ruling
- Comprehensive rules clarifications
-
get_card_price – Get current card pricing
- USD and EUR prices from Scryfall
- BRL (Brazilian Real) pricing via real-time currency conversion
- Supports both regular and foil versions
- Optional set-specific pricing
-
get_banned_list – Get the current Commander banned list
- Real-time data from Scryfall
- 85+ banned cards (updated automatically)
- Complete list with card names
-
validate_deck – Validate a Commander deck
- 100-card deck size check
- Commander eligibility (rule 903.3) and ban check
安装
docker run -i --rm mtg-mcp:latest配置
{
"mcpServers": {
"mtg-commander": {
"command": "/absolute/path/to/mtg-mcp/mtg-mcp"
}
}
}