
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 与智能体 分类下的更多 MCP 服务器
Perplexity Ask MCP Server
ppl-aiThe official MCP server implementation for the Perplexity API Platform
Shell and Coding agent for Claude and other mcp clients
rusiaamanShell and coding agent on mcp clients
Mcp Agent
lastmile-aiBuild effective agents using Model Context Protocol and simple workflow patterns
meGPT - upload an author's content into an LLM
adriancoCode to process many kinds of content by an author into an MCP server
MCP Client for Ollama (ollmcp)
joniglHarness the power of local LLMs with this TUI MCP Client for Ollama. Featuring all core MCP primitives (tools, prompts, resources), agent mode, multi-server, model switching, streaming responses, human-in-the-loop, thinking mode, model params config, system prompts, and saved pre
评论