playbook
Playbook
Procedimientos como JSON. Búscalos por intención, recorre los títulos, carga un do cada vez.
Playbook es un pequeño servidor CLI y MCP para que un agente (o tú) pueda escribir, encontrar y seguir procedimientos sin volcar todo el playbook en el contexto. Los verbos de la CLI permanecen separados. MCP comprime los verbos relacionados en menos herramientas. Todo es JSON.
Python 3.10+, solo stdlib en tiempo de ejecución.
Instalación
pip install -e .
playbook searchAún no está publicado en PyPI.
Related MCP server: servicenow-platform-mcp
Dónde residen los archivos
Un archivo JSON por procedimiento, en el directorio de datos de la plataforma:
SO | Directorio |
Linux |
|
macOS |
|
Windows |
|
Respeta XDG_DATA_HOME / APPDATA / LOCALAPPDATA. Los comandos reciben un id de procedimiento, no una ruta.
Estructura
{
"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 — nombre corto en las tarjetas de búsqueda
description — cuándo elegir este procedimiento
steps — secuencial. Títulos únicos. IDs de paso aleatorios.
does el trabajo.
CLI
Cada comando imprime JSON (incluidos los errores).
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 mcpsearch es BM25 más n-gramas de caracteres. Los resultados son solo id, title, description (por defecto 8, tope 50). Las coincidencias débiles se descartan.
load es solo títulos. --full incluye todos los do. start es un do más los títulos before / after.
MCP (Grok)
grok mcp add --scope user playbook -- playbook mcpUsa una ruta absoluta a playbook si el proceso iniciado no va a tener tu PATH de shell. Luego /mcps y r, o una sesión nueva.
Herramienta | Rol |
| Búsqueda por intención |
| Cargar títulos, |
| Nuevo procedimiento |
| Título / descripción / etiquetas |
|
|
| Validar |
Pruebas
pip install -e .
python -m pytest tests/ -qLicencia
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