beekeeper-mcp

v0.1.2
beekeeper-mcp Checked 2 days ago Published 7 months ago

MCP server for Beekeeper ML training manager

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

get_version Get Version

Check MCP and server version compatibility. Call this at the start of any session to verify your MCP client is up to date. Returns mcp_version, server_version, min_mcp_version, and an 'outdated' flag. If outdated is true, reinstall: pip install -e /path/to/beekeeper

list_projects List Projects

List all projects and their current setup/training status.

get_project Get Project

Get detailed info for a single project including config, status, and run history.

ParameterTypeDescription
name *string

create_project Create Project

Create a new project. Setup (clone, env creation, pip install) runs automatically in the background. Poll get_project until setup_status == 'ready', or call wait_for_setup to block until done. output_paths: workspace-relative directories the training script writes to that should survive workspace cleanup (e.g. ["saved_models", "exports"]). TensorBoard logs are protected automatically — do not include the TB log dir here. Defaults to [] (env vars still point at persistent storage; only symlinks differ).

ParameterTypeDescription
git_url *string
name *string
branchstring
env_typestring
output_paths
python_versionstring
train_filestring

delete_project Delete Project

Delete a project and all its data (workspace, venv, logs). Irreversible.

ParameterTypeDescription
name *string

retry_setup Retry Setup

Retry a failed project setup. If wait=True (default), polls until setup completes or fails, returning the final status. If wait=False, returns immediately after triggering the retry.

ParameterTypeDescription
name *string
timeout_secondsinteger
waitboolean

get_project_instructions Get Project Instructions

Fetch project-specific agent instructions as markdown. Contains full context about the project's purpose, metrics, and recommended workflows. Read this before analyzing or managing a project you haven't worked with before.

ParameterTypeDescription
name *string

start_training Start Training

Start training for a project. branch overrides the project's configured default. The pre-launch sequence (git sync, pip install) runs first — 30-120s. Returns run_id. Use training_status() to confirm the run is active.

ParameterTypeDescription
name *string
branch

stop_training Stop Training

Stop a training run. Provide run_id when multiple runs are active on the same project. If only one run is active and run_id is omitted, it stops automatically.

ParameterTypeDescription
name *string
run_id

training_status Training Status

Get all active training runs for a project. Returns a list of runs, each with run_id, branch, status, elapsed seconds, pid, tb_port. Use run_id values when calling stop_training or get_logs for a specific run.

ParameterTypeDescription
name *string

get_logs Get Logs

Fetch the last N lines of training logs for a specific run. Provide run_id when multiple runs are active — required to avoid ambiguity. Use tail=500 for more context, tail=50 for a quick check.

ParameterTypeDescription
name *string
run_id
tailinteger

analyze_run Analyze Run

Synthesized analysis of a training run. Returns TensorBoard metrics (trends, peaks, convergence) plus a raw log tail. Interpret the log content yourself — Beekeeper does not parse or summarize log text. Use get_logs for a larger tail or download the full log via the run's log download endpoint if needed. When parallel runs are active and no run_id is given, returns an analysis for each active run keyed by run_id.

ParameterTypeDescription
name *string
run_id

list_branches List Branches

List all remote branches for a project and show which is currently active.

ParameterTypeDescription
name *string

switch_branch Switch Branch

Switch a project to a different branch. Training must be stopped first. The workspace is updated in-place (git fetch + reset).

ParameterTypeDescription
branch *string
name *string

get_stats Get Stats

Get system stats: GPU utilization, VRAM, CPU, and RAM.

check_busy Check Busy

Check if any training is running. Returns busy=True/False and running_projects list. Prefer get_capacity() for new workflows — it shows available headroom, not just busy/free.

get_capacity Get Capacity

System-wide training capacity. Returns total_slots, running, available, and per-project breakdown. Use this before starting a new run — it tells you not just busy/free but how much headroom exists. Prefer this over check_busy() for any new agent workflows.