workflow_cache_management
Manage workflow session cache for persistence across MCP restarts.
Keep a coding agent on a defined path: it picks a YAML workflow that matches the task, then gets phase-by-phase instructions and has its state tracked between steps.
LABSCO SUMMARY
Because every phase and transition lives in YAML under .accordo/workflows/, a process that goes wrong is edited rather than re-prompted, and the same definition applies to every agent that connects. project_config.md is the part worth filling in early: it is where the workflow learns your test and lint commands, which is what turns generic phase guidance into steps that actually run in your repository.
A workflow engine for coding agents. Workflows are YAML files rather than code, so what the agent is told to do next comes from a schema you can read and edit — and when no existing workflow fits, the agent is walked through writing one.
uv on the machine; it starts as uvx accordo-workflow-mcp. The project gets an .accordo/ directory: workflows/ holds your YAML files, sessions/ holds workflow state, and project_config.md carries the project's own test, lint, build and deploy commands, which workflows read to know how to run things here. Read and write access is needed inside the project directory and nowhere else. A companion CLI, installed by the project's install.sh, configures MCP clients and deploys the workflow rules to them. MIT.
One command — uvx accordo-workflow-mcp
USE CASES
Describe the task; the server offers the workflows it found in the project and hands over the matching definition, then guides the agent phase by phase through it.
Read and update the run's state as it progresses, and keep the session cached so a server restart does not lose where the work had reached.
Get the structure, fields and worked guidance for authoring a new YAML workflow at the complexity the task needs, then run it like any other.
Search past workflow contexts by meaning and read the raw findings, rather than starting the analysis from nothing.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
workflow_cache_managementManage workflow session cache for persistence across MCP restarts.
workflow_creation_guidanceGuide agent through creating a custom YAML workflow for specific task requirements.
Use this tool when existing workflows don't match the task requirements and a custom workflow needs to be created. This tool provides comprehensive guidance on workflow structure, format, and best practices.
🎯 SESSION_ID INTEGRATION: When you start the custom workflow with: workflow_guidance(action="start", context="workflow: MyWorkflow\nyaml: <content>") The response will include a session_id for tracking. Use this session_id in subsequent calls:
workflow_discoveryDiscover available workflows and provide them to the agent for selection.
The MCP server now performs server-side workflow discovery and provides the actual workflow content to the agent for selection.
🎯 SESSION_ID WORKFLOW: When starting workflows, they auto-generate unique session_ids that are returned in all responses. Use these session_ids for multi-session support:
workflow_guidancePure schema-driven workflow guidance.
Provides guidance based entirely on workflow schema structure. No hardcoded behavior - everything driven by YAML definitions.
🚨 CRITICAL AGENT REQUIREMENTS:
CRITICAL DISCOVERY-FIRST LOGIC:
🎯 AGENT EXECUTION STANDARDS:
workflow_semantic_searchFind all relevant past workflow contexts and provide the raw context for agent analysis.
Returns all findings without context cutting or analysis type filtering.
workflow_stateGet or update workflow state.
BEFORE YOU INSTALL
6 tools when we connected. workflow_discovery and workflow_cache_management have no documented description or call syntax.
uvx on PATH
CONTEXT COST
Rated by the size of the 6 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
uvx accordo-workflow-mcp{
"mcpServers": {
"accordo": {
"command": "uvx",
"args": [
"accordo-workflow-mcp"
]
}
}
}accordo configure -p claude-code -y