1. Conduid
  2. Agents
  3. Stageflow
MCP server · Agents

Stageflow

Configurable, typed multi-stage agent workflows for Pi — local console, human gates, MCP, and CI.

53Fair

Scored 1 hours ago · breakdown

About Stageflow

Stageflow is an MCP server published by tejasghutukade in the Agents category: configurable, typed multi-stage agent workflows for Pi — local console, human gates, MCP, and CI. Conduid read 58 tools from its source: abandon_stage, agent_chat, answer_gate, archive_agent, cancel_run, decide_agent_action and 52 more. No package is published for it, so it installs from a source checkout.

The repository has 14 stars and 0 forks, and its last commit was on 1 Dec 2026. Conduid has no tagged release on record for it. Its topics include agent-orchestration, agent-workflows, cli, devtools, github-actions and human-in-the-loop.

Install

From source
git clone https://github.com/tejasghutukade/stageflow

Tools (58)

abandon_stageAbandon a running stage (marks it failed). Does not dismiss HITL — waiting stages return 409; answer them with answer_gate. Prefer cancel_run to stop an entire run.
ParameterTypeDescription
runId *string
stageId *string
agent_chatSend one message and wait for the reply. Omit sessionId to start a session.
ParameterTypeDescription
message *string
sessionIdstring
answer_gateDeliver an AskOperatorAnswer for a stage in waiting_for_input. Pass answer as { promptId, kind, ... } matching the pending prompt.
ParameterTypeDescription
runId *string
stageId *string
archive_agentArchive an agent. New sessions are refused. Past sessions are kept.
cancel_runCancel a non-terminal run. Marks it cancelled, terminalizes pending/running/waiting stages, and releases the checkout lease. Signals workers with process-group kill (SIGTERM, then SIGKILL). Reason is required and stored as cancel_reason.
ParameterTypeDescription
reason *string
runId *string
decide_agent_actionApprove or deny the pending ask-first action on a session of an agent, as an operator.
decide_feedback_loopResolve a feedback-loop wait_for_human decision (extend, continue, or abandon).
ParameterTypeDescription
decision *string
loopIdstring
reasonstring
runId *string
stageId *string
delete_artifactDelete a published artifact. Indexed artifacts are refused.
ParameterTypeDescription
key *string
project_rootstring
delete_functionDelete a function that no pipeline, stage, or agent references.
delete_memory_cardDelete one card from a host memory.
ParameterTypeDescription
id *string
key *string
delete_runsDelete one run (runId) or run retention GC (gc: true). Active runs require force: true before delete. GC defaults to dry-run unless execute: true.
fire_triggerFire a catalog trigger by id. Resolves pipeline and task refs and starts a run the same way as start_run. Unknown id is not_found (404). A disabled trigger is 409.
ParameterTypeDescription
id *string
project_rootstringCatalog project root; required when the same trigger id exists in more than one root
get_agentList agents without id; with id and view definition get one agent; view revisions, revision, or diff read revision history.
get_agent_sessionList an agent's sessions without sessionId, or fetch one session with sessionId.
get_artifactList (list true) or read an artifact.
ParameterTypeDescription
cursorstring
keystring
kindstring
limitnumber
listboolean
liveboolean
orderstring
ownerstring
project_rootstring
qstring
scopestring
sortstring
statusstring
tagstring
versionnumber
viewstring
get_connectionList host connections without id. Read-only. Each secret field is "env" or "store", never the secret value.
get_evalList evals without eval_id; with eval_id and view definition get one eval; view calibrations lists grader calibration history for grader_id. Read-only, free.
get_eval_failuresview suggestions lists failure suggestions for an eval run; view sort_status reports which classifiers can run (no key values). Read-only, free.
get_eval_resultsList result rows for an eval run, or set case_id for one case in full with every repeat. Read-only, free.
get_eval_runList eval runs without eval_run_id; with eval_run_id get one run; view export returns run results or config snapshot. Read-only, free.
get_functionList functions without id; with id get one function; view revisions or revision reads stored revisions.
get_memoryList host memories without id, or read one memory.
get_runList runs without runId; poll one run with runId; view: export returns the full export payload.
get_stageRead stage detail. view events: persisted log events. log: assistant text since a byte cursor. envelope: StageEnvelope (404 when absent). verification: attempt history and completion checks.
get_startedHost version, providers, toolchain, catalog roots, and loaded and unloaded MCP toolsets.
get_triggerList catalog triggers without id, or look up one trigger by id. Unknown ids return not_found, never a list.
import_taskImport a GitHub issue as a standalone catalog task file.
ParameterTypeDescription
directory *stringDirectory relative to the project root, e.g. tasks
number *numberPositive GitHub issue number
repo *stringGitHub owner/repo
list_catalogList pipelines, tasks, skills, models, MCP servers, providers, or host health. kind required. Optional project_root, or runId for skills.
list_guide_topicsList the Stageflow knowledge topics (id, title, summary). Read a topic with read_guide_topic before you explain how a part of Stageflow works, recommend a design, or say whether something is possible.
list_waitingStages waiting for operator input. detail full (default) includes pending_prompt and waiting_* fields; summary returns count and run/stage identity. Optional runId, or path for one project when runId is omitted.
probe_project_mcpProbe one named git-root .mcp.json server with connect-and-exit. Inspect is not attach; YAML mcp: still allowlists what a stage receives.
ParameterTypeDescription
name *string
promote_artifactKeep a session artifact.
ParameterTypeDescription
key *string
project_rootstring
read_guide_topicRead Stageflow knowledge. Pass { id } to get a topic's full text (ids from list_guide_topics), or { query } to get the best matching topics with a short excerpt. Prefer the limitations topic before promising a feature.
read_pipelineRead a pipeline package (view package) or its stage DAG (view dag).
refresh_artifactRefresh a live artifact.
ParameterTypeDescription
binding_idsarray
key *string
project_rootstring
remove_connectionRemove one connection and its stored secrets.
review_eval_resultsaction label sets pass, fail, note, or tags on one repeat; action accept writes tags from suggestions; action dismiss dismisses suggestions.
run_filesRead run workspace files and checkout. view: artifact — run artifact path; changes — dirty paths; diff — git diff against base; file — read a checkout file.
run_statsCount runs by status. group_by is day, week, or pipeline. Buckets use created_at. since defaults to 30 days before until; until defaults to now. timezone is an IANA name (default UTC). Day and week buckets include zeros. Eval runs are left out. A long window or many pipelines is capped.
save_agentCreate or update an agent. mode create always starts disabled. mode update needs baseRevision and either definition or revision to restore.
save_artifactPublish an artifact. Live kinds need manifest. Same bytes keep the version.
ParameterTypeDescription
contentstring
content_base64string
descriptionstring
id *string
kind *string
manifestobject
ownerobject
project_rootstring
summarystring
tagsarray
title *string
save_connectionCreate or update a host connection. Secret values are stored and never returned.
save_datasetmode create writes a new dataset (cases or source sample, runs, sessions). mode update with action append, replace, ops, or convert edits an existing dataset.
save_evalmode create writes a new eval from definition, or source sample installs the packaged sample. mode update replaces an eval with definition or yaml and base_hash.
save_functionCreate or update a function. mode create duplicates with copy_from and id, or creates from definition. mode update needs baseRevision.
save_memoryCreate a host memory or update its cover page or one card. mode create starts an empty cover. mode update with card replaces an existing card only.
save_triggerCreate or update a catalog trigger. mode create writes a new *.trigger.yaml. mode update replaces the definition or changes only enabled.
set_agent_enabledEnable or disable an agent for new sessions and turns.
stage_actionOperate on a run stage. action: retry — new attempt on failure; resume — continue a timed-out/interrupted attempt; recover — approve manual recovery; stop_recovery — leave a manual-recovery stage failed.
start_runStart a pipeline run. pipeline: catalog-relative path or inline { id, stages: [...] } (YAML bodies, no uses: refs). task_path XOR task (inline task may set repository/ref or checkout; repository XOR checkout is task.binding_conflict). project_root, checkout (catalog-relative; prefer this name; absolute is absolute_path_not_allowed), checkout_override (alias of checkout), skip_gates, git_sha, ci_pr_url, ci_job_url, skills (name → { relativePath: utf-8 contents }; requires SKILL.md; under runs/<runId>/skills/, never the worktree). Returns { runId } or { runId, queued: true, queuePosition }. Errors: busy_capacity, busy_checkout, insufficient_disk, start.token_rejected, skills_*, inline_pipeline_too_large, catalog path-contract codes.
stop_agent_sessionStop the turn currently running in a session. The session stays open.
ParameterTypeDescription
sessionId *string
test_connectionCheck connection values without saving them. Does not write the connection or its secrets. Returns the health check.
test_functionTest a function with the production executor. real is required for real files, environment, or APIs. A guest failure is isError false with ok false and a diagnostic code.
ParameterTypeDescription
inputobject
memoryLimitBytesnumber
mocksobject
realboolean
sourcestring
timeoutMsnumber
validateValidate catalog, pipeline, task, draft package, agent definition, eval, or connection recipient. Use kind and preflight: true for pipeline preflight before start_run.
wait_runLong-poll until a run is waiting for HITL and/or terminal (succeeded/failed), or timeout_ms. until=any (default) wakes on waiting or terminal. Abort cancels this wait, not the run. notifications/progress when _meta.progressToken is set.
ParameterTypeDescription
runId *string
timeout_msnumberWait budget in ms (default ${DEFAULT_TIMEOUT_MS}, max 240000)
untilstringWake predicate: "any" (default), "waiting", or "terminal"
write_pipelineCreate or update a pipeline package on disk.
write_stageCreate or update stages on disk. With a pipeline path, create adds a stage; update patches a stage. Without a pipeline path, create makes a standalone stage file; update with content overwrites a stage file.
write_taskCreate or update task files on disk.

Security checks

6 checks have not been run yet.

Questions

About Stageflow

How do I install Stageflow?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Stageflow safe to use with an AI agent?

Its trust score is 53 out of 100 (fair). Conduid hasn't run static security checks on this repository yet, so review the source yourself before granting it credentials. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Stageflow still maintained?

Yes — the last commit was 12 hours ago. The repository has 14 stars and 0 forks.

What tools does Stageflow provide?

Conduid read 58 tools from the source: abandon_stage, agent_chat, answer_gate, archive_agent, cancel_run, decide_agent_action, decide_feedback_loop, delete_artifact and 50 more. 17 of them publish their parameters, listed under Tools above.