AgentHubAgentHub

MTG MCP Server

MCP ServerMCP Registry官方收录

io.github.j4th/mtg-mcp-server · v3.0.0

Magic: The Gathering card search, combo lookup, draft analytics, and Commander tools.

概览

MTG MCP Server 是一个MCP Server,收录自 官方 MCP Registry。支持 stdio 传输。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

安装

选择你的平台查看安装方式

{
  "mcpServers": {
    "mtg-mcp-server": {
      "command": "uvx",
      "args": [
        "mtg-mcp-server"
      ]
    }
  }
}

环境变量

MTG_MCP_TRANSPORT可选

Server transport — 'stdio' (default) or 'http'

MTG_MCP_HTTP_PORT可选

HTTP port when transport is 'http'

MTG_MCP_LOG_LEVEL可选

Logging level — DEBUG, INFO, WARNING, or ERROR

MTG_MCP_ENABLE_17LANDS可选

Enable 17Lands draft analytics backend

MTG_MCP_ENABLE_EDHREC可选

Enable EDHREC commander metagame backend (uses undocumented endpoints)

MTG_MCP_ENABLE_BULK_DATA可选

Enable Scryfall Oracle Cards bulk data for rate-limit-free lookups (~30 MB download)

MTG_MCP_SCRYFALL_RATE_LIMIT_MS可选

Minimum delay between Scryfall API calls in milliseconds

MTG_MCP_BULK_DATA_REFRESH_HOURS可选

Hours between Scryfall bulk data refreshes

MTG_MCP_ENABLE_RULES可选

Enable Comprehensive Rules engine for rules lookup and keyword tools

MTG_MCP_DISABLE_CACHE可选

Disable in-memory TTL caching (useful for testing)

MTG_MCP_ENABLE_MOXFIELD可选

Enable Moxfield deck search and import backend (reverse-engineered API)

MTG_MCP_ENABLE_SPICERACK可选

Enable Spicerack tournament results backend

MTG_MCP_ENABLE_MTGGOLDFISH可选

Enable MTGGoldfish metagame data backend (HTML scraping)

相关资源

统一 Manifest

{
  "id": "io.github.j4th/mtg-mcp-server",
  "type": "mcp-server",
  "version": "3.0.0",
  "displayName": "MTG MCP Server",
  "description": "Magic: The Gathering card search, combo lookup, draft analytics, and Commander tools.",
  "repository": {
    "url": "https://github.com/j4th/mtg-mcp-server",
    "source": "github"
  },
  "homepage": "https://github.com/j4th/mtg-mcp-server",
  "distribution": {
    "packages": [
      {
        "registryType": "pypi",
        "identifier": "mtg-mcp-server",
        "version": "3.0.0",
        "runtimeHint": "uvx",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "MTG_MCP_TRANSPORT",
            "description": "Server transport — 'stdio' (default) or 'http'"
          },
          {
            "name": "MTG_MCP_HTTP_PORT",
            "description": "HTTP port when transport is 'http'"
          },
          {
            "name": "MTG_MCP_LOG_LEVEL",
            "description": "Logging level — DEBUG, INFO, WARNING, or ERROR"
          },
          {
            "name": "MTG_MCP_ENABLE_17LANDS",
            "description": "Enable 17Lands draft analytics backend"
          },
          {
            "name": "MTG_MCP_ENABLE_EDHREC",
            "description": "Enable EDHREC commander metagame backend (uses undocumented endpoints)"
          },
          {
            "name": "MTG_MCP_ENABLE_BULK_DATA",
            "description": "Enable Scryfall Oracle Cards bulk data for rate-limit-free lookups (~30 MB download)"
          },
          {
            "name": "MTG_MCP_SCRYFALL_RATE_LIMIT_MS",
            "description": "Minimum delay between Scryfall API calls in milliseconds"
          },
          {
            "name": "MTG_MCP_BULK_DATA_REFRESH_HOURS",
            "description": "Hours between Scryfall bulk data refreshes"
          },
          {
            "name": "MTG_MCP_ENABLE_RULES",
            "description": "Enable Comprehensive Rules engine for rules lookup and keyword tools"
          },
          {
            "name": "MTG_MCP_DISABLE_CACHE",
            "description": "Disable in-memory TTL caching (useful for testing)"
          },
          {
            "name": "MTG_MCP_ENABLE_MOXFIELD",
            "description": "Enable Moxfield deck search and import backend (reverse-engineered API)"
          },
          {
            "name": "MTG_MCP_ENABLE_SPICERACK",
            "description": "Enable Spicerack tournament results backend"
          },
          {
            "name": "MTG_MCP_ENABLE_MTGGOLDFISH",
            "description": "Enable MTGGoldfish metagame data backend (HTML scraping)"
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.j4th/mtg-mcp-server",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.j4th%2Fmtg-mcp-server/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
MTG MCP Server — MCP Server 安装与配置 · AgentHub