AI Skill Hub 推荐使用:魔术卡牌MCP 是一款优质的MCP工具。AI 综合评分 7.5 分,在同类工具中表现稳健。如果你正在寻找可靠的MCP工具解决方案,这是一个值得深入了解的选择。
魔术卡牌MCP 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
魔术卡牌MCP 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/nathanmartins/mtg-mcp
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"----mcp": {
"command": "npx",
"args": ["-y", "mtg-mcp"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 魔术卡牌MCP 执行以下任务... Claude: [自动调用 魔术卡牌MCP MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"____mcp": {
"command": "npx",
"args": ["-y", "mtg-mcp"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
A Model Context Protocol (MCP) server for Magic: The Gathering Commander format, providing comprehensive card information, rulings, pricing, deck validation tools, and multi-platform deck importing.
go mod tidy
Key dependencies (automatically managed by go mod):
github.com/mark3labs/mcp-go v0.43.0 - MCP server and client frameworkgithub.com/BlueMonday/go-scryfall v0.9.1 - Scryfall API clientgithub.com/rs/zerolog v1.34.0 - Structured JSON logginggo.uber.org/ratelimit v0.2.0 - Rate limiting (via scryfall client)```bash
go build -o mtg-mcp ```
The compiled binary mtg-mcp is an MCP server for use with Claude Desktop or other MCP clients.
make build
Once connected to Claude Desktop, you can ask questions like:
Card Data:
Moxfield:
Archidekt:
EDHREC:
The project includes a Makefile with common development tasks (compatible with MacOS and Linux):
```bash
go test -v -timeout 5m ./... ```
Running E2E Tests via GitHub Actions:
E2E tests can be triggered manually through the GitHub Actions workflow:
The workflow:
-short flag)E2E Test Files:
edhrec_e2e_test.go - EDHREC API integration testsmoxfield_e2e_test.go - Moxfield API integration testsscryfall_e2e_test.go - Scryfall API integration testsNote: E2E tests make real API calls and are subject to:
make ci ```
Common Makefile Commands:
| Command | Description |
|---|---|
make help | Show all available commands |
make build | Build the binary |
make test-unit | Run unit tests only (fast, skips E2E) |
make test-e2e | Run E2E tests only |
make test | Run all tests (unit + E2E) |
make test-coverage | Generate HTML coverage report |
make test-coverage-cli | Show coverage in terminal |
make update-coverage-badge | Update coverage badge in README with proper colors |
make test-race | Run tests with race detector |
make bench | Run benchmarks |
make fmt | Format Go code |
make lint | Run all linters |
make check | Run fmt + lint + test-unit |
make ci | Run full CI pipeline locally |
make clean | Clean build artifacts |
make deps | Download dependencies |
make tidy | Tidy go.mod |
The project uses GitHub Actions with two main workflows:
CI Workflow (runs on push/PR):
-short flag) with race detectionE2E Tests & Coverage Workflow (manual trigger only):
一个不错的魔术卡牌MCP服务器项目
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
总体来看,魔术卡牌MCP 是一款质量良好的MCP工具,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。
| 原始名称 | mtg-mcp |
| 原始描述 | 开源MCP工具:A Model Context Protocol (MCP) server for Magic: The Gathering Commander format,。⭐8 · Go |
| Topics | mtgmcpgolang |
| GitHub | https://github.com/nathanmartins/mtg-mcp |
| License | MIT |
| 语言 | Go |
收录时间:2026-06-06 · 更新时间:2026-06-06 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端