Workflow MCP
Reference

Tools Reference

Complete reference for all Workflow MCP tools

Tools Reference

Workflow MCP exposes five tools through the Model Context Protocol.

start_session

Start a new workflow session or resume an existing one.

Parameters

ParameterTypeRequiredDescription
commandstringYesWorkflow command: /research, /plan, /implement, /review, /debug, /refactor, /archive
topicstringYesTopic/project name for the session
contextstringNoExtra context (focus areas, constraints)
dpsnumberNoDynamic Problem Solving level (0-5). Defaults to command's default.
modestringNo"auto" (default), "resume", or "new"

Example

mcp__workflow__start_session({
  command: "/research",
  topic: "AUTH-SYSTEM",
  context: "Focus on OAuth 2.0 implementation patterns",
  dps: 3
})

Response

Started: /research AUTH-SYSTEM
  Log: ./projects/research/RESEARCH_AUTH-SYSTEM_2026-01-12.md
  DPS: 3 (Moderate - can propose alternatives)
Tip

If an incomplete session exists for the topic, you'll be prompted to resume or start new.


log_entry

Log a structured entry to the current session with automatic Entry-ID generation.

Parameters

ParameterTypeRequiredDescription
tagstringYesEntry type (see Entry Types below)
fieldsobjectYesEntry-specific fields

Entry Types

mcp__workflow__log_entry({
  tag: "finding",
  fields: {
    title: "Authentication Flow Analysis",
    type: "Technical",
    content: "The auth system uses JWT with refresh tokens...",
    evidence: "src/auth/jwt.ts:15-42"
  }
})
mcp__workflow__log_entry({
  tag: "decision",
  fields: {
    context: "Need to choose auth token storage",
    decision: "Use HttpOnly cookies over localStorage",
    rationale: "Better XSS protection, automatic CSRF handling",
    alternatives: "- localStorage: simpler but vulnerable\n- sessionStorage: doesn't persist",
    impact: "Requires cookie parser middleware"
  }
})
mcp__workflow__log_entry({
  tag: "task-complete",
  fields: {
    task: "2.1",
    status: "completed",
    changes: "- src/auth/middleware.ts:12-45\n- src/routes/login.ts:8-30",
    tests: "- test/auth.test.ts (3 new tests)",
    verification: "All auth tests passing",
    issues: "None",
    deviations: "Added rate limiting (not in original plan)"
  }
})
mcp__workflow__log_entry({
  tag: "blocker",
  fields: {
    type: "technical",
    title: "Database schema conflict",
    impact: "Cannot add user_sessions table without migration",
    dpsOptions: "- Run migration manually\n- Add fallback for existing users",
    researchTopics: "- Database migration patterns\n- Zero-downtime schema changes"
  }
})

All Entry Types

TagUse CaseKey Fields
findingResearch discoveriestitle, type, content, evidence
requirementUser requirementsverbatim, type, negotiable
decisionPlanning decisionscontext, decision, rationale, impact
task-completeCompleted taskstask, changes, tests, verification
user-feedbackUser input during workverbatim, taskContext, action
issueProblems encounteredtask, problem, impact, options
blockerBlocking issuestype, title, impact, dpsOptions
gapReview findingsref, type, finding, recommendation
fixApplied fixesaddresses, approach, changes
faultDebug fault reportsverbatim, symptom, context
investigationDebug investigationshypothesis, method, findings

get_status

Get the current session status.

Parameters

None.

Response

Active: /implement AUTH-SYSTEM
  Status: In Progress
  Entries: 12
  Log: ./projects/implementations/IMPL_AUTH-SYSTEM_2026-01-12.md

end_session

End the current session and generate a handoff message.

Parameters

ParameterTypeRequiredDescription
statusstringNo"Completed" (default) or "Paused"
tasksCompletednumberNoNumber of completed tasks
tasksTotalnumberNoTotal number of tasks
tasksBlockednumberNoNumber of blocked tasks
filesChangedstring[]NoList of changed files
testsCreatednumberNoNumber of tests created
testPassRatestringNoTest pass rate (e.g., "15/15")
keyFindingsstring[]NoKey findings to highlight (for research)
keyImplementationsstring[]NoKey implementations (for implement)
gapsFoundnumberNoNumber of gaps found (for review)
criticalGapsnumberNoNumber of critical gaps (for review)
summaryobjectNoAdditional summary data to include

Example

mcp__workflow__end_session({
  status: "Completed",
  tasksCompleted: 5,
  tasksTotal: 5,
  filesChanged: ["src/auth/index.ts", "src/routes/login.ts"],
  testsCreated: 8,
  testPassRate: "8/8",
  keyImplementations: ["JWT middleware", "Login route", "Refresh token flow"]
})

generate_handoff

Generate a handoff message without ending the session.

Note

Prefer using end_session with handoff options - it generates handoff automatically.

Parameters

Same as the handoff-related parameters of end_session.

On this page