JM

j4th/mtg-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

21 stars 10 forks 质量 82 趋势 14MIT

统一的MCP服务器,将Scryfall、Commander Spellbook、17Lands、EDHREC、Moxfield、Spicerack和MTGGoldfish整合为一个AI助手界面。

概览

69个工具、19个提示和21个资源,让AI助手能够深入访问《万智牌》——包括卡牌数据、连招、选秀分析、指挥官元游戏、竞技构筑、备牌策略、牌组构建、规则引擎等。支持Claude Code、Claude Desktop或任何MCP客户端。 - 你能做什么 — 示例提示和实际工具输出 - 安装 — 托管的 Claude Code、Claude 桌面、PyPI、开发 - 配置 — 环境变量和功能标志 - 工具 — 涵盖 13 个域的全部 69 种工具 - 架构 — FastMCP 3.x 挂载系统 - Stack — Python 3。

概述(AI 翻译)

69个工具、19个提示和21个资源,让AI助手能够深入访问《万智牌》——包括卡牌数据、连招、选秀分析、指挥官元游戏、竞技构筑、备牌策略、牌组构建、规则引擎等。支持Claude Code、Claude Desktop或任何MCP客户端。

基于Scryfall、Commander Spellbook、17Lands、EDHREC、Moxfield、Spicerack和MTGGoldfish的数据构建。详情及使用术语请参见数据来源与归属。

目录

  • 你能做什么——示例提示和真实工具输出
  • 安装 — 托管,Claude Code,Claude Desktop,PyPI,开发
  • 配置——环境变量和功能标志
  • 工具 — 涵盖13个领域的全部69种工具
  • 架构 — FastMCP 3.x 挂载系统
  • Stack — Python 3.12+,FastMCP,httpx,Pydantic
  • 开发 — 用于测试、排版、类型校验的 mise 命令
  • 文档——手册、架构、工具参考等
  • 状态 — 当前工具/测试数量
  • 数据来源与归属 — Scryfall、Spellbook、17Lands、EDHREC、Moxfield、Spicerack、MTGGoldfish

你能做什么

向你的AI助手提问,它会自动使用MTG工具:

指挥官

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

mtg-mcp-server

69 tools, 19 prompts, and 21 resources that give AI assistants deep access to Magic: The Gathering – card data, combos, draft analytics, Commander metagame, competitive constructed, sideboard strategy, deck building, rules engine, and more. Works with Claude Code, Claude Desktop, or any MCP client.

Built on data from Scryfall, Commander Spellbook, 17Lands, EDHREC, Moxfield, Spicerack, and MTGGoldfish. See Data Sources & Attribution for details and usage terms.

Table of Contents

  • What You Can Do — example prompts and real tool output
  • Install — hosted, Claude Code, Claude Desktop, PyPI, development
  • Configuration — environment variables and feature flags
  • Tools — all 69 tools across 13 domains
  • Architecture — FastMCP 3.x mount system
  • Stack — Python 3.12+, FastMCP, httpx, Pydantic
  • Development — mise commands for testing, linting, typechecking
  • Documentation — cookbook, architecture, tool reference, and more
  • Status — current tool/test counts
  • Data Sources & Attribution — Scryfall, Spellbook, 17Lands, EDHREC, Moxfield, Spicerack, MTGGoldfish

What You Can Do

Ask your AI assistant questions like these and it will use the MTG tools automatically:

Commander

  • “Show me everything about Muldrotha as a commander”
在 GitHub 查看完整 README

安装

uvx mtg-mcp-server
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "mtg": { "type": "url", "url": "https://mtg-mcp-server.fastmcp.app/mcp" } } }