sbwsz-mcp

sbwsz-mcp

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.

Category
Visit Server

README

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

English | 中文

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

smithery badge

<a href="https://glama.ai/mcp/servers/@lieyanqzu/sbwsz-mcp"> <img width="380" height="200" src="https://glama.ai/mcp/servers/@lieyanqzu/sbwsz-mcp/badge" /> </a>

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
    获取特定系列的所有卡牌,支持分页和排序。

使用方法

服务器支持两种运行模式:

  1. 标准 stdio 模式(默认)
  2. 无状态 Streamable HTTP 模式,提供 HTTP 端点

使用 NPX

如果你本地安装了 Node.js:

# Stdio 模式
npx sbwsz-mcp-server

# Streamable HTTP 模式
npx sbwsz-mcp-server --http

连接到服务器

Stdio 模式

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

Streamable HTTP 模式

当使用 Streamable HTTP 模式运行时(使用 --http 参数):

服务器将在以下端点可用:

  • Streamable HTTP 端点:http://localhost:3000/mcp

该模式为无状态模式,不维护会话信息,提供更简化和高效的通信方式。

在 claude_desktop_config.json 中集成

stdio 模式的示例配置:

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

或使用 npx:

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

使用 Docker 构建

docker build -t mcp/sbwsz .

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

docker run -i --rm mcp/sbwsz

或在 Streamable HTTP 模式下运行:

docker run -i --rm -p 3000:3000 mcp/sbwsz --http

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured