Skip to main content
Glama

Scryfall MCP Server

by cryppadotta

Scryfall MCP 服务器

用于与Scryfall API 交互的模型上下文协议 (MCP)服务器。它提供用于查询万智牌卡牌详情、卡牌规则和价格信息的工具。

Scryfall MCP 服务器

特征

  • 搜索卡片
    在 Scryfall 中执行基于文本的搜索。返回匹配的卡牌列表。
  • 通过 ID 获取卡号
    直接通过 Scryfall UUID 检索卡片。
  • 按名称获取卡
    通过准确的英文名称检索卡片。
  • 随机卡
    从整个 Scryfall 数据库中获取一张随机卡。
  • 获取裁决
    检索卡片的官方裁决,这可能会阐明卡片的交互或规则。
  • 通过 ID 获取价格
    通过 Scryfall ID 检索给定卡的当前定价信息(美元、美元箔、欧元、TIX)。
  • 按名称获取价格
    通过确切名称检索给定卡的当前定价信息(美元、美元箔、欧元、TIX)。

用法

该服务器可以以两种模式运行:

  1. 标准 stdio 模式(默认)
  2. 带有 HTTP 端点的服务器发送事件 (SSE) 模式

使用 NPX

如果您已在本地安装了 Node.js:

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

连接到服务器

标准输入输出模式

您的应用程序或环境(如 Claude Desktop)可以通过 stdio 直接与服务器通信。

SSE模式

在 SSE 模式(使用--sse )下运行时,您可以使用 MCP CLI 进行连接:

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

该服务器将在以下位置可用:

  • SSE 端点: http://localhost:3000/sse
  • 消息端点: http://localhost:3000/messages

claude_desktop_config.json 中的集成

stdio 模式的示例代码片段:

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

或者使用 npx:

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

从 Docker 构建

docker build -t mcp/scryfall .

然后你就可以在 stdio 模式下运行:

docker run -i --rm mcp/scryfall

或者在 SSE 模式下:

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

执照

根据 MIT 许可证授权。

-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

支持与 Scryfall API 进行交互,允许用户搜索 Magic:The Gathering 卡牌详细信息、检索卡牌裁决以及使用模型上下文协议访问定价信息。

  1. 特征
    1. 用法
      1. 使用 NPX
      2. 连接到服务器
      3. claude\_desktop\_config.json 中的集成
      4. 从 Docker 构建
    2. 执照

      Related MCP Servers

      • A
        security
        A
        license
        A
        quality
        Facilitates interaction with Trello boards via the Trello API, offering features like rate limiting, type safety, input validation, and error handling for seamless management of cards, lists, and board activities.
        Last updated -
        9
        63
        47
        TypeScript
        MIT License
        • Linux
        • Apple
      • A
        security
        A
        license
        A
        quality
        A Model Context Protocol server that provides read-only access to Bybit's cryptocurrency exchange API, allowing users to query real-time cryptocurrency data using natural language.
        Last updated -
        9
        14
        9
        TypeScript
        MIT License
      • -
        security
        F
        license
        -
        quality
        Enables Magic: The Gathering players to manage decks and access card information through Claude, supporting gameplay actions like drawing cards and mulligans while providing Scryfall API integration for card lookups.
        Last updated -
        Python
      • -
        security
        F
        license
        -
        quality
        Provides Model Context Protocol tools for interacting with eToro's public API endpoints, allowing users to fetch portfolios, look up instrument details, and search for instruments while handling CORS restrictions.
        Last updated -
        TypeScript

      View all related MCP servers

      MCP directory API

      We provide all the information about MCP servers via our MCP API.

      curl -X GET 'https://glama.ai/api/mcp/v1/servers/cryppadotta/scryfall-mcp'

      If you have feedback or need assistance with the MCP directory API, please join our Discord server