Provide seamless access to Magic: The Gathering Chinese card data from 大学院废墟(sbwsz.com) through a set of powerful query tools. Search cards by complex criteria, retrieve card sets, and get detailed card information to enhance your applications or workflows.
English | 中文
一个基于 Model Context Protocol (MCP) 的服务端,用于与 大学院废墟 API 交互。提供了一系列工具来查询万智牌中文卡牌信息。
本服务端基于大学院废墟的公开 API。您可以在以下地址查看完整的 API 文档:
t:creature c:r
(红色生物)或 pow>=5 or mv<2
(力量大于等于5或法术力值小于2)。服务端支持两种运行模式:
如果你本地安装了 Node.js:
# Stdio 模式 npx sbwsz-mcp-server # Streamable HTTP 模式 npx sbwsz-mcp-server --http
你的应用程序或环境(如 Claude Desktop)可以通过 stdio 直接与服务端通信。
当使用 Streamable HTTP 模式运行时(使用 --http
参数):
服务端将在以下端点可用:
http://localhost:3000/mcp
该模式为无状态模式,不维护会话信息,提供更简化和高效的通信方式。
stdio 模式的示例配置:
{ "mcpServers": { "sbwsz": { "command": "docker", "args": ["run", "-i", "--rm", "mcp/sbwsz"] } } }
或使用 npx:
{ "mcpServers": { "sbwsz": { "command": "npx", "args": ["sbwsz-mcp-server"] } } }
docker build -t mcp/sbwsz .
然后你可以在 stdio 模式下运行:
docker run -i --rm mcp/sbwsz
或在 Streamable HTTP 模式下运行:
docker run -i --rm -p 3000:3000 mcp/sbwsz --http
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!