Buddy.Works MCP by usefulapi
v1.1.0List pipelines, runs and pull requests; start or cancel runs and open pull requests in Buddy.Works.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
buddyworks_get_user Get the authorized user
Return the user the Personal Access Token belongs to. Buddy API: GET /user.
buddyworks_list_workspaces List workspaces
List the workspaces this user can access. Start here to get the workspace domain. Buddy API: GET /workspaces.
buddyworks_get_workspace Get a workspace
Return one workspace: name, domain, owner, SSO and public-pipeline settings. Buddy API: GET /workspaces/{workspace}.
| Parameter | Type | Description |
|---|---|---|
workspace * | string | Workspace domain: the human-readable id in the Buddy URL, e.g. my-company (see buddyworks_list_workspaces). |
buddyworks_list_members List workspace members
List the members of a workspace with their roles. Buddy API: GET /workspaces/{workspace}/members.
| Parameter | Type | Description |
|---|---|---|
workspace * | string | Workspace domain: the human-readable id in the Buddy URL, e.g. my-company (see buddyworks_list_workspaces). |
page | integer | Page number (default 1). |
per_page | integer | Results per page. |
buddyworks_list_projects List projects
List the projects in a workspace with their status and default branch. Buddy API: GET /workspaces/{workspace}/projects.
| Parameter | Type | Description |
|---|---|---|
workspace * | string | Workspace domain: the human-readable id in the Buddy URL, e.g. my-company (see buddyworks_list_workspaces). |
page | integer | Page number (default 1). |
per_page | integer | Results per page. |
buddyworks_get_project Get a project
Return one project: repository URLs, default branch and pull-request settings. Buddy API: GET /workspaces/{workspace}/projects/{project}.
| Parameter | Type | Description |
|---|---|---|
project * | string | Project name: the human-readable id in the project URL (see buddyworks_list_projects). |
workspace * | string | Workspace domain: the human-readable id in the Buddy URL, e.g. my-company (see buddyworks_list_workspaces). |
buddyworks_list_pipelines List pipelines
List the pipelines of a project with their last execution status. Buddy API: GET /workspaces/{workspace}/projects/{project}/pipelines.
| Parameter | Type | Description |
|---|---|---|
project * | string | Project name: the human-readable id in the project URL (see buddyworks_list_projects). |
workspace * | string | Workspace domain: the human-readable id in the Buddy URL, e.g. my-company (see buddyworks_list_workspaces). |
page | integer | Page number (default 1). |
per_page | integer | Results per page. |
buddyworks_list_executions List pipeline runs
List the recent executions (runs) of one pipeline: status, branch, creator and dates. Buddy API: GET .../pipelines/{id}/executions.
| Parameter | Type | Description |
|---|---|---|
pipeline_id * | integer | Pipeline id (see buddyworks_list_pipelines). |
project * | string | Project name: the human-readable id in the project URL (see buddyworks_list_projects). |
workspace * | string | Workspace domain: the human-readable id in the Buddy URL, e.g. my-company (see buddyworks_list_workspaces). |
page | integer | Page number (default 1). |
per_page | integer | Results per page. |
buddyworks_get_execution Get a pipeline run
Return one execution: status, revisions, trigger and timing. Buddy API: GET .../pipelines/{id}/executions/{execution_id}.
| Parameter | Type | Description |
|---|---|---|
execution_id * | integer | Execution id (see buddyworks_list_executions). |
pipeline_id * | integer | Pipeline id (see buddyworks_list_pipelines). |
project * | string | Project name: the human-readable id in the project URL (see buddyworks_list_projects). |
workspace * | string | Workspace domain: the human-readable id in the Buddy URL, e.g. my-company (see buddyworks_list_workspaces). |
buddyworks_get_action_logs Get action log lines
Return a slice of the console output of one action in a run, for debugging a failed step. Buddy API: GET .../executions/{execution_id}/action_executions/{action_execution_id}/logs.
| Parameter | Type | Description |
|---|---|---|
action_execution_id * | string | Action execution id from the run (a string). |
execution_id * | integer | Execution id (see buddyworks_list_executions). |
pipeline_id * | integer | Pipeline id (see buddyworks_list_pipelines). |
project * | string | Project name: the human-readable id in the project URL (see buddyworks_list_projects). |
workspace * | string | Workspace domain: the human-readable id in the Buddy URL, e.g. my-company (see buddyworks_list_workspaces). |
limit | integer | Number of log lines to return. |
offset | integer | First log line to return (default 0). |
buddyworks_list_environments List environments
List the deployment environments of a workspace, optionally only those of one project. Buddy API: GET /workspaces/{workspace}/environments.
| Parameter | Type | Description |
|---|---|---|
workspace * | string | Workspace domain: the human-readable id in the Buddy URL, e.g. my-company (see buddyworks_list_workspaces). |
project_name | string | Only environments of this project. |
buddyworks_get_environment Get an environment
Return one environment: its variables' access rules, targets and allowed pipelines. Buddy API: GET /workspaces/{workspace}/environments/{id}.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | Environment id (a string such as 3a4KbBQl, see buddyworks_list_environments). |
workspace * | string | Workspace domain: the human-readable id in the Buddy URL, e.g. my-company (see buddyworks_list_workspaces). |
buddyworks_list_branches List branches
List the branches of a project's repository. Buddy API: GET .../projects/{project}/repository/branches.
| Parameter | Type | Description |
|---|---|---|
project * | string | Project name: the human-readable id in the project URL (see buddyworks_list_projects). |
workspace * | string | Workspace domain: the human-readable id in the Buddy URL, e.g. my-company (see buddyworks_list_workspaces). |
buddyworks_list_pull_requests List pull requests
List the pull requests of a project's repository. Buddy API: GET .../projects/{project}/repository/pulls.
| Parameter | Type | Description |
|---|---|---|
project * | string | Project name: the human-readable id in the project URL (see buddyworks_list_projects). |
workspace * | string | Workspace domain: the human-readable id in the Buddy URL, e.g. my-company (see buddyworks_list_workspaces). |
buddyworks_get_pull_request Get a pull request
Return one pull request: title, branches, state, mergeability and labels. Buddy API: GET .../repository/pulls/{number}.
| Parameter | Type | Description |
|---|---|---|
number * | integer | Pull request number (see buddyworks_list_pull_requests). |
project * | string | Project name: the human-readable id in the project URL (see buddyworks_list_projects). |
workspace * | string | Workspace domain: the human-readable id in the Buddy URL, e.g. my-company (see buddyworks_list_workspaces). |
buddyworks_run_pipeline Start a pipeline run
Start a new run of a pipeline on a branch. A run can deploy to live environments, so call it only when the user asks. Each call starts a new run. Buddy API: POST .../pipelines/{id}/executions.
| Parameter | Type | Description |
|---|---|---|
pipeline_id * | integer | Pipeline id (see buddyworks_list_pipelines). |
project * | string | Project name: the human-readable id in the project URL (see buddyworks_list_projects). |
workspace * | string | Workspace domain: the human-readable id in the Buddy URL, e.g. my-company (see buddyworks_list_workspaces). |
branch | string | Branch to run. Leave out to use the pipeline's default refs. |
clear_cache | boolean | Clear the build cache before the run. |
comment | string | Comment shown on the run. |
refresh | boolean | Deploy from scratch. |
buddyworks_cancel_execution Cancel a pipeline run
Cancel a running execution. Stops its remaining actions. Buddy API: PATCH .../executions/{execution_id} with operation CANCEL.
| Parameter | Type | Description |
|---|---|---|
execution_id * | integer | Execution id (see buddyworks_list_executions). |
pipeline_id * | integer | Pipeline id (see buddyworks_list_pipelines). |
project * | string | Project name: the human-readable id in the project URL (see buddyworks_list_projects). |
workspace * | string | Workspace domain: the human-readable id in the Buddy URL, e.g. my-company (see buddyworks_list_workspaces). |
buddyworks_create_pull_request Open a pull request
Open a pull request from a head branch into a base branch. Not idempotent: a second call opens another pull request. Buddy API: POST .../repository/pulls.
| Parameter | Type | Description |
|---|---|---|
base * | string | Branch the changes merge into, e.g. main. |
head * | string | Branch that holds the changes. |
project * | string | Project name: the human-readable id in the project URL (see buddyworks_list_projects). |
title * | string | Pull request title. |
workspace * | string | Workspace domain: the human-readable id in the Buddy URL, e.g. my-company (see buddyworks_list_workspaces). |
description | string | Pull request description (Markdown). |
draft | boolean | Open as a draft. |