
mcp_poker
一个支持MCP协议的德州扑克游戏服务器,使用Node.js和TypeScript实现。
Repository Info
About This Server
一个支持MCP协议的德州扑克游戏服务器,使用Node.js和TypeScript实现。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
Texas Holdem MCP Server
This is an Model Context Protocol server that allows an MCP client agents to play a game of Texas Holdem poker game. It is implemented with Node.js and TypeScript, including game server, game client, and a MCP Server.
Most Code in this project is generated by AI(Claude-3.7-Sonnet), and it tooks about 5 hours to improve and debug. Its Amazing!
Online Demo
Texas Holdem Online
!Screen capture
!Screen capture
!Screen capture
Getting started
- Build :
npm install
npm run build
- Run Poker Server:
npm run dev
- Open Poker Client: Open your browser visit http://localhost:3000/
- Configure your MCP client to add the tool. For example, here is how to add the tool to Cline, assuming you cloned the repo at
/path/to/poker-mcp-server:
{
"mcpServers": {
"poker-mcp-server": {
"command": "node",
"args": ["/path/to/poker-mcp-server/dist/mcpServer.js"],
"env": {
"DEBUG": "*"
}
}
}
}
-
Cline:
!Screenshot of install mcp server
Example prompt
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.
Enjoy Playing Poker With LLM!
Quick Start
Clone the repository
git clone https://github.com/freshlife001/mcp_pokerInstall dependencies
cd mcp_poker
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.