workflow-mcp
v13.1.1pecot-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
| Parameter | Type | Description |
|---|---|---|
directory | string | Target Git repository (absolute or relative path). Pass the path of its clone when the session directory is not in the target repository |
repo | string | Target 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.
| Parameter | Type | Description |
|---|---|---|
method * | string | create 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 * | string | Owner of the board (a user or an organization) |
changes | array | With fields: the changes param of project-fields, applied in order to the fields read; omit it to check the board as it is |
directory | string | Target Git repository (absolute or relative path). Pass the path of its clone when the session directory is not in the target repository |
lanes | array | With fields: values the pecot-lane field must have (the areas of work, in English); omit it when the board has no lanes |
owner_type | string | With create: owner_type passed to create_project |
project | integer | With fields: number of the board (the project param of project-fields) |
reads | object | Results of the official GitHub MCP reads the check needs |
repo | string | Target repository, given explicitly as 'owner/repo' |
title | string | With 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
| Parameter | Type | Description |
|---|---|---|
project * | string | Board number or title, or config file path/file name |
directory | string | Target Git repository (absolute or relative path). Pass the path of its clone when the session directory is not in the target repository |
host | string | GitHub host (required unless project is a config file) |
owner | string | Owner of the board (required unless project is a config file) |
owner_type | string | Whether the owner is a user or an organization, as passed to projects_get (required unless list_projects or the config gives it) |
reads | object | Results of the official GitHub MCP reads of the board |
repo | string | Target repository, given explicitly as 'owner/repo' |
project_link Link repository to project
Add or update a repository in the project config. It does not link the repository to the board on GitHub; do that with the project-link operation of github-ops
| Parameter | Type | Description |
|---|---|---|
repo * | string | Repository name in owner/repo form |
changelog_file | string | CHANGELOG file name |
clear_packages | boolean | Clear the existing packages setting. After clearing, the CHANGELOG falls back to `changelog_file` or the default CHANGELOG.md |
develop_branch | string | Development branch name |
directory | string | Target Git repository (absolute or relative path). Pass the path of its clone when the session directory is not in the target repository |
package | array | Monorepo package to register, as NAME:PATH. Example: pecot:plugins/pecot-workflow/CHANGELOG.md |
release_branch | string | Release branch name |
release_type | string | Declare the release method explicitly; the w-release skill picks its procedure from it. single (1 CHANGELOG) / multi (packages) / nx (Nx Release). When omitted, it is inferred from the packages (with… |
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
| Parameter | Type | Description |
|---|---|---|
directory | string | Target Git repository (absolute or relative path). Pass the path of its clone when the session directory is not in the target repository |
key | string | Key of the project config (aggregation_repo: the Epic aggregation repository) |
repo | string | Target repository, given explicitly as 'owner/repo' |
project_set Set project config
Set a key of the project config (aggregation_repo: the Epic aggregation repository)
| Parameter | Type | Description |
|---|---|---|
key * | string | Key of the project config (aggregation_repo: the Epic aggregation repository) |
value * | string | Aggregation repository (owner/repo form) |
directory | string | Target Git repository (absolute or relative path). Pass the path of its clone when the session directory is not in the target repository |
repo | string | Target repository, given explicitly as 'owner/repo' |
yes | boolean | Overwrite 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
| Parameter | Type | Description |
|---|---|---|
key * | string | Key of the project config (aggregation_repo: the Epic aggregation repository) |
directory | string | Target Git repository (absolute or relative path). Pass the path of its clone when the session directory is not in the target repository |
repo | string | Target 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.
| Parameter | Type | Description |
|---|---|---|
reads * | object | Results of the official GitHub MCP reads |
directory | string | Target Git repository (absolute or relative path). Pass the path of its clone when the session directory is not in the target repository |
json | boolean | Output as JSON |
repo | string | Show 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.
| Parameter | Type | Description |
|---|---|---|
issue_number * | integer | Number of the Issue on the card |
item_owner * | string | Owner of the repository of the Issue |
item_repo * | string | Name of the repository of the Issue |
method * | string | Same as the method of projects_write |
owner * | string | Owner of the project (same as projects_write) |
project_number * | integer | Number of the project (same as projects_write) |
updated_field * | object | Same as the updated_field of projects_write: give either id or name |
directory | string | Target Git repository (absolute or relative path). Pass the path of its clone when the session directory is not in the target repository |
project | string | Name 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 |
reads | object | Results of the official GitHub MCP reads the check needs |
repo | string | Target 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.
| Parameter | Type | Description |
|---|---|---|
issues * | array | Arguments of each Issue: the keys of the template, the same values passed to the write tools |
method * | string | create 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) |
directory | string | Target Git repository (absolute or relative path). Pass the path of its clone when the session directory is not in the target repository |
project | string | Name 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 |
reads | object | Results of the official GitHub MCP reads the check needs |
repo | string | Target 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.
| Parameter | Type | Description |
|---|---|---|
issue_number * | integer | Number of the waiting Issue |
method * | string | Same as the method of issue_dependency_write |
owner * | string | Owner of the repository of the waiting Issue |
related_issue_number * | integer | Number of the prerequisite Issue |
repo * | string | Name of the repository of the waiting Issue |
type * | string | Same as the type of issue_dependency_write; pecot writes only blocked_by |
directory | string | Target Git repository (absolute or relative path). Pass the path of its clone when the session directory is not in the target repository |
project | string | Name 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 |
reads | object | Results of the official GitHub MCP reads the check needs |
reason | string | With add and wait merge only: why it waits for the merge, in one line |
related_owner | string | Owner of the repository of the prerequisite Issue (defaults to owner) |
related_repo | string | Name of the repository of the prerequisite Issue (defaults to repo) |
wait | string | With 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.
| Parameter | Type | Description |
|---|---|---|
body * | string | Comment body, as passed to the write tool |
issue_number * | integer | Number of the Issue or PR the comment is on; with update, the Issue the comment must belong to |
method * | string | add before add_issue_comment, update before update_issue_comment |
owner * | string | Owner of the repository of the Issue or PR the comment is on |
repo * | string | Name of the repository of the Issue or PR the comment is on |
comment_id | integer | With update only: id of the comment to rewrite (the id in the result of add_issue_comment) |
directory | string | Target Git repository (absolute or relative path). Pass the path of its clone when the session directory is not in the target repository |
reads | object | Results of the official GitHub MCP reads the check needs |
template | string | Template 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_text | string | Text 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
| Parameter | Type | Description |
|---|---|---|
base * | string | Base branch the branch was created from (base in the link-branch result) |
issue_ref * | string | Work Issue (owner/repo/123) |
sha * | string | Commit the branch was created from (sha in the link-branch result) |
title * | string | Title of the work Issue, for the session name |
directory | string | Target Git repository (absolute or relative path). Pass the path of its clone when the session directory is not in the target repository |
reads | object | Results of the official GitHub MCP reads |
repo | string | Target repository, given explicitly as 'owner/repo' |
stacked_on | string | Prerequisite 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
| Parameter | Type | Description |
|---|---|---|
directory * | string | Target Git repository (absolute or relative path) |
project | string | Name 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 |
repo | string | Target 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.
| Parameter | Type | Description |
|---|---|---|
pr_ref * | string | PR 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 * | object | Results of the official GitHub MCP reads |
directory | string | Target Git repository (absolute or relative path). Pass the path of its clone when the session directory is not in the target repository |
project | string | Name 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 |
repo | string | Target 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.
| Parameter | Type | Description |
|---|---|---|
method * | string | create before create_pull_request, update before update_pull_request, merge before merge_pull_request |
owner * | string | Owner of the repository of the PR |
repo * | string | Name of the repository of the PR |
base | string | With create and update: base branch of the PR |
body | string | With create and update: body of the PR, as passed to the write tool |
directory | string | Target Git repository (absolute or relative path). Pass the path of its clone when the session directory is not in the target repository |
draft | boolean | With create: whether the PR is a draft |
expectedHeadSha | string | With merge: head commit of the PR the merge is for, as passed to merge_pull_request |
head | string | With create: branch of the PR (owner:branch for a branch of a fork) |
merge_method | string | With merge: merge method, as passed to merge_pull_request |
project | string | Name 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 |
pullNumber | integer | With update and merge: number of the PR |
reads | object | Results of the official GitHub MCP reads the check needs |
screenshot | string | With the bundled create template: reason to leave the image out of Summary |
template | string | Template 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_text | string | Text of a replaced template; the body is not checked against it |
title | string | With 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
| Parameter | Type | Description |
|---|---|---|
abort | boolean | Abort a restack that stopped on conflicts and go back to the position before it |
check | boolean | Only report whether a restack is needed |
continue | boolean | Continue a restack that stopped on conflicts, after resolving them |
directory | string | Target Git repository (absolute or relative path). Pass the path of its clone when the session directory is not in the target repository |
project | string | Name 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 |
reads | object | Results of the official GitHub MCP reads the restack needs |
repo | string | Target 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.
| Parameter | Type | Description |
|---|---|---|
directory | string | Target Git repository (absolute or relative path). Pass the path of its clone when the session directory is not in the target repository |
params | object | The 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… |
project | string | Name 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 |
reads | object | Results of the official GitHub MCP reads the check needs |
repo | string | Target repository, given explicitly as 'owner/repo' |
worktree_add Add worktree
Create a new worktree
| Parameter | Type | Description |
|---|---|---|
directory * | string | Target Git repository (absolute or relative path) |
allow_existing_branch | boolean | Allow reusing an existing branch even if its upstream differs from develop_branch |
base | string | Base branch (default: the develop_branch of the repository in its project config) |
no_copy | boolean | Skip copying untracked files |
no_link | boolean | Skip creating symlinks |
path | string | Where to create the worktree (default: <project_root>/<auto-numbered>/<repository name>) |
project | string | Name 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 |
repo | string | Target repository, given explicitly as 'owner/repo' |
setup | string | Command to run after creation |
worktree_remove Remove worktree
Remove a worktree
| Parameter | Type | Description |
|---|---|---|
directory * | string | Target Git repository (absolute or relative path) |
name * | string | Name of the worktree to remove (the recorded wtN, the wtN directory, or the branch name) |
force | boolean | Force removal even if there are changes |
keep_branch | boolean | Keep the branch |
repo | string | Target repository, given explicitly as 'owner/repo' |
worktree_init Initialize worktree config
Create the worktree config files in the main worktree
| Parameter | Type | Description |
|---|---|---|
directory * | string | Target Git repository (absolute or relative path) |
repo | string | Target repository, given explicitly as 'owner/repo' |
worktree_link Update worktree symlinks
Apply or update symlinks in existing worktrees
| Parameter | Type | Description |
|---|---|---|
directory * | string | Target Git repository (absolute or relative path) |
all | boolean | Apply to all sub-worktrees |
force | boolean | Overwrite real files and directories without asking |
repo | string | Target 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.
| Parameter | Type | Description |
|---|---|---|
branch * | string | Same as params.branch of link-branch: the full branch name, ending with /<Issue number> |
issue * | integer | Same as params.issue of link-branch: number of the work Issue |
owner * | string | Owner of the repository of the Issue, where the link-branch operation runs |
repo * | string | Name of the repository of the Issue |
base | string | Same as params.base of link-branch: the branch to start from |
directory | string | Target Git repository (absolute or relative path). Pass the path of its clone when the session directory is not in the target repository |
project | string | Name 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 |
reads | object | Results 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
| Parameter | Type | Description |
|---|---|---|
name * | string | Name of the workflow template (board-sync, review, handoff, auto, github-ops) |
check | boolean | Write nothing; check that the file in the repository has the version of the bundled template |
directory | string | Root of the target Git repository (absolute or relative path; default: the current directory) |
force | boolean | Overwrite the file when it already exists |
reads | object | Results of the official GitHub MCP reads |
repo | string | Target 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
| Parameter | Type | Description |
|---|---|---|
name * | string | Name of the workflow template (board-sync, review, handoff, auto, github-ops) |
directory | string | Root of the target Git repository (absolute or relative path; default: the current directory) |
project | string | auto 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) |
reads | object | Results of the reads the check needs |
repo | string | Target repository, given explicitly as 'owner/repo' |