Buddy.Works MCP by usefulapi

v1.1.0
io.usefulapi/buddy-works Checked 19 hours ago Published 3 days ago

List 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}.

ParameterTypeDescription
workspace *stringWorkspace 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.

ParameterTypeDescription
workspace *stringWorkspace domain: the human-readable id in the Buddy URL, e.g. my-company (see buddyworks_list_workspaces).
pageintegerPage number (default 1).
per_pageintegerResults 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.

ParameterTypeDescription
workspace *stringWorkspace domain: the human-readable id in the Buddy URL, e.g. my-company (see buddyworks_list_workspaces).
pageintegerPage number (default 1).
per_pageintegerResults 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}.

ParameterTypeDescription
project *stringProject name: the human-readable id in the project URL (see buddyworks_list_projects).
workspace *stringWorkspace 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.

ParameterTypeDescription
project *stringProject name: the human-readable id in the project URL (see buddyworks_list_projects).
workspace *stringWorkspace domain: the human-readable id in the Buddy URL, e.g. my-company (see buddyworks_list_workspaces).
pageintegerPage number (default 1).
per_pageintegerResults 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.

ParameterTypeDescription
pipeline_id *integerPipeline id (see buddyworks_list_pipelines).
project *stringProject name: the human-readable id in the project URL (see buddyworks_list_projects).
workspace *stringWorkspace domain: the human-readable id in the Buddy URL, e.g. my-company (see buddyworks_list_workspaces).
pageintegerPage number (default 1).
per_pageintegerResults 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}.

ParameterTypeDescription
execution_id *integerExecution id (see buddyworks_list_executions).
pipeline_id *integerPipeline id (see buddyworks_list_pipelines).
project *stringProject name: the human-readable id in the project URL (see buddyworks_list_projects).
workspace *stringWorkspace 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.

ParameterTypeDescription
action_execution_id *stringAction execution id from the run (a string).
execution_id *integerExecution id (see buddyworks_list_executions).
pipeline_id *integerPipeline id (see buddyworks_list_pipelines).
project *stringProject name: the human-readable id in the project URL (see buddyworks_list_projects).
workspace *stringWorkspace domain: the human-readable id in the Buddy URL, e.g. my-company (see buddyworks_list_workspaces).
limitintegerNumber of log lines to return.
offsetintegerFirst 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.

ParameterTypeDescription
workspace *stringWorkspace domain: the human-readable id in the Buddy URL, e.g. my-company (see buddyworks_list_workspaces).
project_namestringOnly 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}.

ParameterTypeDescription
environment_id *stringEnvironment id (a string such as 3a4KbBQl, see buddyworks_list_environments).
workspace *stringWorkspace 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.

ParameterTypeDescription
project *stringProject name: the human-readable id in the project URL (see buddyworks_list_projects).
workspace *stringWorkspace 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.

ParameterTypeDescription
project *stringProject name: the human-readable id in the project URL (see buddyworks_list_projects).
workspace *stringWorkspace 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}.

ParameterTypeDescription
number *integerPull request number (see buddyworks_list_pull_requests).
project *stringProject name: the human-readable id in the project URL (see buddyworks_list_projects).
workspace *stringWorkspace 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.

ParameterTypeDescription
pipeline_id *integerPipeline id (see buddyworks_list_pipelines).
project *stringProject name: the human-readable id in the project URL (see buddyworks_list_projects).
workspace *stringWorkspace domain: the human-readable id in the Buddy URL, e.g. my-company (see buddyworks_list_workspaces).
branchstringBranch to run. Leave out to use the pipeline's default refs.
clear_cachebooleanClear the build cache before the run.
commentstringComment shown on the run.
refreshbooleanDeploy 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.

ParameterTypeDescription
execution_id *integerExecution id (see buddyworks_list_executions).
pipeline_id *integerPipeline id (see buddyworks_list_pipelines).
project *stringProject name: the human-readable id in the project URL (see buddyworks_list_projects).
workspace *stringWorkspace 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.

ParameterTypeDescription
base *stringBranch the changes merge into, e.g. main.
head *stringBranch that holds the changes.
project *stringProject name: the human-readable id in the project URL (see buddyworks_list_projects).
title *stringPull request title.
workspace *stringWorkspace domain: the human-readable id in the Buddy URL, e.g. my-company (see buddyworks_list_workspaces).
descriptionstringPull request description (Markdown).
draftbooleanOpen as a draft.