德州扑克 MCP 服务器
这是一个基于模型上下文协议 (MCP) 的服务器,允许 MCP 客户端代理进行德州扑克游戏。它使用 Node.js 和 TypeScript 实现,包含游戏服务器、游戏客户端以及 MCP 服务器。
这个项目的大部分代码都是由AI(Claude-3.7-Sonnet)生成的,改进和调试大约花了5个小时。太棒了!
在线演示



Related MCP server: MCP Shell Server
入门
建造 :
npm install
npm run build运行扑克服务器:
npm run dev打开扑克客户端:打开浏览器访问http://localhost:3000/
配置你的 MCP 客户端以添加该工具。例如,假设你将仓库克隆到
/path/to/poker-mcp-server,以下是如何将该工具添加到 Cline 的方法:
{
"mcpServers": {
"poker-mcp-server": {
"command": "node",
"args": ["/path/to/poker-mcp-server/dist/mcpServer.js"],
"env": {
"DEBUG": "*"
}
}
}
}克莱恩:

示例提示
You are a Texas Hold'em poker expert. Please use the name "Super Awesome Pro" to join a Texas Hold'em poker game and win more chips. You can only use the functions provided by the poker-mcp-server MCP server. After joining the game, you must wait for your turn to act before proceeding to the next move.享受与 LLM 一起玩扑克的乐趣吧!
Resources
Looking for Admin?
Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.