junai Pipeline MCP

v0.1.1
io.github.saajunaid/junai-mcp Checked 16 hours ago Published 9 months ago

Agentic pipeline orchestration MCP server for AI-driven development workflows.

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

notify_orchestrator Notify Orchestrator

Record stage completion and ask pipeline-runner for deterministic next transition.

ParameterTypeDescription
result_status *string
stage_completed *string
artefact_path
result_payload

validate_deferred_paths Validate Deferred Paths

Validate deferred item file paths and attempt path correction where possible.

ParameterTypeDescription
deferred_items *array

get_pipeline_status Get Pipeline Status

Return current pipeline status and best-effort next transition summary.

set_pipeline_mode Set Pipeline Mode

Set the pipeline mode to supervised, assisted, or autopilot.

ParameterTypeDescription
mode *string

satisfy_gate Satisfy Gate

Set a supervision gate to satisfied (true).

ParameterTypeDescription
gate_name *string

pipeline_init Pipeline Init

Initialise a new pipeline state file from the template. Requires confirm=True to proceed — this prevents accidental invocation mid-run. Use when starting a brand-new feature or hotfix pipeline. If a pipeline-state.json already exists, it will be overwritten. _bypass_active_check is an internal flag used by pipeline_reset to skip the active-pipeline guard. Do not set this from user-facing calls.

ParameterTypeDescription
feature *string
project *string
_bypass_active_checkboolean
confirmboolean
typestring

pipeline_reset Pipeline Reset

Reset the current pipeline state and start a new pipeline run. Identical to pipeline_init but semantically signals resetting an existing pipeline rather than creating a fresh one. Requires confirm=True. Use when a pipeline has closed and the user wants to start the next feature, or when explicitly restarting a failed/stale pipeline.

ParameterTypeDescription
feature *string
project *string
confirmboolean
typestring

run_command Run Command

Execute a shell command in the workspace root and return stdout, stderr, exit code. Use this for running tests (pytest, playwright), linters (black, ruff), formatters, build steps, or any other shell command the pipeline needs to execute hands-free. Agents should prefer this over asking the user to run commands manually in a terminal.

ParameterTypeDescription
command *stringShell command to run (e.g. ".venv/Scripts/pytest tests/ -v"). Executed in the workspace root directory with shell=True.
max_output_charsintegerTruncate combined output to this many characters to avoid flooding the context window. Default 20000.
timeoutintegerSeconds before the process is killed. Default 60s. Increase for long test suites, Playwright runs, or slow build steps.