
Magic: The Gathering MCP Tool Server

2025.01.13
0
PHP卡牌游戏规则查询娱乐功能
mcp-gatherer 是一个基于 Model Context Protocol 的服务器,专门用于访问《万智牌》的卡牌数据、规则和系列信息。该服务器提供了快速访问卡牌详情、裁决、综合规则章节等功能。
View on GitHub
Overview
基本能力
产品定位
mcp-gatherer 是一个专门为《万智牌》玩家和开发者设计的工具服务器,提供全面的卡牌数据和规则查询服务。
核心功能
- 通过名称、颜色、类型等条件搜索万智牌卡牌
- 查看详细的卡牌信息,包括裁决和外文版本
- 访问《万智牌》综合规则
- 浏览系列信息和卡牌列表
- 查看卡牌图片(在可用的情况下)
适用场景
- 万智牌玩家快速查询卡牌信息
- 卡牌游戏开发者集成万智牌数据
- 规则查询和学习
工具列表
- 卡牌搜索工具:按多种条件搜索卡牌
- 规则查询工具:访问综合规则
- 系列浏览工具:查看系列信息和卡牌列表
常见问题解答
- 需要 PHP 8.1 或更高版本
- 需要 Composer 作为依赖管理器
使用教程
使用依赖
- PHP 8.1 或更高版本
- 检查版本:
php --version
-
下载地址:php.net
-
Composer
- 下载地址:getcomposer.org
安装教程
-
克隆仓库:
bash git clone https://github.com/james2037/mcp-gatherer.git
-
进入项目目录:
bash cd mcp-gatherer
-
安装依赖:
bash composer install
调试方式
启动服务器:
php path/to/mcp_server.php
配置示例(Windows):
{
"mcpServers": {
"mcp-gatherer": {
"command": "php",
"args": ["C:\\mcp-gatherer\\mcp_server.php"],
"disabled": false,
"alwaysAllow": []
}
}
}