Skip to main content

MCP servers for interacting with Magic: The Gathering decks and card information

Project description

MTG Deck Manager MCP Servers

This project provides Model Context Protocol (MCP) servers for interacting with Magic: The Gathering decks and card information directly through Claude.

Features

  • MTG Deck Manager: Upload decks, draw cards, manage your hand, perform mulligans, and handle sideboarding
  • Scryfall API Integration: Search for cards, get random cards, and look up card information

Installation

  1. Clone this repository to your local machine:
git clone https://github.com/artillect/mtg-deck-mcp-server.git
cd mtg-deck-mcp-server
  1. Set up a Python virtual environment:
# Create and activate a virtual environment
python -m venv .venv
.venv\Scripts\activate

# Install dependencies
pip install fastmcp httpx

Claude Desktop Client Configuration

Add the following to your Claude config:

{
    "mcp_servers": {
        "mtg-server": {
            "command": "C:\\Path\\To\\Your\\Project\\.venv\\Scripts\\python.exe",
            "args": [
                "C:\\Path\\To\\Your\\Project\\mtg_server.py"
            ]
        },
        "scryfall": {
            "command": "C:\\Path\\To\\Your\\Project\\.venv\\Scripts\\python.exe",
            "args": [
                "C:\\Path\\To\\Your\\Project\\scryfall_server.py"
            ]
        }
    }
}

Make sure to adjust the paths to match your local installation.

Usage

After setting up the servers in your Claude client, you can interact with them by asking Claude to:

  • Upload an MTG deck list
  • Draw cards from your deck
  • View your hand
  • Search for card information via Scryfall
  • Get random cards or search by name

Notes

  • The Scryfall server may occasionally crash due to ongoing development.
  • Make sure both servers are running when you want to use their respective features.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iflow_mcp_artillect_mtg_mcp_servers-0.1.0.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file iflow_mcp_artillect_mtg_mcp_servers-0.1.0.tar.gz.

File metadata

  • Download URL: iflow_mcp_artillect_mtg_mcp_servers-0.1.0.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_artillect_mtg_mcp_servers-0.1.0.tar.gz
Algorithm Hash digest
SHA256 86060eee87defad20582f6ec33fb9b1012b338b0f1a587af346081937c8230d2
MD5 571e0df5bb6c697be2be20faaa30bb5d
BLAKE2b-256 fa4c4de8f7ce01abde664c7bd25abb67d2dda0457fb2c88ee9b3b6e50d352f83

See more details on using hashes here.

File details

Details for the file iflow_mcp_artillect_mtg_mcp_servers-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: iflow_mcp_artillect_mtg_mcp_servers-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 15.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_artillect_mtg_mcp_servers-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6ab1ce0cbbfcee50b8d190de7c04d65377eb608761c1f789ba7c3e5282348911
MD5 762f51f4dc900b744e7f823ea7acd58a
BLAKE2b-256 756a65abe2311725137fc17831d8971c3a160acbc6ed6d939e78a8fe6b586c96

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page