Depot MCP by usefulapi
v1.41.5Inspect Depot builds, CI runs, job logs and Actions runners; retry or cancel CI runs.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
depot_list_projects List projects
List the organization's Depot projects. A project is an isolated container-build cache (region, hardware, cache policy). Use the returned projectId with the build and registry tools. Depot: ProjectService/ListProjects.
| Parameter | Type | Description |
|---|---|---|
page_size | integer | Page size, 1-250. |
page_token | string | Cursor from the previous response's nextPageToken. Omit for the first page. |
region_id | string | Only projects in this region or cloud connection, e.g. us-east-1. |
depot_get_project Get a project
Get one Depot project — name, region, hardware size, cache policy, build timeout and autoscaling. Depot: ProjectService/GetProject.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Project id, from depot_list_projects. |
depot_list_builds List builds for a project
List container builds in a project, newest first: status (STATUS_RUNNING / FAILED / SUCCESS / ERROR / CANCELED), timestamps, build duration, time saved by cache, and cached vs total steps. Depot: core BuildService/ListBuilds.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Project id, from depot_list_projects. |
page_size | integer | Page size, 1-100. |
page_token | string | Cursor from the previous response's nextPageToken. Omit for the first page. |
depot_get_build Get a build
Get one container build's status, timestamps, duration, time saved and cached/total step counts. Depot: core BuildService/GetBuild.
| Parameter | Type | Description |
|---|---|---|
build_id * | string | Build id, from depot_list_builds. |
depot_get_build_steps List a build's steps
List the BuildKit steps of a container build: name, digest, start/end time, cache state (CACHED / UNCACHED), any error, and whether it has logs. Find the failing step here, then pass its digest to depot_get_build_step_logs. Depot: build.v1 BuildService/GetBuildSteps.
| Parameter | Type | Description |
|---|---|---|
build_id * | string | Build id, from depot_list_builds. |
project_id * | string | Project id the build belongs to. |
page_size | integer | Page size, 1-1000. |
page_token | string | Cursor from the previous response's nextPageToken. Omit for the first page. |
depot_get_build_step_logs Get a build step's logs
Get the log lines (message + timestamp) of one container-build step, identified by its digest from depot_get_build_steps. Depot: build.v1 BuildService/GetBuildStepLogs.
| Parameter | Type | Description |
|---|---|---|
build_id * | string | Build id. |
project_id * | string | Project id the build belongs to. |
step_digest * | string | The step's digest, from depot_get_build_steps. |
page_size | integer | Page size, 1-1000. |
page_token | string | Cursor from the previous response's nextPageToken. Omit for the first page. |
depot_list_registry_images List registry images
List the images stored in a project's Depot Registry: tag, digest, pushedAt and sizeBytes. Depot: build.v1 RegistryService/ListImages.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Project id, from depot_list_projects. |
page_size | integer | Page size, 1-100. |
page_token | string | Cursor from the previous response's nextPageToken. Omit for the first page. |
depot_get_usage Get organization usage
Get the organization's Depot usage over a window: container builds per project (build count, minutes saved, minutes billed), GitHub Actions jobs per repo/workflow/runner (minutes elapsed and billed), storage, and agent sandboxes. Depot: UsageService/GetUsage.
| Parameter | Type | Description |
|---|---|---|
end_at * | string | Window end, RFC 3339 (e.g. 2026-09-30T00:00:00Z). |
start_at * | string | Window start, RFC 3339 (e.g. 2026-09-01T00:00:00Z). |
depot_ci_list_runs List Depot CI runs
List Depot CI runs, newest first. Filter by status (default: running + queued — pass ["failed"] to find failures), repo, commit SHA prefix, trigger event, or pull request number (requires repo). Depot: CIService/ListRuns.
| Parameter | Type | Description |
|---|---|---|
page_size | integer | Page size, 1-100. |
page_token | string | Cursor from the previous response's nextPageToken. Omit for the first page. |
pr | string | Pull request number. Requires repo. |
repo | string | Repository in owner/name format, e.g. depot/cli. |
sha | string | Commit SHA prefix (1-40 hex chars). |
status | array | Run statuses to include (ORed). Default on Depot's side: running and queued. |
trigger | string | Trigger event, e.g. push, pull_request, schedule, workflow_dispatch. |
depot_ci_get_run_status Get a CI run's status tree
Get a Depot CI run's status with its nested workflows, jobs and attempts (ids, keys, statuses, error messages). This is how to find the workflowId / jobId / attemptId for the log, diagnosis and retry tools. Depot: CIService/GetRunStatus.
| Parameter | Type | Description |
|---|---|---|
run_id * | string | CI run id, from depot_ci_list_runs. |
depot_ci_list_workflows List Depot CI workflows
List Depot CI workflows across runs, newest first, with per-status job counts. Filter by name/path text, repo, status, trigger, SHA prefix or PR number. Depot: CIService/ListWorkflows.
| Parameter | Type | Description |
|---|---|---|
name | string | Text to match in the workflow name or file path. |
page_size | integer | Page size, 1-200. |
pr | string | Pull request number. |
repo | string | Repository in owner/name format. |
sha | string | Commit SHA prefix (1-40 hex chars). |
status | array | Workflow statuses to include (ORed). |
trigger | string | Trigger event, e.g. push or pull_request. |
depot_ci_get_job Get a CI job
Get one Depot CI job: status, conclusion, error message, timestamps, runner config (labels, image, CPUs, memory), matrix values, parent run/workflow context, dependencies and attempt history. Depot: CIService/GetJob.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | CI job id, from depot_ci_get_run_status. |
depot_ci_get_job_logs Get a CI job's logs
Get persisted log lines for a Depot CI job attempt, oldest first (step key/name, timestamp, line number, body). Pass job_id to read the job's latest attempt, or attempt_id for a specific one — exactly one. Pass nextPageToken back as page_token for more lines. Depot: CIService/GetJobAttemptLogs.
| Parameter | Type | Description |
|---|---|---|
attempt_id | string | A specific attempt id. |
job_id | string | CI job id — resolves to its latest attempt. |
page_token | string | Cursor from the previous response's nextPageToken. Omit for the first page. |
depot_ci_get_failure_diagnosis Diagnose a CI failure
Get Depot's failure diagnosis for a CI run, workflow, job or attempt. For runs and workflows, identical failures are grouped by error fingerprint; for a job or attempt it is a focused diagnosis with evidence. Empty when no failure evidence is found. The best first call when a run failed. Depot: CIService/GetFailureDiagnosis.
| Parameter | Type | Description |
|---|---|---|
target_id * | string | The run, workflow, job or attempt id. |
target_type * | string | What target_id identifies. |
depot_gha_list_jobs List GitHub Actions jobs on Depot runners
List GitHub Actions jobs that ran on Depot-managed runners, newest first: status, conclusion, runner label, requested CPU/memory, duration, billable time and GitHub URL. Defaults to the last 30 days (max window 90 days). Depot: GithubActionsService/ListGithubActionsJobs.
| Parameter | Type | Description |
|---|---|---|
conclusions | array | Job conclusions to include, e.g. ["failure"]. |
end_at | string | Window end, RFC 3339 (e.g. 2026-09-18T00:00:00Z). |
page_size | integer | Page size, 1-250. |
page_token | string | Cursor from the previous response's nextPageToken. Omit for the first page. |
query | string | Case-insensitive text matched against job and workflow names; numeric values also match exact GitHub job/run ids. |
repositories | array | Connected repositories in owner/name format, e.g. ["acme/widgets"]. Empty = all. |
runner_labels | array | Runner labels to include. |
start_at | string | Window start, RFC 3339 (e.g. 2026-09-17T00:00:00Z). |
statuses | array | Job states to include. |
depot_gha_search_logs Search GitHub Actions logs
Search GitHub Actions log lines from Depot runners, newest match first (job, workflow, step, timestamp, body, lineId). Defaults to the last hour (max window 30 days). Filter by repository, workflow, runner label, action or compute id. Depot: GithubActionsService/SearchGithubActionsLogs.
| Parameter | Type | Description |
|---|---|---|
actions | array | Actions to include, e.g. actions/checkout. |
compute_id | string | A single Depot compute id. |
end_at | string | Window end, RFC 3339 (e.g. 2026-09-18T00:00:00Z). |
page_size | integer | Page size, 1-1000. |
page_token | string | Cursor from the previous response's nextPageToken. Omit for the first page. |
query | string | Text to match in log bodies, e.g. "timeout". Empty returns unfiltered lines. |
repositories | array | Connected repositories in owner/name format, e.g. ["acme/widgets"]. Empty = all. |
runner_labels | array | Runner labels to include. |
start_at | string | Window start, RFC 3339 (e.g. 2026-09-17T00:00:00Z). |
workflows | array | Workflow names to include. |
depot_gha_get_analytics Get GitHub Actions analytics
Get time-bucketed GitHub Actions analytics for Depot runners: job counts (successful/failed/cancelled), failure rate, elapsed and billable seconds, average duration — as totals plus hourly or daily buckets. Defaults to the last 30 days (max 90). Depot: GithubActionsService/GetGithubActionsAnalytics.
| Parameter | Type | Description |
|---|---|---|
aggregation_unit | string | Bucket size. Default: day. |
end_at | string | Window end, RFC 3339 (e.g. 2026-09-18T00:00:00Z). |
jobs | array | Job display names to include. |
repositories | array | Connected repositories in owner/name format, e.g. ["acme/widgets"]. Empty = all. |
runner_labels | array | Runner labels to include, e.g. depot-ubuntu-24.04-8. |
start_at | string | Window start, RFC 3339 (e.g. 2026-09-17T00:00:00Z). |
workflow_paths | array | Workflow file paths to include, e.g. .github/workflows/ci.yml. |
workflows | array | Workflow names to include. |
depot_gha_list_recommendations List runner-size recommendations
List Depot's runner-size recommendations from job CPU and memory metrics: SIZE_UP when average CPU or memory reaches 90%, SIZE_DOWN when both averages stay ≤30% and peaks ≤70%, with current vs suggested size and per-minute price. Defaults to the last 30 days. Depot: GithubActionsService/ListGithubActionsRecommendations.
| Parameter | Type | Description |
|---|---|---|
end_at | string | Window end, RFC 3339 (e.g. 2026-09-18T00:00:00Z). |
jobs | array | Job display names to include. |
page_size | integer | Page size, 1-250. |
page_token | string | Cursor from the previous response's nextPageToken. Omit for the first page. |
repositories | array | Connected repositories in owner/name format, e.g. ["acme/widgets"]. Empty = all. |
runner_labels | array | Runner labels to include, e.g. depot-ubuntu-24.04-8. |
start_at | string | Window start, RFC 3339 (e.g. 2026-09-17T00:00:00Z). |
workflow_paths | array | Workflow file paths to include, e.g. .github/workflows/ci.yml. |
workflows | array | Workflow names to include. |
depot_cache_list_entries List cache entries
List Depot Cache entries of one type, optionally by key prefix: key, size in bytes, name and creation time (Depot returns no last-access time and no repository). Retention and size limits are set only in the dashboard (Organization Settings), not through the API. Depot: CacheService/ListEntries on cache.depot.dev.
| Parameter | Type | Description |
|---|---|---|
entry_type * | string | Cache type, as the Depot Cache Explorer labels it (Depot dashboard → Cache). "generic" is what the depot CLI writes; build tools (Gradle, Go, Bazel, Turborepo, GitHub Actions…) use their own types… |
key_prefix | string | Only keys that start with this text. |
page_size | integer | Page size, 1-1000. |
page_token | string | Cursor from the previous response's nextPageToken. Omit for the first page. |
depot_cache_delete_entries Delete cache entries
WRITE — deletes cached build data; a later build rebuilds it. Delete Depot Cache entries by exact key. Without confirm it only previews: it shows which keys exist, with their size, and deletes nothing. Show the preview to the user, then call again with confirm: true. Depot: CacheService/DeleteEntry on cache.depot.dev.
| Parameter | Type | Description |
|---|---|---|
entry_type * | string | Cache type, as the Depot Cache Explorer labels it (Depot dashboard → Cache). "generic" is what the depot CLI writes; build tools (Gradle, Go, Bazel, Turborepo, GitHub Actions…) use their own types… |
keys * | array | Exact keys to delete (1-50), from depot_cache_list_entries. Prefixes are not expanded. |
confirm | boolean | true = delete now. Omit or false = preview only (nothing is deleted). |
depot_create_project Create a project
WRITE. Create a Depot container-build project (an isolated build cache). Idempotent by name: if an active project with the same name exists, that project is returned. Defaults: cache 50 GB / 14 days, hardware HARDWARE_16X32 on AWS builders. Depot: ProjectService/CreateProject.
| Parameter | Type | Description |
|---|---|---|
name * | string | Display name for the project. |
region_id * | string | Depot region or cloud connection, e.g. us-east-1 or eu-central-1. |
build_timeout_minutes | integer | Max duration of each build, minutes. Omit for no timeout. |
cache_keep_days | integer | Days to keep cache entries since last use (1-30). Default 14. |
cache_keep_gb | integer | Max cache size per architecture, GB (25-1000). Default 50. |
hardware | string | Builder size, e.g. HARDWARE_16X32 (16 CPU / 32 GB). |
max_concurrent_builds | integer | Builds per builder before autoscaling adds one. Omit to disable autoscaling. |
organization_id | string | Owning organization. Only needed for user tokens that belong to more than one org. |
depot_ci_retry_job Retry a CI job
WRITE — starts compute. Retry one failed or cancelled Depot CI job, plus any skipped jobs that depend on it. Fails if a dependent job already started; use depot_ci_retry_failed_jobs then. Depot: CIService/RetryJob.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | Job id to retry. |
workflow_id * | string | Workflow id containing the job, from depot_ci_get_run_status. |
depot_ci_retry_failed_jobs Retry a workflow's failed jobs
WRITE — starts compute. Retry only the failed and cancelled jobs in a Depot CI workflow, plus skipped jobs that depend on them. Jobs that succeeded are left alone. Depot: CIService/RetryFailedJobs.
| Parameter | Type | Description |
|---|---|---|
workflow_id * | string | Workflow id, from depot_ci_get_run_status or depot_ci_list_workflows. |
depot_ci_cancel_run Cancel a CI run
WRITE — stops work in progress. Cancel a queued or running Depot CI run and all of its unfinished workflows, jobs and attempts. Cancelled jobs can be retried afterwards with depot_ci_retry_failed_jobs. Depot: CIService/CancelRun.
| Parameter | Type | Description |
|---|---|---|
run_id * | string | CI run id, from depot_ci_list_runs. |