# reversi-mcp-ui

The reversi-mcp-ui MCP server enforces Reversi rules and validates moves during games against an AI opponent.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 184 installs
- Author: mfukushim
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/mfukushim/reversi-mcp-ui
- Updated: 2025-10-15
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/reversi-mcp-ui

## What it does

The server isolates game logic inside the MCP runtime instead of relying on prompt instructions. An internal engine validates every move and updates match state in session memory. Dedicated tools handle player and assistant turns through `select-user` and `select-assistant`. Starting fresh uses `new-game`.

HTML board updates travel via the `ui://` schema. If a client feeds raw interface markup directly to the language model, token costs climb rapidly. Full interactive clicking requires client UI Actions support, so standard setups rely on coordinate text in conversation.

Running local tests via Wrangler inside a Docker container may cause failures. For standard remote setups, connecting to the HTTP endpoint provides a direct link without local builds.

## Requirements
- Remote server: `https://reversi-mcp-ui--mfukushim.run.tools`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http reversi-mcp-ui https://reversi-mcp-ui--mfukushim.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add reversi-mcp-ui --url https://reversi-mcp-ui--mfukushim.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "reversi-mcp-ui": {
            "url": "https://reversi-mcp-ui--mfukushim.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "reversi-mcp-ui": {
            "type": "http",
            "url": "https://reversi-mcp-ui--mfukushim.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http reversi-mcp-ui https://reversi-mcp-ui--mfukushim.run.tools
```

## When to use it
- play Reversi against an AI model inside the chat
- prevent AI opponents from cheating board rules
- verify client support for experimental MCP-UI actions
- test server-side game state tracking over HTTP

## Example prompts
- Start a fresh Reversi match with `new-game`
- Put a black stone on the board using `select-user`
- Pass the current turn using `PASS` with `select-user`

## Similar
- [deepspace](https://affpapa.org/en/nevibecode/skills/deepspace.md) — skill · 1200 installs
- [pinme-auth](https://affpapa.org/en/nevibecode/skills/pinme-auth.md) — skill · 519 installs
- [pinme-email](https://affpapa.org/en/nevibecode/skills/pinme-email.md) — skill · 512 installs
- [hono-core](https://affpapa.org/en/nevibecode/skills/hono-core.md) — skill · 509 installs
- [workers-best-practices](https://affpapa.org/en/nevibecode/skills/cloudflare-workers-best-practices.md) — skill · 146700 installs
- [Kody](https://affpapa.org/en/nevibecode/mcp/kody.md) — MCP server · ★ 985 repo stars

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
