@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/mcpQuick 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 vscodeConfiguration
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_accountplaybooks_account_bookmarksplaybooks_account_collectionsplaybooks_account_draftsplaybooks_account_ledgersplaybooks_account_playsplaybooks_account_teamsplaybooks_addplaybooks_banksplaybooks_cardsplaybooks_chargesplaybooks_cloneplaybooks_collectionplaybooks_collection_playsplaybooks_collectionsplaybooks_configplaybooks_downloadplaybooks_downloadsplaybooks_frameworkplaybooks_framework_playsplaybooks_frameworksplaybooks_helpplaybooks_initplaybooks_languageplaybooks_language_playsplaybooks_languagesplaybooks_loginplaybooks_logoutplaybooks_oauthplaybooks_payoutsplaybooks_pingplaybooks_playplaybooks_play_demoplaybooks_play_deployplaybooks_playsplaybooks_platformplaybooks_platform_playsplaybooks_platformsplaybooks_publishplaybooks_sessionplaybooks_statusplaybooks_subscriptionplaybooks_submitplaybooks_syncplaybooks_tagplaybooks_tag_playsplaybooks_tagsplaybooks_teamplaybooks_team_playsplaybooks_teamsplaybooks_toolplaybooks_tool_playsplaybooks_toolsplaybooks_toggleplaybooks_transfersplaybooks_usageplaybooks_userplaybooks_user_playsplaybooks_users
Development
For local MCP development, run the server as playbooks-dev.
- Fork or clone
@playbooks/clinext to this repo. - In
playbooks-cli, runnpm installandnpm startto keep the local CLI build publishing throughyalc. - In this repo, run
npm install, thennpm run yalc, thennpm start. - Connect your MCP client to the local server using the
playbooks-devname.
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.cjsCursor
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.
