sandlong

Sudoku MCP Server

Community sandlong
Updated

Remote Sudoku MCP server on Cloudflare Workers and Durable Objects

Sudoku MCP Server

A Cloudflare Worker exposing a small remote MCP server at /mcp. It implementsfive gameplay tools: start_game, get_game, play_move, check_game, andreset_game.

Local development

npm install
npm run types
npm test
npm run build
npm run dev

The root endpoint is a health response; MCP clients should usehttp://localhost:8787/mcp.

Automatic deployment

.github/workflows/deploy.yml runs the tests and type-check on pull requests.After a change reaches main, it deploys the Worker automatically. Configurethese GitHub Actions secrets before the first production deployment:

  • CLOUDFLARE_API_TOKEN: a Cloudflare API token permitted to deploy this Worker.
  • CLOUDFLARE_ACCOUNT_ID: the Cloudflare account identifier for this Worker.

The token must be stored as a GitHub secret, never committed to the repository.

Authentication

Wrangler uses Cloudflare OAuth for local CLI operations:

npx wrangler login
npx wrangler whoami

This Worker intentionally has no application-level auth or user-account layer,as specified by the development plan. Add access control at the deploymentboundary before exposing a production endpoint.

Game behavior

Puzzles are normalized to one 81-character row-major grid. Whitespace isignored, . and 0 mean empty, and digits 1-9 are givens. start_gameaccepts only uniquely solvable puzzles and stores the solution privately insideone SQLite-backed Durable Object per game ID. play_move enforces only visiblerow/column/box conflicts; check_game is the tool that evaluates entriesagainst the hidden solution. Every state response includes the canonicalinitial/current grids and a labeled board rendering.

MCP Server ยท Populars

MCP Server ยท New

    TalkToHumans

    LinkedIn MCP Server

    Safe LinkedIn MCP server for Claude, ChatGPT, Cursor & Codex. Your Agents read LinkedIn DMs, search your network, enrich profiles and draft messages you send.

    Community TalkToHumans
    bex-co

    Beancount.io Backend

    ๐Ÿ’ฐ Double-entry bookkeeping made easy โ€” plain-text accounting for humans and AI agents. Polished iOS & Android app built with React Native + Expo.

    Community bex-co
    nkapila6

    mcpsurfr

    Local web search MCP server, formerly mcp-local-rag. Multi-engine deep research with on-device re-ranking. โœจ no API keys โœจ

    Community nkapila6
    convex

    mcp.ts

    The open-source reactive database for app developers

    Community convex
    convex

    convex-backend

    The open-source reactive database for app developers

    Community convex