gocd

v0.1.2
io.github.Sahilll15/gocd Checked 3 hours ago Published 3 months ago

MCP server for GoCD: dashboard, pipelines, artifacts, agents.

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

gocd_dashboard

Dashboard health, context-lean. Default (no args) returns a SUMMARY; pass filter/status/detail to drill down.

ParameterTypeDescription
detailboolean
filterstring
limitnumber
statusstring

gocd_list_agents

List GoCD build agents (compact rows). Optional filter, limit.

ParameterTypeDescription
filterstring
limitnumber

gocd_pipeline_status

Get paused/locked/schedulable status for one pipeline.

ParameterTypeDescription
pipeline *stringExact GoCD pipeline name

gocd_pipeline_history

Recent run history for one pipeline (compact rows).

ParameterTypeDescription
pipeline *stringExact GoCD pipeline name
limitnumber

gocd_pipeline_instance

One pipeline run: stages with per-job result, plus trigger. Omit counter for the latest.

ParameterTypeDescription
pipeline *stringExact GoCD pipeline name
counterstring

gocd_stage_instance

One stage run with per-job state and the agent each ran on.

ParameterTypeDescription
pipeline *stringExact GoCD pipeline name
stage *string
counterstring
stage_counterstring

gocd_stage_history

Recent runs of one stage as compact rows.

ParameterTypeDescription
pipeline *stringExact GoCD pipeline name
stage *string
limitnumber

gocd_get_agent

One agent's identity and state by uuid.

ParameterTypeDescription
uuid *string

gocd_compare

What changed between two pipeline runs: commits per material.

ParameterTypeDescription
from *string
pipeline *stringExact GoCD pipeline name
to *string
cap_commitsnumber

gocd_materials

List configured materials as [type, descriptor, fingerprint]. Optional name filter.

ParameterTypeDescription
filterstring
limitnumber

gocd_environments

List environments as [name, pipeline_count, env_vars]. Optional name filter.

ParameterTypeDescription
filterstring
limitnumber

gocd_pipeline_groups

List pipeline groups. No filter = [group, pipeline_count]; with a filter, lists matching pipeline names (raw config is several MB).

ParameterTypeDescription
filterstring
limitnumber

gocd_server_health

Current GoCD server health messages with a count by level.

gocd_version

GoCD server version info.

gocd_list_artifacts

List the artifact files produced by one pipeline job, as flat [path, url] rows.

ParameterTypeDescription
job *string
pipeline *stringExact GoCD pipeline name
stage *string
counterstring
stage_counterstring

gocd_get_artifact

Fetch one artifact file's content (e.g. console.log). Returns at most cap_kb from the END of the file to stay context-lean.

ParameterTypeDescription
job *string
path *string
pipeline *stringExact GoCD pipeline name
stage *string
cap_kbnumber
counterstring
stage_counterstring

gocd_trigger_pipeline

Schedule (trigger) a pipeline run.

ParameterTypeDescription
pipeline *stringExact GoCD pipeline name

gocd_pause_pipeline

Pause a pipeline.

ParameterTypeDescription
pipeline *stringExact GoCD pipeline name
causestring

gocd_unpause_pipeline

Resume a paused pipeline.

ParameterTypeDescription
pipeline *stringExact GoCD pipeline name