lava-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@lava-mcpshow me the status of all devices"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
lava-mcp
An MCP server that exposes a LAVA instance to agents (and humans) — letting them query the board farm, submit and manage test jobs, open interactive sessions to a board, reach a board's serial console, serve build artifacts to jobs, and read the deployed LAVA's own docs and source.
It is a thin client over LAVA's REST API (v0.2/v0.3); point it at any LAVA instance.
Quick start
pip install -e .[dev]
export LAVA_URL=https://lava.example.com
export LAVA_TOKEN=<your-api-token>
lava-mcp # stdio, for a local MCP clientFor a hosted HTTPS deployment (required by the interactive, console and artifact features) and per-request token handling, see docs/deployment.md.
Related MCP server: lava-mcp
Features
Each feature is documented on its own page:
LAVA jobs & inventory — the core proxy: query devices/jobs and run the standard deploy/boot/test job. Includes building jobs from templates, the "jobs are independent" rules, and searching jobs by metadata. Start here.
Interactive board sessions — a shell in a container next to the board (flashing,
fastboot/adb/qdl, bring-up) over an SSH gateway;run_in_session,attach_shell, and the device-command power/recovery relay.Serial console — the board's own UART via a ser2net proxy: boot/kernel logs and a live console, with or without a deploy+boot job.
Artifact store — upload a build product the server hosts temporarily; LAVA (or a booted device / container) fetches it back, with the secret kept out of the job via LAVA remote-artifact tokens.
LAVA docs & source mirror —
read_lava_docsserves the deployed LAVA's documentation and source from a local git mirror at the exact deployed ref.
Supporting docs:
Deployment & credentials — install, token handling, stdio vs hosted, docker compose + Caddy.
Configuration reference — every environment variable and CLI flag.
Security model — gateway trust model, enforced controls, and operator responsibilities.
Roadmap — design notes and future work.
Tools
Read/observe: whoami, version, list_devices, get_device,
get_device_dictionary, get_qdl_info, list_device_types, list_workers,
list_jobs, get_job, get_job_definition, get_job_logs, get_job_results,
get_queue, get_running, get_lab_health, find_boot_template, validate_job,
list_remote_artifact_tokens.
Write (omitted with --read-only): submit_job, cancel_job, resubmit_job.
Interactive board sessions (hosted gateway mode): open_board_session, run_in_session,
attach_shell, run_device_command, close_board_session, list_board_sessions.
Serial console (hosted gateway mode): check_serial_console_support,
open_console_session, check_console_ready, attach_console, close_console_session.
Artifact store (hosted mode, when enabled): create_artifact_upload, list_artifacts,
delete_artifact.
LAVA docs & source (when LAVA_SOURCE_REPO is set): read_lava_docs.
Test
pytestLicense
MIT — see LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
Authenticated async Opus 4.8 Agent agent with status polling and artifact results.
Provides capabilities that let LLM agents perform a range of infrastructure management tasks.
Create, watch, pay for and connect hosted AI agent pods on AgentsPodium. Needs an API key.
Discover, search, invoke, and rate A2A (Agent-to-Agent) protocol agents.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables an agent to run shell commands through a JupyterLab/JupyterHub-hosted terminal, using REST API and WebSocket via Selenium for session handling, when SSH is not available.GPL 3.0
- FlicenseBqualityFmaintenanceAn MCP server that exposes a LAVA instance to agents, enabling querying the board farm, submitting and managing test jobs, and opening interactive board sessions.21-
- AlicenseCqualityAmaintenanceEnables interaction with openQA instances through the REST API, offering read tools for jobs, machines, and test suites, as well as mutating tools like restart and cancel with optional authentication.40GPL 2.0
- AlicenseAqualityBmaintenanceEnables coding agents to discover, message, poll, cancel, and register remote A2A agents via MCP, with an optional read-only local activity dashboard.5MIT