npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

planning-game-mcp

v1.16.0

Published

Planning Game MCP Server - Standalone distribution. Agile project management (XP) via Model Context Protocol.

Readme

Planning Game MCP Server

MCP (Model Context Protocol) server for Planning Game XP — an agile project management system following eXtreme Programming practices.

Integrates with Claude Code, Cline, and any MCP-compatible AI client to manage sprints, tasks, bugs, epics, proposals, ADRs, and development plans via natural language.

Requirements

  • Node.js >= 20.0.0
  • A Firebase project with Planning Game data structure
  • A Service Account Key (serviceAccountKey.json) for that Firebase project

Quick Start

1. Install the MCP server

Option A: npm (recommended)

npm install -g planning-game-mcp

Option B: npx (no install)

# Use directly with npx — see step 3 below

Option C: From source

git clone https://github.com/manufosela/planning-game-xp.git
cd planning-game-xp/mcp
npm install

2. Set up credentials

You need a serviceAccountKey.json from your Firebase project:

  1. Go to Firebase Console > Project Settings > Service Accounts
  2. Click "Generate new private key"
  3. Save the file somewhere safe (never commit it to git)

3. Register in Claude Code

If installed via npm (Option A):

claude mcp add planning-game \
  -e GOOGLE_APPLICATION_CREDENTIALS=/absolute/path/to/serviceAccountKey.json \
  -e FIREBASE_DATABASE_URL=https://your-project-default-rtdb.region.firebasedatabase.app \
  -- planning-game-mcp

If using npx (Option B):

claude mcp add planning-game \
  -e GOOGLE_APPLICATION_CREDENTIALS=/absolute/path/to/serviceAccountKey.json \
  -e FIREBASE_DATABASE_URL=https://your-project-default-rtdb.region.firebasedatabase.app \
  -- npx planning-game-mcp

If using from source (Option C):

claude mcp add planning-game \
  -e GOOGLE_APPLICATION_CREDENTIALS=/absolute/path/to/serviceAccountKey.json \
  -e FIREBASE_DATABASE_URL=https://your-project-default-rtdb.region.firebasedatabase.app \
  -- node /absolute/path/to/mcp/index.js

4. First run — set up your identity

Once Claude Code starts with the MCP connected, run:

> Use setup_mcp_user to configure my identity

This creates a .mcp-user.json file with your developer ID, used to track who creates/updates cards.

Environment Variables

| Variable | Required | Description | |----------|----------|-------------| | GOOGLE_APPLICATION_CREDENTIALS | Yes* | Absolute path to serviceAccountKey.json | | FIREBASE_DATABASE_URL | No | RTDB URL (auto-derived from service account if not set) | | MCP_INSTANCE_DIR | No | Directory for instance-specific config (enables multi-instance) |

* Either this env var or a serviceAccountKey.json file in the MCP directory.

Available Tools (36)

Project Management

| Tool | Description | |------|-------------| | list_projects | List all projects | | get_project | Get project details (team, repos, guidelines) | | update_project | Update project settings | | create_project | Create a new project |

Cards (Tasks, Bugs, Epics, Proposals, QA)

| Tool | Description | |------|-------------| | list_cards | List cards with filters (type, status, sprint, developer, year) | | get_card | Get full card details + available transitions | | create_card | Create a new card with auto-generated ID | | update_card | Update card fields (status, developer, points, etc.) | | relate_cards | Create relations between cards (related, blocks/blockedBy) | | get_transition_rules | Get valid status transitions for a card type |

Sprints

| Tool | Description | |------|-------------| | list_sprints | List sprints by year | | get_sprint | Get sprint details | | create_sprint | Create a new sprint | | update_sprint | Update sprint fields |

Team

| Tool | Description | |------|-------------| | list_developers | List project developers | | list_stakeholders | List project stakeholders/validators |

Architecture Decision Records (ADRs)

| Tool | Description | |------|-------------| | list_adrs / get_adr / create_adr / update_adr / delete_adr | Full CRUD |

Development Plans

| Tool | Description | |------|-------------| | list_plans / get_plan / create_plan / update_plan / delete_plan | Development plans | | list_plan_proposals / get_plan_proposal / create_plan_proposal / update_plan_proposal / delete_plan_proposal | Plan proposals |

Global Configuration

| Tool | Description | |------|-------------| | list_global_config / get_global_config / create_global_config / update_global_config / delete_global_config | Shared instructions, prompts, agent configs |

Diagnostics

| Tool | Description | |------|-------------| | pg_doctor | Run comprehensive diagnostics (credentials, connectivity, dependencies, config) | | pg_config | View MCP configuration (instance, Firebase project, env vars, user) |

System

| Tool | Description | |------|-------------| | setup_mcp_user | Configure your developer identity | | get_mcp_status | Server status, version, Firebase project | | update_mcp | Pull latest changes from git |

Multi-Instance Setup

To connect to multiple Firebase projects simultaneously, register each as a separate MCP server:

# Instance 1
claude mcp add planning-game-teamA \
  -e GOOGLE_APPLICATION_CREDENTIALS=/path/to/teamA/serviceAccountKey.json \
  -e FIREBASE_DATABASE_URL=https://team-a-default-rtdb.firebasedatabase.app \
  -e MCP_INSTANCE_DIR=/path/to/teamA/config \
  -- node /path/to/index.js

# Instance 2
claude mcp add planning-game-teamB \
  -e GOOGLE_APPLICATION_CREDENTIALS=/path/to/teamB/serviceAccountKey.json \
  -e FIREBASE_DATABASE_URL=https://team-b-default-rtdb.firebasedatabase.app \
  -e MCP_INSTANCE_DIR=/path/to/teamB/config \
  -- node /path/to/index.js

Each instance maintains its own .mcp-user.json in its MCP_INSTANCE_DIR.

Docker

docker build -t planning-game-mcp .
docker run -it \
  -e GOOGLE_APPLICATION_CREDENTIALS=/app/serviceAccountKey.json \
  -e FIREBASE_DATABASE_URL=https://your-project-default-rtdb.firebasedatabase.app \
  -v /path/to/serviceAccountKey.json:/app/serviceAccountKey.json:ro \
  planning-game-mcp

Publishing to npm

For maintainers — to build and publish a new version:

# 1. Bump version in mcp/package.json
# 2. Build standalone package
node scripts/build-mcp-standalone.js
# 3. Install dependencies and publish
cd dist-mcp && npm install && npm publish

The build script generates dist-mcp/ — a self-contained directory with all dependencies internalized, ready for npm publishing.

License

MIT