magic-the-gathering-toolkit
Verified Safeby AImaginationLab
Overview
Provides an MCP server for AI-powered Magic: The Gathering deck building assistance, card search, and synergy/combo discovery.
Installation
uv run mtg-mcpEnvironment Variables
- MTG_DB_PATH
- USER_DB_PATH
- COMBO_DB_PATH
- LOG_LEVEL
- CACHE_MAX_SIZE
- CACHE_TTL_SECONDS
- IMAGE_CACHE_MAX_MB
- IMAGE_MEMORY_CACHE_COUNT
- DATA_CACHE_MAX_MB
Security Notes
The project adheres to good security practices, utilizing Pydantic for input validation in API endpoints and `aiosqlite` with parameterized queries to prevent SQL injection. Network requests for data sources (Scryfall, MTGJson, GitHub releases) are directed to trusted, hardcoded URLs. The synergy and combo detection mechanisms use regular expressions derived from static, developer-controlled JSON files, mitigating ReDoS risks from user input. There are no apparent hardcoded secrets or direct shell command executions based on unvalidated user input. The server is designed for local integration with MCP clients, limiting external attack surface.
Similar Servers
tmux-mcp
Enables AI assistants (like Claude Desktop) to interact with, control, and observe tmux terminal sessions by providing tools for session management and command execution.
opencti_mcp_server
Connects Claude Desktop to OpenCTI's threat intelligence platform for AI-augmented threat intelligence analysis and reporting, enabling natural language queries and context-aware responses.
vibes
Vibes transforms Claude Desktop into a conversational development environment through distributed MCP servers, allowing users to describe what they want to build and have Claude implement it while teaching them.
magic-the-gathering-mcp
Provides an MCP (Model-Client-Protocol) server to integrate Magic: The Gathering card data and analysis tools with AI-powered client applications for deck building assistance, synergy finding, and strategy analysis.