大学院废墟(sbwsz.com) MCP Server

by lieyanqzu

1 stars
372 downloads
Not rated
GitHub

About

用于与万智牌中文卡查大学院废墟(sbwsz.com)API交互的MCP服务端

Details

Author
lieyanqzu
GitHub stars
1
Downloads
372
Categories
Other

- get_card_by_set_and_number — 通过系列代码和编号获取单张卡牌
- search_cards — 按查询字符串搜索卡牌,支持分页和复杂语法(如 t:creature c:r
- get_sets — 获取所有卡牌系列的信息
- get_set — 获取单个系列的详细信息
- get_set_cards — 获取某系列所有卡牌,支持分页排序
- hzls(活字乱刷)— 将输入文本用万智牌卡牌图像拼接成图片

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name 大学院废墟(sbwsz.com) MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

通过 npm 全局安装 (npm install -g sbwsz-mcp-server) 或直接使用 npx (npx sbwsz-mcp-server) 运行。支持 STDIO 模式(默认,用于 Claude Desktop 等集成)和 HTTP 模式(端口 8081,用于容器部署)。在 Claude Desktop 的 claude_desktop_config.json 中添加配置即可集成。

get_card_by_set_and_number

通过系列代码和收集编号获取单张卡牌。

search_cards

通过查询字符串搜索卡牌,支持分页和排序。 **查询语法示例:** - `t:creature c:r` (红色生物) - `pow>=5 or mv<2` (力量大于等于5或法术力值小于2) - `o:"draw a card" -c:u` (包含"抓一张牌"的非蓝色牌) - `(t:instant or t:sorcery) mv<=3` (3费或以下的瞬间或法术) **分页参数:** - `page`: 页码 (整数, 默认 1) - `page_size`: 每页数量 (整数, 默认 20, 最大 100) **排序参数:** - `order`: 按字段排序,逗号分隔。前缀 `-` 表示降序 (例如: `name`, `-mv`, `name,-rarity`) 默认排序: `name` **其他参数:** - `unique`: 去重方式 (id, oracle_id, illustration_id) - `priority_chinese`: 是否优先显示中文卡牌

get_sets

返回所有MTG卡牌系列的完整数据,按发布日期降序排列

get_set

根据系列代码获取单个系列的详细信息

get_set_cards

获取特定系列的所有卡牌,支持分页和排序。

hzls

活字乱刷(使用卡牌图像拼接句子),将输入的文本使用魔法卡牌图像拼接成图片

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "\u5927\u5b66\u9662\u5e9f\u589f(sbwsz.com) mcp server": {
            "sbwsz": {
                "command": "npx",
                "args": [
                    "sbwsz-mcp-server"
                ]
            }
        }
    }
}

McpServers

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

大学院废墟(sbwsz.com) MCP Server

English | 中文

一个基于 Model Context Protocol (MCP) 的服务端,用于与 大学院废墟 API 交互。提供了一系列工具来查询万智牌中文卡牌信息。

smithery badge

<a href="https://glama.ai/mcp/servers/@lieyanqzu/sbwsz-mcp">

</a>

API 文档

本服务端基于大学院废墟的公开 API。您可以在以下地址查看完整的 API 文档:

- 大学院废墟 API 文档

使用示例

使用示例

功能特性

- get_card_by_set_and_number
通过系列代码和收集编号获取单张卡牌。
- search_cards
通过查询字符串搜索卡牌,支持分页和排序。支持复杂的查询语法,如 t:creature c:r(红色生物)或 pow>=5 or mv<2(力量大于等于5或法术力值小于2)。
- get_sets
获取所有卡牌系列的信息。
- get_set
获取单个系列的详细信息。
- get_set_cards
获取特定系列的所有卡牌,支持分页和排序。
- hzls
活字乱刷,将输入的文本使用万智牌卡牌图像拼接成图片。

使用方法

通过 NPM 包使用

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.