MCP.so
登录

MTG Assistant MCP Server

@0010aor

基本信息

分类

AI 与智能体

传输方式

stdio

作者

0010aor

提交者

Andres Ortega

关于 MTG Assistant MCP Server

A Model Context Protocol server that provides Magic: The Gathering card information fetching capabilities using the Scryfall API.

#mtg#scryfall#magic-the-gathering

MTG Assistant MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-mtg-assistant": {
      "command": "uv",
      "args": [
        "run",
        "mcp-server-mtg-assistant"
      ]
    }
  }
}

MTG Assistant MCP Server 工具

1

Retrieves 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 uv for 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.

常见问题

1

What data source does MTG Assistant use?

It retrieves card information from the Scryfall API, a public database of Magic: The Gathering cards.

2

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.

3

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.

4

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.

5

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 服务器