workflow-mcp

v13.1.1
@pecot/workflow-mcp Checked 2 hours ago Published 20 hours ago

pecot-workflow MCP server (standalone distribution)

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

project_list List projects

List available projects

ParameterTypeDescription
directorystringTarget Git repository (absolute or relative path). Pass the path of its clone when the session directory is not in the target repository
repostringTarget repository, given explicitly as 'owner/repo'

project_check Check project board

Check the arguments for projects_write create_project (the title is free for the owner), or the changes for the project-fields operation of github-ops against the pecot field rules: after the changes, the board has pecot-status, the Needs Attention option of Status and the pecot-lane values. Reads and writes nothing on GitHub; pass the results of the official reads in reads.

ParameterTypeDescription
method *stringcreate before projects_write with method create_project; fields before the project-fields operation of github-ops, or to see what a board still lacks
owner *stringOwner of the board (a user or an organization)
changesarrayWith fields: the changes param of project-fields, applied in order to the fields read; omit it to check the board as it is
directorystringTarget Git repository (absolute or relative path). Pass the path of its clone when the session directory is not in the target repository
lanesarrayWith fields: values the pecot-lane field must have (the areas of work, in English); omit it when the board has no lanes
owner_typestringWith create: owner_type passed to create_project
projectintegerWith fields: number of the board (the project param of project-fields)
readsobjectResults of the official GitHub MCP reads the check needs
repostringTarget repository, given explicitly as 'owner/repo'
titlestringWith create: title passed to create_project

project_activate Activate project

Write the project config of an initialized board from the official GitHub MCP reads in reads, and make it the active project. The registered repositories are kept from the existing config

ParameterTypeDescription
project *stringBoard number or title, or config file path/file name
directorystringTarget Git repository (absolute or relative path). Pass the path of its clone when the session directory is not in the target repository
hoststringGitHub host (required unless project is a config file)
ownerstringOwner of the board (required unless project is a config file)
owner_typestringWhether the owner is a user or an organization, as passed to projects_get (required unless list_projects or the config gives it)
readsobjectResults of the official GitHub MCP reads of the board
repostringTarget repository, given explicitly as 'owner/repo'

project_get Get project config

Show the value of a key of the project config (aggregation_repo: the Epic aggregation repository), or without key, the overview of the active project and its registered repositories with their branches and release type

ParameterTypeDescription
directorystringTarget Git repository (absolute or relative path). Pass the path of its clone when the session directory is not in the target repository
keystringKey of the project config (aggregation_repo: the Epic aggregation repository)
repostringTarget repository, given explicitly as 'owner/repo'

project_set Set project config

Set a key of the project config (aggregation_repo: the Epic aggregation repository)

ParameterTypeDescription
key *stringKey of the project config (aggregation_repo: the Epic aggregation repository)
value *stringAggregation repository (owner/repo form)
directorystringTarget Git repository (absolute or relative path). Pass the path of its clone when the session directory is not in the target repository
repostringTarget repository, given explicitly as 'owner/repo'
yesbooleanOverwrite an existing value without confirmation (a warning goes to stderr)

project_unset Clear project config

Clear a key of the project config; without aggregation_repo, creating an Epic needs the target repository given explicitly

ParameterTypeDescription
key *stringKey of the project config (aggregation_repo: the Epic aggregation repository)
directorystringTarget Git repository (absolute or relative path). Pass the path of its clone when the session directory is not in the target repository
repostringTarget repository, given explicitly as 'owner/repo'

board_show Show board dashboard

Show the open items of the project board by column, the readiness of the Ready and Blocked Issues whose prerequisites were read, and the Issues per pecot-lane value. Reads and writes nothing on GitHub; pass the results of the official reads in reads.

ParameterTypeDescription
reads *objectResults of the official GitHub MCP reads
directorystringTarget Git repository (absolute or relative path). Pass the path of its clone when the session directory is not in the target repository
jsonbooleanOutput as JSON
repostringShow only the items of this repository (owner/repo)

board_check Check board move

Check the arguments for projects_write (method update_project_item) against the pecot rules before writing: the field and option are on the board, and Ready or Blocked matches the judgment of the prerequisites. Reads and writes nothing on GitHub; pass the results of the official reads in reads.

ParameterTypeDescription
issue_number *integerNumber of the Issue on the card
item_owner *stringOwner of the repository of the Issue
item_repo *stringName of the repository of the Issue
method *stringSame as the method of projects_write
owner *stringOwner of the project (same as projects_write)
project_number *integerNumber of the project (same as projects_write)
updated_field *objectSame as the updated_field of projects_write: give either id or name
directorystringTarget Git repository (absolute or relative path). Pass the path of its clone when the session directory is not in the target repository
projectstringName of the project config under .pecot/config/projects (without .json). Without it, the config that includes the target repository; when several do, the active one among them
readsobjectResults of the official GitHub MCP reads the check needs
repostringTarget repository, given explicitly as 'owner/repo'

issue_check Check Issue

Check the arguments for issue_write (and the board fields and blocked-by written after it) against the pecot rules before writing: the template of the body, the title prefix and order, the type, the Issue and board fields, the column to place the Issue in, and the prerequisites. A batch create gives the order numbers and how each Issue proceeds. Reads and writes nothing on GitHub; pass the results of the official reads in reads.

ParameterTypeDescription
issues *arrayArguments of each Issue: the keys of the template, the same values passed to the write tools
method *stringcreate before issue_write with method create (several Issues for a batch, in the order to write), update before issue_write with method update (one Issue)
directorystringTarget Git repository (absolute or relative path). Pass the path of its clone when the session directory is not in the target repository
projectstringName of the project config under .pecot/config/projects (without .json). Without it, the config that includes the target repository; when several do, the active one among them
readsobjectResults of the official GitHub MCP reads the check needs
repostringTarget repository, given explicitly as 'owner/repo'

issue_dependency_check Check Issue dependency

Check the arguments for issue_dependency_write against the pecot rules before writing: the direction, wait kind and reason, a self reference or cycle, whether the blocked-by is already there, and the column the waiting Issue should move to after the change. Reads and writes nothing on GitHub; pass the results of the official reads in reads.

ParameterTypeDescription
issue_number *integerNumber of the waiting Issue
method *stringSame as the method of issue_dependency_write
owner *stringOwner of the repository of the waiting Issue
related_issue_number *integerNumber of the prerequisite Issue
repo *stringName of the repository of the waiting Issue
type *stringSame as the type of issue_dependency_write; pecot writes only blocked_by
directorystringTarget Git repository (absolute or relative path). Pass the path of its clone when the session directory is not in the target repository
projectstringName of the project config under .pecot/config/projects (without .json). Without it, the config that includes the target repository; when several do, the active one among them
readsobjectResults of the official GitHub MCP reads the check needs
reasonstringWith add and wait merge only: why it waits for the merge, in one line
related_ownerstringOwner of the repository of the prerequisite Issue (defaults to owner)
related_repostringName of the repository of the prerequisite Issue (defaults to repo)
waitstringWith add only: stack (build on its branch; the default) or merge (wait until it is merged)

issue_comment_check Check issue comment

Check the arguments for add_issue_comment or update_issue_comment against the pecot rules before writing: the bundled comment template the body follows, and with update, that the comment belongs to the Issue. Reads and writes nothing on GitHub; pass the results of the official reads in reads.

ParameterTypeDescription
body *stringComment body, as passed to the write tool
issue_number *integerNumber of the Issue or PR the comment is on; with update, the Issue the comment must belong to
method *stringadd before add_issue_comment, update before update_issue_comment
owner *stringOwner of the repository of the Issue or PR the comment is on
repo *stringName of the repository of the Issue or PR the comment is on
comment_idintegerWith update only: id of the comment to rewrite (the id in the result of add_issue_comment)
directorystringTarget Git repository (absolute or relative path). Pass the path of its clone when the session directory is not in the target repository
readsobjectResults of the official GitHub MCP reads the check needs
templatestringTemplate the body follows: pecot-template://comment/<name> for a bundled one (its rules are checked); a replaced template's path or URL is accepted without checking the body
template_textstringText of a replaced template; the body is not checked against it

session_start Record Issue branch

Record the start of work on a branch created with the link-branch operation: the base (.pecot-base), the work directory and the session name. Also reports a merged PR of the current branch whose local cleanup is left

ParameterTypeDescription
base *stringBase branch the branch was created from (base in the link-branch result)
issue_ref *stringWork Issue (owner/repo/123)
sha *stringCommit the branch was created from (sha in the link-branch result)
title *stringTitle of the work Issue, for the session name
directorystringTarget Git repository (absolute or relative path). Pass the path of its clone when the session directory is not in the target repository
readsobjectResults of the official GitHub MCP reads
repostringTarget repository, given explicitly as 'owner/repo'
stacked_onstringPrerequisite Issue the branch stacks on (owner/repo/N, stacked_on in the branch_check result; omitted when not stacked)

session_show Show session

Show the branch, repository, work Issue, stack record, the base branch to compare against and the worktree of the session. Reads nothing on GitHub; read the Issue and the PRs stacked above with the official GitHub MCP

ParameterTypeDescription
directory *stringTarget Git repository (absolute or relative path)
projectstringName of the project config under .pecot/config/projects (without .json). Without it, the config that includes the target repository; when several do, the active one among them
repostringTarget repository, given explicitly as 'owner/repo'

session_finish Clean up after merge

Clean up the local side after a merged PR: check out the develop branch (or the worktree branch), pull it, delete the local head branch and remove the work records. Also returns the readiness changes of the Issues waiting for the closed Issues and the stacked Issues to restack. It closes no Issue and moves no card; pecot-board-sync does it on the merge. Reads nothing on GitHub; pass the results of the official reads in reads.

ParameterTypeDescription
pr_ref *stringPR reference (`owner/repo/N`, or the short form `N` in the repository of `repo`, or else of the git remote of the current directory)
reads *objectResults of the official GitHub MCP reads
directorystringTarget Git repository (absolute or relative path). Pass the path of its clone when the session directory is not in the target repository
projectstringName of the project config under .pecot/config/projects (without .json). Without it, the config that includes the target repository; when several do, the active one among them
repostringTarget repository, given explicitly as 'owner/repo'

pr_check Check pull request

Check the arguments for create_pull_request, update_pull_request or merge_pull_request against the pecot rules before writing: the bundled PR template the body follows, the Issue the body closes, the base branch of a stacked branch, the title scope, the head branch ends with the Issue number (create), unpushed or uncommitted work (create), and with merge, the state, head, stack position and merge method of the PR. Reads and writes nothing on GitHub; pass the results of the official reads in reads.

ParameterTypeDescription
method *stringcreate before create_pull_request, update before update_pull_request, merge before merge_pull_request
owner *stringOwner of the repository of the PR
repo *stringName of the repository of the PR
basestringWith create and update: base branch of the PR
bodystringWith create and update: body of the PR, as passed to the write tool
directorystringTarget Git repository (absolute or relative path). Pass the path of its clone when the session directory is not in the target repository
draftbooleanWith create: whether the PR is a draft
expectedHeadShastringWith merge: head commit of the PR the merge is for, as passed to merge_pull_request
headstringWith create: branch of the PR (owner:branch for a branch of a fork)
merge_methodstringWith merge: merge method, as passed to merge_pull_request
projectstringName of the project config under .pecot/config/projects (without .json). Without it, the config that includes the target repository; when several do, the active one among them
pullNumberintegerWith update and merge: number of the PR
readsobjectResults of the official GitHub MCP reads the check needs
screenshotstringWith the bundled create template: reason to leave the image out of Summary
templatestringTemplate the body follows: pecot-template://pr/<name> for a bundled one (its rules are checked); a replaced template's path or URL is accepted without checking the body
template_textstringText of a replaced template; the body is not checked against it
titlestringWith create and update: title of the PR, as passed to the write tool

pr_restack Restack branch

Restack the current branch onto the new position of its base branch. Reads nothing on GitHub; pass the results of the official reads in reads

ParameterTypeDescription
abortbooleanAbort a restack that stopped on conflicts and go back to the position before it
checkbooleanOnly report whether a restack is needed
continuebooleanContinue a restack that stopped on conflicts, after resolving them
directorystringTarget Git repository (absolute or relative path). Pass the path of its clone when the session directory is not in the target repository
projectstringName of the project config under .pecot/config/projects (without .json). Without it, the config that includes the target repository; when several do, the active one among them
readsobjectResults of the official GitHub MCP reads the restack needs
repostringTarget repository, given explicitly as 'owner/repo'

release_check Check release

Check the params for the release-create operation of github-ops before the release: no open code scanning or secret scanning alert (open Dependabot alerts only warn), the tag is new on the local repository, the remote and GitHub, the body is the release notes of the CHANGELOG section of the version, and sha is the head of the release branch with commits since the previous release tag. For an nx repository only the alerts are checked. Reads the local git and the git remote, not the GitHub API; pass the results of the official reads in reads.

ParameterTypeDescription
directorystringTarget Git repository (absolute or relative path). Pass the path of its clone when the session directory is not in the target repository
paramsobjectThe params of the release-create operation of github-ops: tag (v<version>, or <package>-v<version> in a monorepo), sha (the head of the release branch), body (the release notes of the CHANGELOG sectio…
projectstringName of the project config under .pecot/config/projects (without .json). Without it, the config that includes the target repository; when several do, the active one among them
readsobjectResults of the official GitHub MCP reads the check needs
repostringTarget repository, given explicitly as 'owner/repo'

worktree_add Add worktree

Create a new worktree

ParameterTypeDescription
directory *stringTarget Git repository (absolute or relative path)
allow_existing_branchbooleanAllow reusing an existing branch even if its upstream differs from develop_branch
basestringBase branch (default: the develop_branch of the repository in its project config)
no_copybooleanSkip copying untracked files
no_linkbooleanSkip creating symlinks
pathstringWhere to create the worktree (default: <project_root>/<auto-numbered>/<repository name>)
projectstringName of the project config under .pecot/config/projects (without .json). Without it, the config that includes the target repository; when several do, the active one among them
repostringTarget repository, given explicitly as 'owner/repo'
setupstringCommand to run after creation

worktree_remove Remove worktree

Remove a worktree

ParameterTypeDescription
directory *stringTarget Git repository (absolute or relative path)
name *stringName of the worktree to remove (the recorded wtN, the wtN directory, or the branch name)
forcebooleanForce removal even if there are changes
keep_branchbooleanKeep the branch
repostringTarget repository, given explicitly as 'owner/repo'

worktree_init Initialize worktree config

Create the worktree config files in the main worktree

ParameterTypeDescription
directory *stringTarget Git repository (absolute or relative path)
repostringTarget repository, given explicitly as 'owner/repo'

branch_check Check Issue branch

Check the params for the link-branch operation of pecot-github-ops against the pecot rules before creating the branch: the Issue is open and its prerequisites allow starting, the base is the stack branch or the develop branch, the branch name ends with the Issue number, and the directory (the session directory when omitted) is in the repository of the Issue. Reads and writes nothing on GitHub; pass the results of the official reads in reads.

ParameterTypeDescription
branch *stringSame as params.branch of link-branch: the full branch name, ending with /<Issue number>
issue *integerSame as params.issue of link-branch: number of the work Issue
owner *stringOwner of the repository of the Issue, where the link-branch operation runs
repo *stringName of the repository of the Issue
basestringSame as params.base of link-branch: the branch to start from
directorystringTarget Git repository (absolute or relative path). Pass the path of its clone when the session directory is not in the target repository
projectstringName of the project config under .pecot/config/projects (without .json). Without it, the config that includes the target repository; when several do, the active one among them
readsobjectResults of the official GitHub MCP reads the check needs

workflow_install Install workflow template

Write a GitHub Actions workflow template of pecot into the repository

ParameterTypeDescription
name *stringName of the workflow template (board-sync, review, handoff, auto, github-ops)
checkbooleanWrite nothing; check that the file in the repository has the version of the bundled template
directorystringRoot of the target Git repository (absolute or relative path; default: the current directory)
forcebooleanOverwrite the file when it already exists
readsobjectResults of the official GitHub MCP reads
repostringTarget repository, given explicitly as 'owner/repo'

workflow_doctor Check workflow setup

Check that the repository has the workflow file and the settings it needs. The secrets and variables come from the workflow-doctor operation of github-ops in reads.settings; without it they are skipped. For auto, it also checks the trigger label, the project config, the board workflows and the CI workflow names

ParameterTypeDescription
name *stringName of the workflow template (board-sync, review, handoff, auto, github-ops)
directorystringRoot of the target Git repository (absolute or relative path; default: the current directory)
projectstringauto only: name of a project config under .pecot/config/projects of the repository (default: auto_project of reads.settings, then the config that has the repository)
readsobjectResults of the reads the check needs
repostringTarget repository, given explicitly as 'owner/repo'