MCP Playbook Server MCP Server

A Model Context Protocol (MCP) server for managing project documentation and saving conversation logs within a user-specified target project

Local serverstdioTypeScript

What is the MCP Playbook Server MCP server?

A Model Context Protocol (MCP) server for managing project documentation and saving conversation logs within a user-specified target project directory. Exposed over MCP by the mcp playbook server mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.

What it actually does

This mcp-playbook server is a self-contained Node.js/TypeScript application that provides a set of tools accessible via the Model Context Protocol (MCP). Its primary functions are to help LLMs structure documentation within a designated project directory and to save/upload conversation histories. Unlike tools that might rely on external commander or github environments, this server implements file system operations and GitHub API interactions directly using Node.js's built-in modules (fs, path, https) and libraries like node-fetch.

Adding it to your client

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

Its toolset

Everything the assistant can do here goes through one of these:

  • init_playbook — Provides an instruction to the LLM about the purpose of the mcp-playbook server, which is to facilitate local project documentation and enable
  • create_spec — Creates or overwrites a new specification file (e.g., PRD, RFC, architectural planning) in the docs/specs/ directory of the target project
  • create_adr — Creates or overwrites a new Architectural Decision Record (ADR) file in the docs/adr/ directory of the target project. ADR files will be named
  • create_changelog — Creates a new, detailed, and user-facing changelog entry file in the docs/changelog/ directory of the target project. Each changelog entry will be a
  • distill_project_runbook — Creates or updates the central docs/runbook.md file within the target project. The LLM is responsible for analyzing existing project documents (ADRs
  • save_and_upload_chat_log — Captures the current conversation history, saves it as a markdown file in the .chat/ directory of the target project, and uploads it to the
  • search_runbook — Fuzzy search for keywords in the dwarvesf/runbook GitHub repository. If keyword has spaces, searches exact phrase OR individual words. Returns top 5
  • search_prompts — Fuzzy search for keywords in the dwarvesf/prompt-db GitHub repository (excluding the .synced_prompts/ folder)
  • suggest_runbook — Creates or updates a Pull Request in the dwarvesf/runbook repository with a new runbook entry
  • sync_prompt — Syncs an LLM prompt to the dwarvesf/prompt-db GitHub repository
  • think — Use the tool to think about something. It will not obtain new information or make any changes to the repository, but just log the thought. Use it

Configuration

You will need one environment variable: GITHUB_PERSONAL_ACCESS_TOKEN. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 11 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch MCP Playbook Server.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the mcp playbook server mcp server does with a few real requests.

When to reach for it

Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. MCP Playbook Server's toolset — init_playbook, create_spec, create_adr and 8 more — is a fair guide to whether it matches your workflow. It is maintained by dwarvesf; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Available tools

ToolWhat it does
init_playbookProvides an instruction to the LLM about the purpose of the mcp-playbook server, which is to facilitate local project documentation and enable partial replication of documentation and chat logs for an AI-powered playbook
create_specCreates or overwrites a new specification file (e.g., PRD, RFC, architectural planning) in the docs/specs/ directory of the target project. Specification files will be named following a spec-name.md convention with seque
create_adrCreates or overwrites a new Architectural Decision Record (ADR) file in the docs/adr/ directory of the target project. ADR files will be named following an adr-name.md convention with sequence numbering.
create_changelogCreates a new, detailed, and user-facing changelog entry file in the docs/changelog/ directory of the target project. Each changelog entry will be a separate file named following a changelog-entry.md convention with sequ
distill_project_runbookCreates or updates the central docs/runbook.md file within the target project. The LLM is responsible for analyzing existing project documents (ADRs, specs, etc.) and the current docs/runbook.md (if it exists), then synt
save_and_upload_chat_logCaptures the current conversation history, saves it as a markdown file in the .chat/ directory of the target project, and uploads it to the dwarvesf/prompt-log GitHub repository. Requires a user ID for organization.
search_runbookFuzzy search for keywords in the dwarvesf/runbook GitHub repository. If keyword has spaces, searches exact phrase OR individual words. Returns top 5 matches with full content & total count.
search_promptsFuzzy search for keywords in the dwarvesf/prompt-db GitHub repository (excluding the .synced_prompts/ folder).
suggest_runbookCreates or updates a Pull Request in the dwarvesf/runbook repository with a new runbook entry.
sync_promptSyncs an LLM prompt to the dwarvesf/prompt-db GitHub repository.
thinkUse the tool to think about something. It will not obtain new information or make any changes to the repository, but just log the thought. Use it when complex reasoning or brainstorming is needed.

How to install the MCP Playbook Server MCP server

{
  "mcpServers": {
    "mcp-playbook": {
      "command": "npx",
      "args": ["-y", "@dwarvesf/mcp-playbook@latest"],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "your_github_token_here"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
GITHUB_PERSONAL_ACCESS_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • Use MCP Playbook Server to init playbook.
  • Use MCP Playbook Server to create spec.
  • Use MCP Playbook Server to create adr.

Frequently asked questions

It connects MCP Playbook Server to MCP-compatible AI assistants such as Claude and Cursor, exposing 11 tools (init_playbook, create_spec, create_adr, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with MCP Playbook Server directly.