Mtg MCP Server

A Swift implementation of Magic: The Gathering (MTG) Model Context Protocol (MCP) servers, providing deck management and card search capabilities

Local serverstdio

What is the Mtg MCP Server?

A Swift implementation of Magic: The Gathering (MTG) Model Context Protocol (MCP) servers, providing deck management and card search capabilities through the MCP

The short version

  1. MTG Deck Manager (mtg-mcp) - Game state management including deck loading, card drawing, mulligans, and sideboarding 2. Scryfall API Server (scryfall-mcp) - Card information retrieval using the Scryfall API

What it needs from you

  • Swift 6.2 or later - macOS 13 or later

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
upload_deckLoad a deck list
draw_cardDraw cards from deck
view_handGet current hand contents
view_deck_statsGet deck statistics
play_cardPlay a card from hand
mulliganMulligan to new hand size
sideboard_swapSwap cards with sideboard
reset_gameReset game state
lookup_ruleLook up specific MTG rule
search_rulesSearch MTG rules
explain_conceptGet comprehensive rule explanations
search_cardsSearch for cards
get_random_cardGet random card
lookup_card_exactFind card by exact name

How to install the Mtg MCP Server

{
  "mcpServers": {
    "mtg-deck-manager": {
      "command": "swift",
      "args": [
        "run",
        "mtg-mcp",
        "--transport",
        "stdio"
      ],
      "cwd": "/path/to/mtg-mcp"
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

  • Swift 6.2 or later - macOS 13 or later

Example prompts to try

  • “Use Mtg MCP to upload deck.”
  • “Use Mtg MCP to draw card.”
  • “Use Mtg MCP to view hand.”

Frequently asked questions

A Swift implementation of Magic: The Gathering (MTG) Model Context Protocol (MCP) servers, providing deck management and card search capabilities through the MCP Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.