← Back to Plugins
MCP Server MCP

MTG MCP Server

github By github 👁 1 views ▲ 0 votes

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

Homepage Verified source GitHub

Install

uvx mtg-mcp-server

Configuration Example

{
  "remotes": [],
  "packages": [
    {
      "registryType": "pypi",
      "identifier": "mtg-mcp-server",
      "version": "3.0.0",
      "runtimeHint": "uvx",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "description": "Server transport — 'stdio' (default) or 'http'",
          "default": "stdio",
          "name": "MTG_MCP_TRANSPORT"
        },
        {
          "description": "HTTP port when transport is 'http'",
          "default": "8000",
          "name": "MTG_MCP_HTTP_PORT"
        },
        {
          "description": "Logging level — DEBUG, INFO, WARNING, or ERROR",
          "default": "INFO",
          "name": "MTG_MCP_LOG_LEVEL"
        },
        {
          "description": "Enable 17Lands draft analytics backend",
          "default": "true",
          "name": "MTG_MCP_ENABLE_17LANDS"
        },
        {
          "description": "Enable EDHREC commander metagame backend (uses undocumented endpoints)",
          "default": "true",
          "name": "MTG_MCP_ENABLE_EDHREC"
        },
        {
          "description": "Enable Scryfall Oracle Cards bulk data for rate-limit-free lookups (~30 MB download)",
          "default": "true",
          "name": "MTG_MCP_ENABLE_BULK_DATA"
        },
        {
          "description": "Minimum delay between Scryfall API calls in milliseconds",
          "default": "100",
          "name": "MTG_MCP_SCRYFALL_RATE_LIMIT_MS"
        },
        {
          "description": "Hours between Scryfall bulk data refreshes",
          "default": "12",
          "name": "MTG_MCP_BULK_DATA_REFRESH_HOURS"
        },
        {
          "description": "Enable Comprehensive Rules engine for rules lookup and keyword tools",
          "default": "true",
          "name": "MTG_MCP_ENABLE_RULES"
        },
        {
          "description": "Disable in-memory TTL caching (useful for testing)",
          "default": "false",
          "name": "MTG_MCP_DISABLE_CACHE"
        },
        {
          "description": "Enable Moxfield deck search and import backend (reverse-engineered API)",
          "default": "true",
          "name": "MTG_MCP_ENABLE_MOXFIELD"
        },
        {
          "description": "Enable Spicerack tournament results backend",
          "default": "true",
          "name": "MTG_MCP_ENABLE_SPICERACK"
        },
        {
          "description": "Enable MTGGoldfish metagame data backend (HTML scraping)",
          "default": "true",
          "name": "MTG_MCP_ENABLE_MTGGOLDFISH"
        }
      ]
    }
  ]
}
mcp model-context-protocol pypi

Comments

Sign in to leave a comment

Loading comments...