
MTG Assistant
@0010aor
MTG Assistant について
A Model Context Protocol server that provides Magic: The Gathering card information fetching capabilities using the Scryfall API.
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"mcp-mtg-assistant": {
"command": "uv",
"args": [
"run",
"mcp-server-mtg-assistant"
]
}
}
}ツール
1Retrieves details for a specific Magic: The Gathering card from Scryfall.
概要
What is MTG Assistant?
MTG Assistant is a Model Context Protocol server that fetches Magic: The Gathering card information using the Scryfall API. It is intended for developers integrating MTG card lookups into MCP-compatible clients such as Claude.
How to use MTG Assistant?
Install dependencies with uv, then run uv run mcp-server-mtg-assistant from the project directory. Alternatively, install via pip install mcp-server-mtg-assistant and run python -m mcp_server_mtg_assistant. Add a configuration entry to your MCP client (e.g., mcp.json) with uv or wsl.exe commands and the correct --directory path. The server exposes one tool: get_mtg_card_info, which accepts a search query string.
Key features of MTG Assistant
- Fetches card details from the Scryfall API.
- Provides one tool:
get_mtg_card_info. - Configurable for Linux, macOS, WSL, and Windows.
- Supports debug via the MCP inspector.
- Uses
uvfor dependency management and execution.
Use cases of MTG Assistant
- Look up a specific Magic card’s name, text, or characteristics.
- Answer rules questions by first retrieving card data from Scryfall.
- Integrate MTG card information into LLM-based assistants or chat clients.
- Automate card research for deck building or game analysis.
FAQ from MTG Assistant
What data source does MTG Assistant use?
It retrieves card information from the Scryfall API, a public database of Magic: The Gathering cards.
What are the runtime requirements?
The server requires Python and the uv package manager (recommended). It can also be run via pip if the package is published.
How do I configure MTG Assistant for Windows with a WSL server?
Use wsl.exe as the command with the path to uv inside WSL, and a WSL‑style path (e.g., /mnt/d/...) for the --directory argument.
What should I do if I get a .venv conflict when switching between environments?
Delete the .venv directory in the project root before switching environments. The next uv run will create a fresh, compatible virtual environment.
How can I debug the MTG Assistant server?
Run the MCP inspector by prefixing your server command with npx @modelcontextprotocol/inspector. Example: npx @modelcontextprotocol/inspector uv --directory <project_path> run mcp-server-mtg-assistant.
「AI とエージェント」の他のコンテンツ
LinkedIn MCP Server
stickerdanielOpen-source MCP server for LinkedIn. Give Claude and any MCP-compatible AI agent access to profiles, companies, jobs, and messages.
Sequential Thinking Multi-Agent System (MAS)
FradSerAn advanced sequential thinking process using a Multi-Agent System (MAS) built with the Agno framework and served via MCP.
🔎 GPT Researcher
assafelovicAn autonomous agent that conducts deep research on any data using any LLM providers
MCP Server - Remote MacOs Use
baryhuangThe only general AI agent that does NOT requires extra API key, giving you full control on your local and remote MacOs from Claude Desktop App
Solon Ai
opensolonJava AI application development framework (supports LLM-tool,skill; RAG; MCP; Agent-ReAct,Team-Agent). Compatible with java8 ~ java25. It can also be embedded in SpringBoot, jFinal, Vert.x, Quarkus, and other frameworks.
コメント