AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified MIT Self-run

Game Master Mcp

mcp-theferalcode-pixel-game-master-mcp · by theferalcode-pixel

Really play board games with your AI — an MCP game server with six rule-enforcing engines and a cozy local web Game Room

No reviews yet
0 installs
25 views
0.0% view→install

Install

$ agentstack add mcp-theferalcode-pixel-game-master-mcp

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-theferalcode-pixel-game-master-mcp)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
19d ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Game Master Mcp? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Game Master

Really play board games with your AI. Not "describe a board and hope" — a tiny local game server keeps the actual state, enforces the actual rules, and lets both of you make real moves: your AI through MCP tools, you in conversation or in a cozy little web Game Room.

Six games, complete rules, no honor system:

| Game | The rules it enforces | | --- | --- | | Tic-tac-toe | The quick classic | | Connect Four | Gravity, four in a row | | Checkers | Mandatory captures, multi-jumps, kinging | | Backgammon | Blots, the bar, bearing off, doubles | | Chess | Castling, en passant, promotion, check, checkmate, stalemate, fifty-move rule, threefold repetition, insufficient material | | Battleship | Two hidden 10×10 fleets — each side only ever sees its own ships and its own shot results. The secrets stay on the server. |

Finished matches land in a house ledger automatically (wins, streaks, longest game), and your AI gets a tool to decorate each match with a title and a postgame note. The web lobby displays the ledger under the game shelf, next to a tiny trophy cabinet.

Quick start — the MCP server

Requires Python 3.10+ and the mcp package:

pip install mcp

Then register game_master.py with your MCP client.

Claude Code:

claude mcp add game-master -- python3 /path/to/game-master-mcp/game_master.py

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "game-master": {
      "command": "python3",
      "args": ["/path/to/game-master-mcp/game_master.py"]
    }
  }
}

Any other MCP client works the same way: it's a plain stdio server.

Now ask your AI to start a game ("new chess game — you're Black"). The two seats are always called human and agent; your AI plays as agent. Game state lives in ~/.game-master/games/ (override with GAME_MASTER_HOME).

The web Game Room (optional but lovely)

python3 server.py        # or: ./ctl.sh start

Open http://127.0.0.1:8777/ — a lamp-lit room with the six game boxes on a shelf and the house ledger below. Click a box to sit down: the board is on the left, the rules card and (optionally) your AI's chat seat on the right. The browser plays as human at dedicated tables (room-chess, room-battleship, …), so games you play purely in conversation are never disturbed.

The board polls the same state files the MCP tools write, so when your AI takes its turn — from any client — the move appears on your screen.

Make it yours

Copy config.example.json to config.json (or use environment variables):

{
  "player_name": "Sam",
  "agent_name": "Aria",
  "theme": "hearth"
}
  • Names appear everywhere: turn notes, the chat seat, the ledger.
  • Themes: hearth (warm amber wood), tide (deep ocean blues),

grove (forest greens). There's a picker in the lobby too.

The chat seat

If your AI setup exposes a local chat server speaking the Hermes WebUI chat API (/api/session/new, /api/chat/start, SSE /api/chat/stream), set chat_url (e.g. http://127.0.0.1:8787) and the Game Room embeds a live chat panel beside every board — trash talk and "your move" nudges included.

Without it, the chat seat politely explains it's not wired up, and everything else works exactly the same: you click, your AI plays through its tools, the board updates.

How honesty works

  • Nothing performs a move for you. The browser only acts on your explicit

clicks; the AI only acts through its tools; the server rejects anything illegal, out of turn, or out of bounds.

  • Battleship never leaks. Fleets exist only in the server's state files.

Both the browser view and the AI's battleship_get_state tool return a redacted view: your own fleet, plus hit/miss/sunk marks for your shots.

  • The ledger records itself. When a game ends, the result is written with

a record_id; the AI's gameroom_annotate_match tool adds the flavor.

Development

pip install mcp pytest
python -m pytest tests/

game_master.py holds all six engines plus the MCP tool definitions; server.py is a dependency-free stdlib web server; web/ is plain HTML/CSS/JS, no build step.

License

MIT — see [LICENSE](LICENSE).

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.