MTG MCP Servers

MTG MCP Servers is an MCP server suite that connects LLM clients to Magic: The Gathering game mechanics and the Scryfall card database. Written in Swift, the project provides two core components: a deck management engine and a Scryfall API integration server. Magic: The Gathering players, deck builders, and game developers use it to test opening hands, manage game states, review official comprehensive rules, and query card statistics directly from AI assistants. The deck manager handles parsing text-based decklists, drawing cards with shuffling logic, executing London mulligans, and moving cards between mainboards and sideboards. Meanwhile, the Scryfall server provides card information including mana costs, images, legality formats, and text search across the card library. Users can simulate plays, inspect curve statistics, and clarify rule interactions inside conversational environments like Claude Desktop.

Category: Other & General Purpose

Tags: card games, deck building, gaming, magic the gathering

Visit MTG MCP Servers

How to install and configure MTG MCP Servers

Follow these steps to build and register MTG MCP Servers with Claude Desktop: 1. Ensure you have Swift 6.2 or later and macOS 13 or later installed. 2. Clone the repository and build the release binaries: bash git clone https://github.com/ericraio/mtg-mcp cd mtg-mcp swift build -c release 3. Open your Claude Desktop configuration file (located at ~/Library/Application Support/Claude/claude_desktop_config.json on macOS). 4. Add the built executables to your mcpServers configuration using absolute paths: json { "mcpServers": { "mtg-deck-manager": { "command": "/path/to/mtg-mcp/.build/release/mtg-mcp", "args": ["--transport", "stdio"] }, "scryfall-api": { "command": "/path/to/mtg-mcp/.build/release/scryfall-mcp", "args": ["--transport", "stdio"] } } } 5. Restart Claude Desktop to enable the tools.

What you can do with MTG MCP Servers

  • Simulating opening hands: Load a decklist, draw initial card hands, and execute London mulligans to test starting consistency. - Searching Magic cards: Query the Scryfall API using exact names, fuzzy matching, or syntax filters to locate card text and legalities. - Consulting game rules: Look up specific MTG comprehensive rule numbers or search key concepts like priority and the stack. - Testing sideboard plans: Swap cards between your main deck, hand, and sideboard to prepare for specific competitive match-ups. - Analyzing deck statistics: View real-time distributions, card counts, and mana metrics directly through AI conversational prompts.

Key facts

  • https://github.com/ericraio/mtg-mcp
  • Other & General Purpose, Web Search & Research
  • card games, deck building, gaming, magic the gathering

Part of MCP Servers

Related MCP servers

  • MCP Media Player โ€” MCP Media Player is an MCP server that exposes playback controls for Home Assistant media players to AI agents. Itโ€ฆ
  • MCP Marvel Rivals โ€” MCP Marvel Rivals is an MCP server that provides access to Marvel Rivals game data through a standardized interface. Itโ€ฆ
  • MCP Notify Server โ€” MCP Notify Server is an MCP server that sends desktop notifications accompanied by audio alerts when AI agents complete tasks.โ€ฆ
  • MCP NPX Fetch โ€” MCP NPX Fetch is an MCP server that retrieves online resources and transforms web content into structured formats including HTML,โ€ฆ
  • MCP Notification Server โ€” MCP Notification Server is an MCP server that sends periodic notifications at fixed intervals of every 10 seconds. Built aroundโ€ฆ
  • MCP Naver News โ€” MCP Naver News is an MCP server that connects AI assistants to the Naver News API, enabling automated search andโ€ฆ

How do I install MTG MCP Servers?

MTG MCP Servers requires Swift 6.2 or later on macOS 13 or later. Clone the project repository from GitHub, compile the executables using swift build -c release, and register the resulting binary paths in your Claude Desktop configuration file under the mcpServers object.

What can MTG MCP Servers do?

The server suite provides tools for loading decklists across standard and commander formats, drawing cards, simulating mulligans, tracking deck and hand statistics, and performing sideboard swaps. It also interfaces with the Scryfall API for card lookups and includes comprehensive MTG rule searches.

Which MCP clients work with MTG MCP Servers?

Any MCP client supporting standard input and output (stdio) transport can run MTG MCP Servers. It is officially tested and documented for Claude Desktop across both development and compiled production configurations.

What decklist formats are supported?

The deck manager accepts standard list formats with mainboard and sideboard headers, Commander lists with dedicated commander sections, lists containing set codes and collector numbers, and basic headerless card lists.

  • AI Tools
  • Categories
  • Industries
  • CLI Coding Agents
  • MCP Servers
  • MCP Categories