MTG MCP Server
Magic: The Gathering card search, combo lookup, draft analytics, and Commander tools.
Documentation & Preview
{ "mcpServers": { "mcp-mtg-mcp-server": { "command": "uvx", "args": [ "--from", "mtg-mcp-server==3.0.0", "mtg-mcp-server" ], "env": { "MTG_MCP_TRANSPORT": "${ENV_MTG_MCP_TRANSPORT}", "MTG_MCP_HTTP_PORT": "${ENV_MTG_MCP_HTTP_PORT}", "MTG_MCP_LOG_LEVEL": "${ENV_MTG_MCP_LOG_LEVEL}", "MTG_MCP_ENABLE_17LANDS": "${ENV_MTG_MCP_ENABLE_17LANDS}", "MTG_MCP_ENABLE_EDHREC": "${ENV_MTG_MCP_ENABLE_EDHREC}", "MTG_MCP_ENABLE_BULK_DATA": "${ENV_MTG_MCP_ENABLE_BULK_DATA}", "MTG_MCP_SCRYFALL_RATE_LIMIT_MS": "${ENV_MTG_MCP_SCRYFALL_RATE_LIMIT_MS}", "MTG_MCP_BULK_DATA_REFRESH_HOURS": "${ENV_MTG_MCP_BULK_DATA_REFRESH_HOURS}", "MTG_MCP_ENABLE_RULES": "${ENV_MTG_MCP_ENABLE_RULES}", "MTG_MCP_DISABLE_CACHE": "${ENV_MTG_MCP_DISABLE_CACHE}", "MTG_MCP_ENABLE_MOXFIELD": "${ENV_MTG_MCP_ENABLE_MOXFIELD}", "MTG_MCP_ENABLE_SPICERACK": "${ENV_MTG_MCP_ENABLE_SPICERACK}", "MTG_MCP_ENABLE_MTGGOLDFISH": "${ENV_MTG_MCP_ENABLE_MTGGOLDFISH}" } } }, "setup": { "fields": [ { "id": "ENV_MTG_MCP_TRANSPORT", "label": "MTG_MCP_TRANSPORT", "description": "Server transport — 'stdio' (default) or 'http'", "required": false, "secret": false, "default": "stdio" }, { "id": "ENV_MTG_MCP_HTTP_PORT", "label": "MTG_MCP_HTTP_PORT", "description": "HTTP port when transport is 'http'", "required": false, "secret": false, "default": "8000" }, { "id": "ENV_MTG_MCP_LOG_LEVEL", "label": "MTG_MCP_LOG_LEVEL", "description": "Logging level — DEBUG, INFO, WARNING, or ERROR", "required": false, "secret": false, "default": "INFO" }, { "id": "ENV_MTG_MCP_ENABLE_17LANDS", "label": "MTG_MCP_ENABLE_17LANDS", "description": "Enable 17Lands draft analytics backend", "required": false, "secret": false, "default": "true" }, { "id": "ENV_MTG_MCP_ENABLE_EDHREC", "label": "MTG_MCP_ENABLE_EDHREC", "description": "Enable EDHREC commander metagame backend (uses undocumented endpoints)", "required": false, "secret": false, "default": "true" }, { "id": "ENV_MTG_MCP_ENABLE_BULK_DATA", "label": "MTG_MCP_ENABLE_BULK_DATA", "description": "Enable Scryfall Oracle Cards bulk data for rate-limit-free lookups (~30 MB download)", "required": false, "secret": false, "default": "true" }, { "id": "ENV_MTG_MCP_SCRYFALL_RATE_LIMIT_MS", "label": "MTG_MCP_SCRYFALL_RATE_LIMIT_MS", "description": "Minimum delay between Scryfall API calls in milliseconds", "required": false, "secret": false, "default": "100" }, { "id": "ENV_MTG_MCP_BULK_DATA_REFRESH_HOURS", "label": "MTG_MCP_BULK_DATA_REFRESH_HOURS", "description": "Hours between Scryfall bulk data refreshes", "required": false, "secret": false, "default": "12" }, { "id": "ENV_MTG_MCP_ENABLE_RULES", "label": "MTG_MCP_ENABLE_RULES", "description": "Enable Comprehensive Rules engine for rules lookup and keyword tools", "required": false, "secret": false, "default": "true" }, { "id": "ENV_MTG_MCP_DISABLE_CACHE", "label": "MTG_MCP_DISABLE_CACHE", "description": "Disable in-memory TTL caching (useful for testing)", "required": false, "secret": false, "default": "false" }, { "id": "ENV_MTG_MCP_ENABLE_MOXFIELD", "label": "MTG_MCP_ENABLE_MOXFIELD", "description": "Enable Moxfield deck search and import backend (reverse-engineered API)", "required": false, "secret": false, "default": "true" }, { "id": "ENV_MTG_MCP_ENABLE_SPICERACK", "label": "MTG_MCP_ENABLE_SPICERACK", "description": "Enable Spicerack tournament results backend", "required": false, "secret": false, "default": "true" }, { "id": "ENV_MTG_MCP_ENABLE_MTGGOLDFISH", "label": "MTG_MCP_ENABLE_MTGGOLDFISH", "description": "Enable MTGGoldfish metagame data backend (HTML scraping)", "required": false, "secret": false, "default": "true" } ], "requirements": [ "安装 Python 与 uv / uvx" ] }, "provenance": { "registryServer": "io.github.j4th/mtg-mcp-server", "registryVersion": "3.0.0", "registryUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.j4th%2Fmtg-mcp-server/versions/3.0.0", "repository": "j4th/mtg-mcp-server", "sourceCommit": "c7524871756fbe0a15d8227be8f37e3a44f0ae1e", "namespaceRepositoryOwnerMatched": true, "package": { "registry": "pypi", "identifier": "mtg-mcp-server", "version": "3.0.0", "wheelSha256": "8f79ca23f595e2c52ed06104cf764f9509e0d0df38460870b845caca40cd2f31", "packageRepositoryMatched": true, "checkedAt": "2026-10-21T01:06:13.739Z" }, "scope": "Install configuration verified; dependency implementation and remote behavior have not been audited" } }