About Turn Based Game MCP
Turn Based Game MCP is an MCP server published by chrisreddington in the Developer Tools category: a turn-based games app built with Next.js and TypeScript that features Tic-Tac-Toe and Rock Paper Scissors games with AI opponents powered by the Model Context Protocol (MCP), offering three difficulty levels. Conduid read 9 tools from its source: analyze_game, create_game, create_rock_paper_scissors_game, create_tic_tac_toe_game, make_player_move, play_game and 3 more. No package is published for it, so it installs from a source checkout.
The repository has 31 stars and 26 forks, is licensed MIT, and its last commit was on 13 Sep 2026. Conduid has no tagged release on record for it. It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include ai-opponent, fortheloveofcode, game-development, nextjs and turn-based-games.
Install
git clone https://github.com/chrisreddington/turn-based-game-mcpTools (9)
analyze_gameAnalyze current game state and provide insights| Parameter | Type | Description |
|---|---|---|
| gameId * | string | The ID of the game to analyze |
| gameType * | string | Type of game to analyze |
create_gameCreate a new game with interactive setup. This will ask you for preferences like difficulty, player options, and other game-specific settings. IMPORTANT: Only provide parameters that the user explicitly specified. DO NOT provide default values for optional parameters - missing parameters will trigger interactive elicitation.| Parameter | Type | Description |
|---|---|---|
| difficulty | string | AI difficulty level (easy, medium, hard). If not provided, will be asked during setup. |
| gameId | string | Optional custom game ID. If not provided, a random UUID will be generated. |
| gameType * | string | Type of game to create |
| maxRounds | number | For rock-paper-scissors: number of rounds to play. If not provided, will be asked during setup. |
| playerName | string | Your name in the game. LEAVE EMPTY to trigger interactive setup - do not provide defaults like "Player" or "User". |
| playerSymbol | string | For tic-tac-toe: your symbol (X goes first, O goes second). LEAVE EMPTY to trigger interactive setup - do not auto-select X. |
create_rock_paper_scissors_gameCreate new Rock Paper Scissors gamecreate_tic_tac_toe_gameCreate new Tic-Tac-Toe gamemake_player_moveMake a move on behalf of the human player. Use this when the player tells you their move in chat instead of using the web UI. IMPORTANT: When you later call play_game for the AI move, do NOT consider what move the player made - the AI should calculate its own optimal move independently.| Parameter | Type | Description |
|---|---|---|
| gameId * | string | The ID of the game |
| gameType * | string | Type of game |
| move * | object | The move to make. For tic-tac-toe: { row: number, col: number } (0-indexed). For rock-paper-scissors: { choice: "rock" | "paper" | "scissors" } |
play_gameMake an AI move in a game. IMPORTANT: After calling this tool when the game is still playing, you MUST call wait_for_player_move to continue the game flow.| Parameter | Type | Description |
|---|---|---|
| gameId * | string | The ID of the game to play |
| gameType * | string | Type of game to play |
play_rock_paper_scissorsMake AI choice in Rock Paper Scissorsplay_tic_tac_toeMake AI move in Tic-Tac-Toewait_for_player_moveWait for human player to make their move| Parameter | Type | Description |
|---|---|---|
| gameId * | string | The ID of the game to monitor |
| gameType * | string | Type of game to monitor |
| pollInterval | number | How often to check for moves in seconds |
| timeoutSeconds | number | Maximum time to wait for player move in seconds |
Security checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 831 words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
- ✓No dynamic code executionScanned 65 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdiomcp-server/src/server.ts:4
- Starts other programs
- No calls that start other programs
- Outbound network calls
- 14 callsshared/src/utils/http-client.ts:19, shared/src/utils/http-client.ts:35, web/src/app/games/rock-paper-scissors/page.tsx:53
- Writes or deletes files
- No file writes or deletes
- Lockfile
- package-lock.json
Pattern matches on the source text of 65 files: places to read, not proof of what the code does at run time.
README
The repository's README runs to about 831 words, fetched a month ago. The original in the repository is authoritative.
Read full README