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

@playbooks/mcp

v0.2.0

Published

MCP wrapper around the Playbooks CLI.

Downloads

34

Readme

Overview

The Playbooks MCP server gives developers MCP access to their Playbooks account. Using the server, agents can inspect configuration, view account details, browse plays, and run common Playbooks workflow actions from chat. After installation, add the server to your MCP client using the examples below.

Prerequisites

  • node
  • npm
  • @playbooks/cli

Installation

npx -y @playbooks/mcp

Quick Start

Use the @playbooks/cli helpers to update each client's global config file.

npm install -g @playbooks/cli
playbooks mcp claude
playbooks mcp cursor
playbooks mcp codex
playbooks mcp vscode

Configuration

The Playbooks MCP server uses the same Playbooks configuration file as the CLI. By default it reads ~/.playbooksrc. If you need a different file, most tools accept an optional configPath argument. Search-oriented list tools also accept a query argument where the underlying CLI supports it.

Table of Contents

Claude Code

Add the server to ~/.claude.json for global scope or .claude/settings.json for project scope:

{
  "servers": {
    "playbooks": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@playbooks/mcp"]
    }
  }
}

Cursor

Add the server to ~/.cursor/mcp.json for global scope or .cursor/mcp.json for project scope:

{
  "servers": {
    "playbooks": {
      "command": "npx",
      "args": ["-y", "@playbooks/mcp"]
    }
  }
}

OpenAI Codex

Add the server to ~/.codex/config.toml:

[mcp_servers.playbooks]
command = "npx"
args = ["-y", "@playbooks/mcp"]

VSCode

Add the server to ~/.vscode/mcp.json for global scope or .vscode/mcp.json for project scope:

{
  "servers": {
    "playbooks": {
      "command": "npx",
      "args": ["-y", "@playbooks/mcp"]
    }
  }
}

Tools

  • playbooks_account
  • playbooks_account_bookmarks
  • playbooks_account_collections
  • playbooks_account_drafts
  • playbooks_account_ledgers
  • playbooks_account_plays
  • playbooks_account_teams
  • playbooks_add
  • playbooks_banks
  • playbooks_cards
  • playbooks_charges
  • playbooks_clone
  • playbooks_collection
  • playbooks_collection_plays
  • playbooks_collections
  • playbooks_config
  • playbooks_download
  • playbooks_downloads
  • playbooks_framework
  • playbooks_framework_plays
  • playbooks_frameworks
  • playbooks_help
  • playbooks_init
  • playbooks_language
  • playbooks_language_plays
  • playbooks_languages
  • playbooks_login
  • playbooks_logout
  • playbooks_oauth
  • playbooks_payouts
  • playbooks_ping
  • playbooks_play
  • playbooks_play_demo
  • playbooks_play_deploy
  • playbooks_plays
  • playbooks_platform
  • playbooks_platform_plays
  • playbooks_platforms
  • playbooks_publish
  • playbooks_session
  • playbooks_status
  • playbooks_subscription
  • playbooks_submit
  • playbooks_sync
  • playbooks_tag
  • playbooks_tag_plays
  • playbooks_tags
  • playbooks_team
  • playbooks_team_plays
  • playbooks_teams
  • playbooks_tool
  • playbooks_tool_plays
  • playbooks_tools
  • playbooks_toggle
  • playbooks_transfers
  • playbooks_usage
  • playbooks_user
  • playbooks_user_plays
  • playbooks_users

Development

For local MCP development, run the server as playbooks-dev.

  1. Fork or clone @playbooks/cli next to this repo.
  2. In playbooks-cli, run npm install and npm start to keep the local CLI build publishing through yalc.
  3. In this repo, run npm install, then npm run yalc, then npm start.
  4. Connect your MCP client to the local server using the playbooks-dev name.

Claude Code

# Global
claude mcp add playbooks-dev --scope user -- node /path/to/mcp/dist/index.cjs
# Project
claude mcp add playbooks-dev -- node /path/to/mcp/dist/index.cjs

Cursor

Add this to ~/.cursor/mcp.json for global scope or .cursor/mcp.json for project scope:

{
  "servers": {
    "playbooks-dev": {
      "command": "node",
      "args": [
        "/path/to/mcp/dist/index.cjs"
      ]
    }
  }
}

OpenAI Codex

Add this to ~/.codex/config.toml:

[mcp_servers.playbooks-dev]
command = "node"
args = ["/path/to/mcp/dist/index.cjs"]

VSCode

Add this to ~/.vscode/mcp.json for global scope or .vscode/mcp.json for project scope:

{
  "servers": {
    "playbooks-dev": {
      "command": "node",
      "args": [
        "/path/to/mcp/dist/index.cjs"
      ]
    }
  }
}

Troubleshooting

  • If your MCP client does not show the latest tools, restart the MCP server connection and open a fresh chat session.
  • If the server starts but commands fail, verify your Playbooks configuration file path and contents.