# MTG Chinese Card Database - 大学院废墟(sbwsz.com)

Provide seamless access to Magic: The Gathering Chinese card data through a set of powerful query tools. Search cards by complex criteria, retrieve card sets, and get detailed card information to enh…

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add lieyanqzu/sbwsz-mcp

# Browse available tools
npx -y @smithery/cli@latest tool list lieyanqzu/sbwsz-mcp

# Get full schema for a tool
npx -y @smithery/cli@latest tool get lieyanqzu/sbwsz-mcp get_card_by_set_and_number

# Call a tool
npx -y @smithery/cli@latest tool call lieyanqzu/sbwsz-mcp get_card_by_set_and_number '{}'
```

## Direct MCP Connection

Endpoint: `https://sbwsz-mcp--lieyanqzu.run.tools`

**Optional config:**
- `apiUrl` (query) — SBWSZ API基础URL
- `timeout` (query) — 请求超时时间（毫秒）

## Tools (6)

- `get_card_by_set_and_number` — 通过系列代码和收集编号获取单张卡牌。
- `search_cards` — 通过查询字符串搜索卡牌，支持分页和排序。
- `get_sets` — 返回所有MTG卡牌系列的完整数据，按发布日期降序排列
- `get_set` — 根据系列代码获取单个系列的详细信息
- `get_set_cards` — 获取特定系列的所有卡牌，支持分页和排序。
- `hzls` — 活字乱刷（使用卡牌图像拼接句子），将输入的文本使用魔法卡牌图像拼接成图片

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get lieyanqzu/sbwsz-mcp <tool-name>
```

---

Source: https://github.com/lieyanqzu/sbwsz-mcp
