CS

cryppadotta/scryfall-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

36 stars 12 forks 품질 50 트렌드 12

cryppadotta/scryfall-mcp는 https://github.com/cryppadotta/scryfall-mcp.]에서 수입된 MCP 서버 후보입니다

개요

cryppadotta/scryfall-mcp는 https://github.com/cryppadotta/scryfall-mcp.]에서 수입된 MCP 서버 후보입니다

개요(AI 번역)

Scryfall API와 상호 작용하는 모델 Context Protocol (MCP) 서버. Magic: The Gathering card details, card rulings, 가격정보를 보실 수 있습니다.

특징

  • **search cards ** Scryfall의 텍스트 기반 검색 수행. 일치하는 카드의 목록을 반환합니다.
  • **get card by id ** Scryfall UUID를 통해 카드를 직접 검색합니다.
  • get card by name의 이름 정확한 영어로 카드를 검색합니다.
  • ** 랜덤 카드** 전체 Scryfall 데이터베이스에서 무작위 카드를 가져옵니다.
  • **get rulings ** 카드에 대한 공식 러링을 검색, 이는 카드 상호 작용 또는 규칙을 명확하게 할 수 있습니다.
  • **get prices by id ** 현재 가격정보(USD, USD 호 일, EUR, TIX)를 검색하여 Scryfall ID로 지정된 카드로 검색합니다. -get prices by name의 이름 현재 가격 정보를 검색 (USD, USD 호 일, EUR, TIX) 정확한 이름으로 주어진 카드에 대 한.

사용법

서버는 2개의 형태에서 실행될 수 있습니다:

  1. 표준 stdio 형태 (과태)
  2. Server-Sent Events (SSE) HTTP 엔드포인트 모드

NPX 사용

Node.js가 로컬에 설치된 경우:

서버 연결

Stdio 형태

응용 프로그램 또는 환경 (클래드 데스크톱과 같은)은 서버와 stdio를 통해 직접 통신 할 수 있습니다.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

Scryfall MCP Server

A Model Context Protocol (MCP) server for interacting with the Scryfall API. It provides tools to look up Magic: The Gathering card details, card rulings, and price information.

Features

  • search_cards
    Perform a text-based search on Scryfall. Returns a list of matching cards.
  • get_card_by_id
    Retrieve a card directly via its Scryfall UUID.
  • get_card_by_name
    Retrieve a card by exact English name.
  • random_card
    Get a random card from the entire Scryfall database.
  • get_rulings
    Retrieve official rulings for a card, which may clarify card interactions or rules.
  • get_prices_by_id
    Retrieve current pricing information (USD, USD foil, EUR, TIX) for a given card by Scryfall ID.
  • get_prices_by_name
    Retrieve current pricing information (USD, USD foil, EUR, TIX) for a given card by exact name.

Usage

The server can be run in two modes:

  1. Standard stdio mode (default)
  2. Server-Sent Events (SSE) mode with HTTP endpoints

Using NPX

If you have Node.js installed locally:

# Stdio mode
npx scryfall-mcp-server

# SSE mode
npx scryfall-mcp-server --sse

Connecting to the Server

Stdio Mode

Your application or environment (like Claude Desktop) can communicate directly via stdio with the server.

SSE Mode

When running in SSE mode (with --sse), you can connect using the MCP CLI:

npx @wong2/mcp-cli --sse http://localhost:3000/sse

The server will be available at:

  • SSE endpoint: http://localhost:3000/sse
  • Message endpoint: http://localhost:3000/messages

Integration in claude_desktop_config.json

Example snippet for stdio mode:

{
  "mcpServers": {
    "scryfall": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "mcp/scryfall"]
    }
  }
}

Or with npx:

{
  "mcpServers": {
    "scryfall": {
      "command": "npx",
      "args": ["scryfall-mcp-server"]
    }
  }
}

Building from Docker

docker build -t mcp/scryfall .

Then you can run in stdio mode:

docker run -i --rm mcp/scryfall

Or in SSE mode:

docker run -i --rm -p 3000:3000 mcp/scryfall --sse

License

Licensed under the MIT License.

GitHub에서 전체 README 보기

설치

docker run -i --rm mcp/scryfall
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "scryfall": { "command": "docker", "args": ["run", "-i", "--rm", "mcp/scryfall"] } } }