SuperAPI AI Directory

scorezilla-mcp

๐ŸŽ–๏ธ ๐Ÿ“‡ โ˜๏ธ ๐ŸŽ ๐ŸชŸ ๐Ÿง - Provision and inspect Scorezilla leaderboards, including one-step setup of a game, board and keys with ready-to-use SDK code.

Open website

About this tool

Purpose

Scorezilla MCP is the official Model Context Protocol (MCP) server for Scorezilla, with the goal of bringing "adding a leaderboard to a game" directly into the editor of an AI coding assistant. Developers can create, view, and configure leaderboards without leaving Claude Code, Cursor, Continue.dev, or any other MCP-compatible host.

Main capabilities

The server provides a total of 11 tools, divided into two categories: read-only and write.

  • Read-only tools (5): list existing games, view the leaderboards under a game, read real-time leaderboard data, query the ranking of the most recent test score, and more.
  • Write tools (6):
    • Resource creation type: bootstrap_leaderboard (initialize game + leaderboard + key in one step), create_game, create_board, mint_key.
    • Configuration update type: update_board_config (set score upper and lower limits and retention policy, such as maxScore for anti-cheat), update_game_config (configure the browser submission origin allowlist).

Typical uses include: telling the AI "add a leaderboard to my game," and it will automatically complete the initialization of the game and leaderboard, and paste directly runnable TypeScript SDK code into the project; asking "what rank was my last test score," and it will read the real-time leaderboard and return the result; saying "list my games" or "show the leaderboards on X," and it will check existing resources.

How to use

  1. Register and log in at dashboard.scorezilla.dev, open the MCP tokens page, click Create token, and copy the one-time mcp_live_* token value (it will not be shown again).
  2. Add the server to the AI coding assistant:
    • Claude Code: edit ~/.claude/settings.json, use the npx -y @scorezilla/mcp command and configure the SCOREZILLA_TOKEN environment variable.
    • Cursor: open Settings โ†’ Features โ†’ MCP โ†’ Add new MCP server, use the samecommand, arguments, and environment variable structure.
    • Other MCP-compatible clients: point the client to npx -y @scorezilla/mcp, and set SCOREZILLA_TOKEN in the environment.
  3. In Claude Code or Cursor, simply say "Add a Scorezilla leaderboard to this game." to get started.

Optional arguments and environment variables:

  • --read-only: refuse to register all write tools (bootstrap_leaderboard, create_game, create_board, mint_key, update_board_config, update_game_config), suitable for shared or CI configurations, ensuring the AI cannot create or modify resources.
  • --base-url=<url>: override the API origin, default https://api.scorezilla.dev๏ผŒ้€‚็”จไบŽ่‡ชๆ‰˜็ฎกๆˆ–้ข„ๅ‘ๅธƒ็Žฏๅขƒใ€‚
  • SCOREZILLA_TOKEN: Required, a Bearer token issued at dashboard.scorezilla.dev/account/tokens.
  • SCOREZILLA_BASE_URL: An environment variable equivalent to --base-url; when both are set, the CLI argument takes precedence.
  • SCOREZILLA_BETA_TOKEN: No longer needed; MCP is open to all accounts and is retained only for compatibility (when set, it is sent as X-MCP-Beta).

Use Cases

  • Quickly integrate leaderboards into games within AI programming assistants, reducing manual configuration and SDK integration work.
  • View real-time leaderboard data and score rankings during development or testing.
  • Set score boundaries and retention policies via update_board_config, or manage the browser submission origin allowlist via update_game_config.
  • Use --read-only mode in shared or CI environments to allow read operations only.

Limitations and Notes

  • Access permissions: Open to all Scorezilla accounts. Creating games and leaderboards consumes plan limits (free tier: 2 games ร— 3 leaderboards each); when the limit is reached, tool errors include an upgrade link.
  • Token security: The token is a Bearer credential, and anyone who holds it can call the API on your behalf. Do not commit it to source code or paste it into shared chats; store it in environment variables, a password manager, or a secrets store. Claude Code's ~/.claude/settings.json stores tokens in plaintext, so ensure it is not committed to git, not synced to public dotfiles repositories, and not backed up to shared locations; on macOS/Linux, it is recommended to run chmod 600 ~/.claude/settings.json. If a token is leaked, it can be revoked at dashboard.scorezilla.dev/account/tokens, and revocation takes effect within seconds.
  • Token scopes: A token belongs to the developer who issued it and can access all games associated with that account. The MCP server does not return the plaintext game secret-key; copy it from the dashboard when needed.
  • Runtime requirements: Requires access to https://api.scorezilla.dev network path.
  • Release process: Releases are CI-driven and require approval in the npm-publish GitHub Environment. Before release, type checking, tests, builds, a bin smoke test (node dist/index.js --version), and release:check (validating that package.json and server.json versions match) are run. During release, an npm package with --provenance, a git tag, and a GitHub release are generated, followed by a smoke test installing the published package, and after it passes, publication to the MCP Registry via mcp-publisher. Manual release from a developer terminal (bash scripts/publish.sh) is still available, but it skips provenance and the approval step, and is recommended only for one-off recovery.
  • Feedback channel: GitHub Issues.