Buildkite MCP lets agents interact with Buildkite Builds, Jobs, Logs, Packages and Test Suites.
1.2K
24 Tools
Version 4.43 or later needs to be installed to add the server automatically
Use cases
About
Buildkite MCP lets agents interact with Buildkite Builds, Jobs, Logs, Packages and Test Suites.
| Attribute | Details |
|---|---|
| Docker Image | mcp/buildkite |
| Author | buildkite |
| Repository | https://github.com/buildkite/buildkite-mcp-server |
Docker Image built by|Docker Inc.
Docker Scout Health Score| Verify Signature|
COSIGN_REPOSITORY=mcp/signatures cosign verify mcp/buildkite --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pubLicence|MIT License
| Tools provided by this Server | Short Description |
|---|---|
access_token | Get Access Token |
create_build | Create Build |
create_pipeline | Create Pipeline |
current_user | Get Current User |
get_artifact | Get Artifact |
get_build | Get Build |
get_build_test_engine_runs | Get Build Test Engine Runs |
get_cluster | Get Cluster |
get_cluster_queue | Get Cluster Queue |
get_failed_executions | Get Failed Test Executions |
get_job_logs | Get Job Logs |
get_jobs | Get Jobs |
get_pipeline | Get Pipeline |
get_test | Get Test |
get_test_run | Get Test Run |
list_annotations | List Annotations |
list_artifacts | Artifact List |
list_builds | List Builds |
list_cluster_queues | List Cluster Queues |
list_clusters | List Clusters |
list_pipelines | List Pipelines |
list_test_runs | List Test Runs |
update_pipeline | Update Pipeline |
user_token_organization | Get Organization for User Token |
access_tokenGet information about the current API access token including its scopes and UUID
create_buildTrigger a new build on a Buildkite pipeline for a specific commit and branch, with optional environment variables, metadata, and author information
| Parameters | Type | Description |
|---|---|---|
branch | string | The branch to build |
commit | string | The commit SHA to build |
message | string | The commit message for the build |
org_slug | string | The organization slug for the owner of the pipeline |
pipeline_slug | string | The slug of the pipeline |
environment | arrayoptional | Environment variables to set for the build |
metadata | arrayoptional | Meta-data values to set for the build |
create_pipelineSet up a new CI/CD pipeline in Buildkite with YAML configuration, repository connection, and cluster assignment
| Parameters | Type | Description |
|---|---|---|
cluster_id | string | The ID value of the cluster the pipeline will be associated with |
configuration | string | The pipeline configuration in YAML format. Contains the build steps and pipeline settings. If not provided, a basic configuration will be used |
name | string | The name of the pipeline |
org_slug | string | The organization slug for the owner of the pipeline. This is used to determine where to create the pipeline |
repository_url | string | The Git repository URL to use for the pipeline |
cancel_running_branch_builds | booleanoptional | Cancel running builds when new builds are created on the same branch |
default_branch | stringoptional | The default branch for builds and metrics filtering |
description | stringoptional | The description of the pipeline |
skip_queued_branch_builds | booleanoptional | Skip intermediate builds when new builds are created on the same branch |
tags | arrayoptional | Tags to apply to the pipeline. These can be used for filtering and organization |
current_userGet details about the user account that owns the API token, including name, email, avatar, and account creation date
get_artifactGet detailed information about a specific artifact including its metadata, file size, SHA-1 hash, and download URL
| Parameters | Type | Description |
|---|---|---|
url | string | The URL of the artifact to get |
This tool is read-only. It does not modify its environment.
get_buildGet detailed information about a specific build including its jobs, timing, and execution details
| Parameters | Type | Description |
|---|---|---|
build_number | string | The number of the build |
org | string | The organization slug for the owner of the pipeline |
pipeline_slug | string | The slug of the pipeline |
This tool is read-only. It does not modify its environment.
get_build_test_engine_runsGet test engine runs data for a specific build in Buildkite. This can be used to look up Test Runs.
| Parameters | Type | Description |
|---|---|---|
build_number | string | The number of the build |
org | string | The organization slug for the owner of the pipeline |
pipeline_slug | string | The slug of the pipeline |
This tool is read-only. It does not modify its environment.
get_clusterGet detailed information about a specific cluster including its name, description, default queue, and configuration
| Parameters | Type | Description |
|---|---|---|
cluster_id | string | The id of the cluster |
org | string | The organization slug for the owner of the pipeline |
This tool is read-only. It does not modify its environment.
get_cluster_queueGet detailed information about a specific queue including its key, description, dispatch status, and hosted agent configuration
| Parameters | Type | Description |
|---|---|---|
cluster_id | string | The id of the cluster |
org | string | The organization slug for the owner of the pipeline |
queue_id | string | The id of the queue |
This tool is read-only. It does not modify its environment.
get_failed_executionsGet failed test executions for a specific test run in Buildkite Test Engine. Optionally get the expanded failure details such as full error messages and stack traces.
| Parameters | Type | Description |
|---|---|---|
org | string | The organization slug for the owner of the test suite |
run_id | string | The ID of the test run |
test_suite_slug | string | The slug of the test suite the run belongs to |
include_failure_expanded | booleanoptional | Include the expanded failure details such as full error messages and stack traces. This can be used to explain and diganose the cause of test failures. |
page | numberoptional | Page number for pagination (min 1) |
perPage | numberoptional | Results per page for pagination (min 1, max 100) |
This tool is read-only. It does not modify its environment.
get_job_logsGet the log output and metadata for a specific job, including content, size, and header timestamps. Automatically saves to file for large logs to avoid token limits.
| Parameters | Type | Description |
|---|---|---|
build_number | string | The build number |
job_uuid | string | The UUID of the job |
org | string | The organization slug for the owner of the pipeline |
pipeline_slug | string | The slug of the pipeline |
get_jobsGet all jobs for a specific build including their state, timing, commands, and execution details
| Parameters | Type | Description |
|---|---|---|
build_number | string | The number of the build |
org | string | The organization slug for the owner of the pipeline |
pipeline_slug | string | The slug of the pipeline |
include_agent | booleanoptional | Include detailed agent information in the response. When false (default), only agent ID is included to reduce response size. |
job_state | stringoptional | Filter jobs by state. Supports actual states (scheduled, running, passed, failed, canceled, skipped, etc.) |
page | numberoptional | Page number for pagination (min 1) |
perPage | numberoptional | Results per page for pagination (min 1, max 50) |
This tool is read-only. It does not modify its environment.
get_pipelineGet detailed information about a specific pipeline including its configuration, steps, environment variables, and build statistics
| Parameters | Type | Description |
|---|---|---|
org | string | The organization slug for the owner of the pipeline |
pipeline_slug | string | The slug of the pipeline |
This tool is read-only. It does not modify its environment.
get_testGet a specific test in Buildkite Test Engine. This provides additional metadata for failed test executions
| Parameters | Type | Description |
|---|---|---|
org | string | The organization slug for the owner of the test suite |
test_id | string | The ID of the test |
test_suite_slug | string | The slug of the test suite |
This tool is read-only. It does not modify its environment.
get_test_runGet a specific test run in Buildkite Test Engine
| Parameters | Type | Description |
|---|---|---|
org | string | The organization slug for the owner of the test suite |
run_id | string | The ID of the test run |
test_suite_slug | string | The slug of the test suite |
This tool is read-only. It does not modify its environment.
list_annotationsList all annotations for a build, including their context, style (success/info/warning/error), rendered HTML content, and creation timestamps
| Parameters | Type | Description |
|---|---|---|
build_number | string | The build number |
org | string | The organization slug for the owner of the pipeline |
pipeline_slug | string | The slug of the pipeline |
page | numberoptional | Page number for pagination (min 1) |
perPage | numberoptional | Results per page for pagination (min 1, max 100) |
This tool is read-only. It does not modify its environment.
list_artifactsList all artifacts for a build across all jobs, including file details, paths, sizes, MIME types, and download URLs
| Parameters | Type | Description |
|---|---|---|
build_number | string | The build number |
org | string | The organization slug for the owner of the pipeline |
pipeline_slug | string | The slug of the pipeline |
This tool is read-only. It does not modify its environment.
list_buildsList all builds for a pipeline with their status, commit information, and metadata
| Parameters | Type | Description |
|---|---|---|
org | string | The organization slug for the owner of the pipeline |
pipeline_slug | string | The slug of the pipeline |
branch | stringoptional | Filter builds by git branch name |
page | numberoptional | Page number for pagination (min 1) |
perPage | numberoptional | Results per page for pagination (min 1, max 100) |
This tool is read-only. It does not modify its environment.
list_cluster_queuesList all queues in a cluster with their keys, descriptions, dispatch status, and agent configuration
| Parameters | Type | Description |
|---|---|---|
cluster_id | string | The id of the cluster |
org | string | The organization slug for the owner of the pipeline |
page | numberoptional | Page number for pagination (min 1) |
perPage | numberoptional | Results per page for pagination (min 1, max 100) |
This tool is read-only. It does not modify its environment.
list_clustersList all clusters in an organization with their names, descriptions, default queues, and creation details
| Parameters | Type | Description |
|---|---|---|
org | string | The organization slug for the owner of the pipeline |
page | numberoptional | Page number for pagination (min 1) |
perPage | numberoptional | Results per page for pagination (min 1, max 100) |
This tool is read-only. It does not modify its environment.
list_pipelinesList all pipelines in an organization with their basic details, build counts, and current status
| Parameters | Type | Description |
|---|---|---|
org | string | The organization slug for the owner of the pipeline |
page | numberoptional | Page number for pagination (min 1) |
perPage | numberoptional | Results per page for pagination (min 1, max 100) |
This tool is read-only. It does not modify its environment.
list_test_runsList all test runs for a test suite in Buildkite Test Engine
| Parameters | Type | Description |
|---|---|---|
org | string | The organization slug for the owner of the test suite |
test_suite_slug | string | The slug of the test suite |
page | numberoptional | Page number for pagination (min 1) |
perPage | numberoptional | Results per page for pagination (min 1, max 100) |
This tool is read-only. It does not modify its environment.
update_pipelineModify an existing Buildkite pipeline's configuration, repository, settings, or metadata
| Parameters | Type | Description |
|---|---|---|
org_slug | string | The organization slug for the owner of the pipeline. This is used to determine where to update the pipeline |
pipeline_slug | string | The slug of the pipeline to update |
cancel_running_branch_builds | booleanoptional | Cancel running builds when new builds are created on the same branch |
cluster_id | stringoptional | The ID value of the cluster the pipeline will be associated with |
configuration | stringoptional | The pipeline configuration in YAML format. Contains the build steps and pipeline settings. If not provided, the existing configuration will be used |
default_branch | stringoptional | The default branch for builds and metrics filtering |
description | stringoptional | The description of the pipeline |
name | stringoptional | The name of the pipeline |
repository_url | stringoptional | The Git repository URL to use for the pipeline |
skip_queued_branch_builds | booleanoptional | Skip intermediate builds when new builds are created on the same branch |
tags | arrayoptional | Tags to apply to the pipeline. These can be used for filtering and organization |
user_token_organizationGet the organization associated with the user token used for this request
{
"mcpServers": {
"buildkite": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"BUILDKITE_API_TOKEN",
"mcp/buildkite"
],
"env": {
"BUILDKITE_API_TOKEN": "bkua_xxxxx"
}
}
}
}
Manual installation
You can install the MCP server using:
Installation for