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 とエージェント」の他のコンテンツ