playbook
Playbook
手順は JSON として記述します。意図から検索し、タイトルをたどり、do を1つずつ読み込みます。
Playbook は、小さな CLI であり、かつ小さな MCP サーバーです。エージェント(またはあなた)が、プレイブック全体をコンテキストに含めずに、ハウツーを作成・検索・実行できます。CLI の操作は分割されたままです。MCP は関連する操作をより少ないツールにまとめます。すべてが JSON です。
Python 3.10+、実行時は 標準ライブラリのみ を使用します。
インストール
pip install -e .
playbook searchPyPI にはまだ公開されていません。
Related MCP server: servicenow-platform-mcp
ファイルの保存場所
手順ごとに1つの JSON ファイルが、プラットフォームのデータディレクトリに置かれます。
OS | ディレクトリ |
Linux |
|
macOS |
|
Windows |
|
XDG_DATA_HOME / APPDATA / LOCALAPPDATA を尊重します。コマンドはパスではなく、手順の id を受け取ります。
構成
{
"id": "follow-playbook",
"title": "Follow a playbook procedure",
"description": "When to pick this file. Can be verbose.",
"tags": ["playbook", "follow"],
"steps": [
{
"id": "a1b2c3…",
"title": "Search by intent",
"do": "Call playbook_search with a sentence for the job."
}
]
}title — 検索カードに表示される短い名前
description — この手順を選ぶべきタイミング
steps — 順序付き。タイトルは一意。ステップ id はランダム。
doが作業本体です。
CLI
playbook create demo --title "Demo" --description "when to pick this" --tags demo
playbook add-step demo --title "First" --do "Do the first thing."
playbook add-step demo --title "Middle" --do "Do the middle." --after "First"
playbook edit demo --title "Better title"
playbook search "I want to follow a procedure"
playbook load demo
playbook load demo --full
playbook start demo --title "First"
playbook validate demo
playbook mcpすべてのコマンドは JSON を出力します(エラーを含む)。
search はヒント意図に基づく BM25 と文字 n-gram を組み合わせた検索です。ヒットするのは id・title・description のみです(デフォルト 8 件、上限 50 件)。弱い一致は除外されます。
load はタイトルのみ返します。--full はすべての do を含みます。start は1つの do と before / after のタイトルを返します。
MCP (Grok)
grok mcp add --scope user playbook -- playbook mcp起動されたプロセスにシェルの PATH が引き継がれない場合は、playbook への絶対パスを使用してください。その後 /mcps と r を実行するか、新しいセッションを開いてください。
ツール | 役割 |
| 意図に基づく検索 |
| タイトルの読み込み、 |
| 新しい手順の作成 |
| タイトル / 説明 / タグ |
|
|
| 検証 |
テスト
pip install -e .
python -m pytest tests/ -qライセンス
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseAqualityNot gradedmaintenanceEnables AI agents to execute server-side JavaScript and perform CRUD operations directly on ServiceNow instances with context bloat reduction features for efficient token usage.31
- AlicenseAqualityAmaintenanceEnables AI agents to interact with ServiceNow through MCP, providing schema inspection, record CRUD, attachments, audit, Flow Designer, and platform investigations with policy-guarded access.142MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to create, share, discover, and execute reusable multi-step workflow templates.MIT
- AlicenseAqualityAmaintenanceEnables AI agents to execute multi-step Standard Operating Procedures step by step, with enforcement of completion at each step, making LLM behavior predictable and auditable.53Apache 2.0
Related MCP Connectors
Build and run visual creative-production workflows from your AI agent.
Debug, build, and manage Power Automate cloud flows with AI agents
JSON/YAML, regex, diff, JWT, SQL dialects — the keyless millisecond ops an agent needs mid-task.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/benteigland11/Playbook'
If you have feedback or need assistance with the MCP directory API, please join our Discord server