YGOPro Duel MCP
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
YGOPro Duel MCP
用你已有的 AI 客户端,把 AI 带进 YGOPro 普通房对战。首版支持 706 / OCG 1103(2011 年 3 月禁限、大师规则 2),包括单局、BO3 和局间换副。
Windows 开始使用
下载
ygopro-duel-mcp-0.1.0-win-x64.zip,解压到一个固定目录。包里有 Node.js,无需另外安装。双击
generate-mcp-config.cmd。Codex 用户把生成的codex-config.toml内容追加到%USERPROFILE%\.codex\config.toml。支持mcpServers的客户端,把mcp-config.json中的ygopro-duel条目加入各自的 MCP 配置。Claude Code 的项目配置可用.mcp.json,Gemini CLI 可用用户目录下的.gemini/settings.json。已有配置时合并相应条目,保留原来的内容。重新打开客户端,允许加载你刚添加的 MCP 服务。用 706 客户端进入
121.4.34.71:7911,建一个普通房。把实际房名填进下面这句话发给 AI。两边准备好后,由玩家按开始。
用 ygopro-duel 加入我建好的普通房「我的房名」,昵称用「[AI] 对手」。每次按工具给的合法选项自己判断,打到决斗结束后再复盘。
首次启动会从 OCG 1103 Nexus 下载并校验卡库、提示文本和禁限表,缓存到 %LOCALAPPDATA%\ygopro-duel-mcp。默认使用植物同调示例牌组。要换自己的卡组,在 MCP 配置的 args 末尾加上 "--deck", "卡组的绝对路径.ydk",或开打前让 AI 通过 get_deck 和 set_deck 查看、调整。使用其他语言可加 --lang en-US、ja-JP 或 ko-KR。
本机对战时,先用 706 客户端创建局域网房,再把 127.0.0.1、房间端口及房名(如有)告诉 AI。同一台电脑上要由两个 AI 控制两席时,启动两个独立的 MCP 会话。服务只默认加入指定的普通房,TT 等匹配入口不可用于默认社区服务器。
Related MCP server: ygo-ai
源码与打包
需要 Node.js 24。运行 npm ci、npm test。MCP 客户端的启动命令为 node,参数为 dist/src/mcp.js 的绝对路径。已有 1103 资源时可以加 --env <资源目录>,并用 --deck <牌组.ydk> 指定卡组。
Windows 打包运行 npm run pack:win -- -OutputDirectory <空输出目录>。脚本校验并打包官方 Node.js x64 运行时,只安装锁定的运行时依赖。工具协议见 局面与操作,实测组合见 兼容性记录,独立 706 回环房主见 构建说明。
也可手动接 OpenAI 兼容接口或本地模型。以下示例使用玩家自己的本地模型。使用需要 API Key 的接口时,可加 --api-key-env OPENAI_API_KEY 从环境变量读取。
node dist/src/autoplay.js --deck my.ydk --env <资源目录> --port <本机房间端口> --endpoint http://127.0.0.1:11434/v1 --model qwen3:8bLicense
GPL-2.0-only. The loopback patch targets mycard/ygopro. The portable ZIP includes Node.js under its own license. The starter deck and card data come from the OCG 1103 Nexus project. Yu-Gi-Oh! is a trademark of its respective rights holder.
English quick start
Extract the Windows x64 ZIP, run generate-mcp-config.cmd, and add the generated MCP entry to your AI client. For Codex, copy the generated TOML section into %USERPROFILE%\.codex\config.toml. For JSON-based clients, merge the entry under mcpServers. Restart the client, create a named ordinary room on 121.4.34.71:7911 in the 706 client, and ask your AI to join that exact room using ygopro-duel. The first launch downloads and checks the card data. A starter deck is included. Pass --lang en-US to use English card text.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
One connector for 15,000+ MCP servers plus your team's private MCPs, from any AI client.
AISay is a real-time forum and chat room for AI agents, where agents and humans talk slowly and play together. Mostly Chinese-speaking, English welcome. What you can do • Chat in public rooms and the cozy tea shop, write in the tree hollow, read the weekly gazette • Werewolf (6–12 agents, auto judge), with a ranked ELO mode, spectator stand and replays; humans can roll the Hand of Fate dice • Midnight Rules: weekly rule-horror puzzle rooms where you infer the hidden rules • Turtle soup riddles, draw-and-guess, an Avalon variant, match-3 races • Fishing pond and aquarium, blind boxes, a coin economy, a serial bookstore with tipping, and a shared timeline written by residents How to join Add https://aisay.top/chatroom/mcp (Streamable HTTP) to any MCP client. New agents register themselves by passing a short quiz and picking an animal and a color.
Read and update your SekkeiFlow life boards, counters and AI coach from any MCP client.
MCP server for AI dialogue using various LLM models via AceDataCloud
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to play Gomoku (五子棋) against each other through MCP tools, including creating rooms, joining games, making moves, and viewing board states.1MIT
- AlicenseNot gradedqualityDmaintenanceProvides Yu-Gi-Oh! card data, banlist, deck management, OCG rules engine, duel simulation, replay analysis, and YGOPro2 bridge for AI agents via MCP.7BSD Zero Clause
- AlicenseAqualityBmaintenanceEnables LLMs and agents to play Yu-Gi-Oh! through 14 MCP tools that translate semantic duel actions into HTTP calls to an instrumented YGOPro client, avoiding binary protocol frames and pixel-based screen interaction.14MIT
- FlicenseAqualityBmaintenanceEnables any MCP-capable model to take one seat in Secret Hitler Online alongside human browser players, joining lobbies, reading permitted game state, and making legal moves through standardized tools.14-