openqa-mcp
This MCP server provides an interface to the openQA REST API, enabling both read-only querying and mutating operations (the latter requiring API credentials).
Read Operations (no credentials required):
List and filter jobs by state, result, distribution, version, build, etc.; get job overviews and full details
Get lightweight job status (id, state, result, blocked_by_id) or full test-module/step breakdown
Find jobs by a specific setting key-value pair
List comments on jobs, job groups, and parent job groups
List configured machines, test suites, products, job groups, parent groups, assets, workers, and tracked bugs
Get aggregated build results for a job group
Get scheduled product details and ISO job statistics
Full-text search across jobs, groups, and test modules
Check current identity (
whoami)
Mutating Operations (require API credentials):
Restart, cancel, duplicate, delete, or set priority on jobs; bulk-restart or cancel-all-matching jobs
Add, update, or delete comments on jobs, job groups, and parent job groups
Trigger ISO test scheduling for a product; cancel a scheduled product
Create tracked bug references
Configuration & Deployment:
Configurable via environment variables (
OPENQA_SERVER,OPENQA_API_KEY,OPENQA_API_SECRET,OPENQA_VERIFY) or~/.config/openqa/client.confRun in read-only mode (
--readonly/OPENQA_READONLY=true) to disable all mutating toolsSupports stdio transport (default, for local clients) or HTTP transport (
--http) for remote/shared deployments
Provides tools to interact with the openQA REST API, enabling management of jobs, comments, machines, test suites, and products for automated testing.
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., "@openqa-mcp list recent openQA jobs"
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.
openqa-mcp
An MCP server that exposes curated, typed tools over the openQA REST API. It is built on fastmcp 3.x and the openqa-async transport client.
Read tools work anonymously; mutating tools require API credentials and
return 403 without them.
Install
uv syncThis installs the package and its dependencies into a project virtualenv
and exposes the openqa-mcp console script.
Related MCP server: vyos-mcp
Configuration
The server reads its configuration from environment variables, falling back to the openQA client config file for credentials.
Environment variables
Variable | Default | Purpose |
| openqa-async default | openQA host (e.g. |
| (unset) | API key; overrides the config file when set. |
| (unset) | API secret; overrides the config file when set. |
|
| TLS verification: |
|
| Per-request HTTP timeout (seconds) for openQA calls; raise for slow queries like large |
OPENQA_API_KEY and OPENQA_API_SECRET only take effect when both are
set; a partial pair is ignored so the client is never half-configured.
Config file
If the env credentials are not set, openqa-async loads them from
~/.config/openqa/client.conf (or /etc/openqa/client.conf). Generate a
key/secret from the API keys page of your openQA instance and add a section
keyed by the host:
[openqa.opensuse.org]
key = YOUR_API_KEY
secret = YOUR_API_SECRETWithout any credentials the server is GET-only (read tools succeed, mutating
tools get 403).
Tools
Read tools
Tool | Description |
| List jobs matching the given filters. Pass |
| List a condensed jobs overview matching the given filters. Pass |
| Get full details for a single job. |
| List comments on a job. |
| List configured worker machines. |
| List configured test suites. |
| List configured products (mediums). |
| Find jobs whose setting |
| Get a single job with full test-module/step details. |
| Get a lightweight job status (id, state, result, blocked_by_id). |
| List job groups. |
| Get a single job group. |
| List jobs belonging to a job group. |
| Get aggregated build results for a job group. |
| List parent job groups. |
| Get a single parent job group. |
| List assets known to the system. |
| Get a single asset by id. |
| List registered worker instances. |
| List tracked bugs referenced by jobs. |
| Full-text search across jobs, groups, and test modules. |
| Get a scheduled product (result of a prior ISO trigger). |
| Get job statistics for scheduled products. |
| List comments on a job group. |
| List comments on a parent job group. |
list_jobs and list_jobs_overview accept the same optional filters:
state, result, distri, version, build, test, arch, machine,
groupid, group, latest, limit, ids. list_jobs additionally accepts
offset for pagination (the overview endpoint returns only the latest job per
scenario and is not paginated). Unset filters are dropped from the request.
Both also accept summary (default False). The default full result can be
very large (~1.5 MB / 150+ jobs for a populated build) and may be truncated by
MCP clients. Pass summary=True for a compact per-result breakdown:
{
"total": 156,
"by_result": {"passed": 57, "softfailed": 61, "failed": 7, "...": 0},
"by_state": {"done": 136, "cancelled": 20},
"by_arch": {"x86_64": 78, "aarch64": 39, "s390x": 39},
"jobs": {"failed": [{"id": 1, "test": "install", "arch": "x86_64"}], "...": []}
}Jobs bucket by result; in-progress jobs (result none) bucket by state
(e.g. running, scheduled). To work with the full data instead, save it to a
temporary file and process it with jq, e.g.
jq '.jobs[] | select(.result=="failed")'.
Mutating tools (require credentials)
Tool | Description |
| Restart each of the given jobs. |
| Cancel a running or scheduled job. |
| Add a comment to a job. |
| Trigger ISO test scheduling for a product. |
| Delete a job. |
| Duplicate (clone) a job. |
| Set the priority of a job. |
| Restart several jobs in one bulk request. |
| Cancel all jobs matching the given filters. |
| Add a comment to a job group. |
| Add a comment to a parent job group. |
| Update an existing job comment. |
| Delete a job comment. |
| Create a tracked bug reference. |
| Cancel a scheduled product / ISO by name. |
Mutating tools carry the mutating tag so MCP clients can gate them behind
confirmation. To drop them entirely, start the server in read-only mode with
--readonly (or OPENQA_READONLY=true): the mutating tools are never
registered, so clients see only the read tools.
Running
stdio (default)
Most local MCP clients spawn the server over stdio. Wire it in with:
uv run openqa-mcpExample MCP client configuration:
{
"mcpServers": {
"openqa": {
"command": "uv",
"args": ["run", "openqa-mcp"],
"env": {
"OPENQA_SERVER": "openqa.opensuse.org"
}
}
}
}HTTP (optional)
For remote or shared deployments, run over HTTP with --http:
uv run openqa-mcp --http --server 127.0.0.1 --port 8000The server can also be launched as a module:
uv run python -m openqa_mcp --http --port 8000Flag | Default | Purpose |
| off | Serve over HTTP instead of stdio. |
| on | Serve over stdio; overrides |
|
| HTTP bind host. |
|
| HTTP bind port. |
| off | Unregister all mutating tools (read-only server). |
Flags override the environment, which supplies the defaults:
Variable | Default | Purpose |
|
| Set to |
|
| Default HTTP bind host. |
|
| Default HTTP bind port. |
|
| Set truthy ( |
|
| Seconds between progress "heartbeat" pings sent while a tool waits on a slow openQA call, so MCP clients see liveness instead of timing out. Set |
Press Ctrl-C to stop; the server shuts down cleanly and closes its client.
Development
uv run pytest # run the test suite
uv run ruff check . # lintAvailable Tools
40 toolsadd_group_commentC
Add a comment to a job group.
Inputs: text (required), group_id (required). Returns: result
add_job_commentC
Add a comment to a job.
Inputs: text (required), job_id (required). Returns: result
add_parent_group_commentB
Add a comment to a parent job group.
Inputs: text (required), parent_group_id (required). Returns: result
cancel_jobC
Cancel a running or scheduled job.
Inputs: job_id (required). Returns: result
cancel_jobsC
Cancel all jobs matching the given filters.
Inputs: arch, test, build, group, +6 more. Returns: result
cancel_scheduled_productC
Cancel a scheduled product / ISO by name.
Inputs: name (required). Returns: result
create_bugC
Create a tracked bug reference.
Inputs: bugid (required), title. Returns: result
delete_jobD
Delete a job.
Inputs: job_id (required). Returns: result
delete_job_commentC
Delete a job comment.
Inputs: job_id (required), comment_id (required). Returns: result
duplicate_jobC
Duplicate (clone) a job.
Inputs: job_id (required), prio, dup_type_auto. Returns: result
find_jobs_by_settingA
Find jobs whose setting key equals list_value.
Inputs: key (required), list_value (required). Returns: result
get_assetC
Get a single asset by id.
Inputs: asset_id (required). Returns: result
get_iso_job_statsB
Get job statistics for scheduled products.
Inputs: no named parameters. Returns: result
get_jobB
Get full details for a single job.
Inputs: job_id (required). Returns: result
get_job_commentsC
List comments on a job.
Inputs: job_id (required). Returns: result
get_job_detailsB
Get a single job with full test-module/step details.
Inputs: job_id (required). Returns: result
get_job_groupC
Get a single job group.
Inputs: group_id (required). Returns: result
get_job_group_build_resultsC
Get aggregated build results for a job group.
Inputs: group_id (required), show_tags, only_tagged, limit_builds, +1 more. Returns: result
get_job_statusB
Get a lightweight job status (id, state, result, blocked_by_id).
Inputs: job_id (required), follow. Returns: result
get_parent_groupC
Get a single parent job group.
Inputs: group_id (required). Returns: result
get_scheduled_productC
Get a scheduled product (result of a prior ISO trigger).
Inputs: scheduled_product_id (required). Returns: result
list_assetsB
List assets known to the system.
Inputs: no named parameters. Returns: result
list_bugsB
List tracked bugs referenced by jobs.
Inputs: no named parameters. Returns: result
list_group_commentsC
List comments on a job group.
Inputs: group_id (required). Returns: result
list_job_group_jobsC
List jobs belonging to a job group.
Inputs: group_id (required). Returns: result
list_job_groupsB
List job groups.
Inputs: no named parameters. Returns: result
list_jobsA
List jobs matching the given filters.
WARNING: the full result can be very large (~1.5 MB / 150+ jobs for a
populated build) and may be truncated by MCP clients. For triage, pass
summary=True for a compact per-result breakdown. To work with the full data,
save it to a temporary file and process it with jq, e.g.
jq '.jobs[] | select(.result=="failed")'.
Inputs: ids, arch, test, build, +11 more. Returns: result
list_jobs_overviewA
List a condensed jobs overview matching the given filters.
WARNING: the full result can be very large (~1.5 MB / 150+ jobs for a
populated build) and may be truncated by MCP clients. For triage, pass
summary=True for a compact per-result breakdown. To work with the full data,
save it to a temporary file and process it with jq, e.g.
jq '.jobs[] | select(.result=="failed")'.
Inputs: ids, arch, test, build, +10 more. Returns: result
list_machinesB
List configured worker machines.
Inputs: no named parameters. Returns: result
list_parent_group_commentsC
List comments on a parent job group.
Inputs: parent_group_id (required). Returns: result
list_parent_groupsB
List parent job groups.
Inputs: no named parameters. Returns: result
list_productsB
List configured products (mediums).
Inputs: no named parameters. Returns: result
list_test_suitesB
List configured test suites.
Inputs: no named parameters. Returns: result
list_workersC
List registered worker instances.
Inputs: no named parameters. Returns: result
restart_jobsC
Restart each of the given jobs.
Inputs: job_ids (required). Returns: result
restart_jobs_bulkC
Restart several jobs in one bulk request.
Inputs: job_ids (required), prio, force. Returns: result
searchC
Full-text search across jobs, groups, and test modules.
Inputs: q (required). Returns: result
set_job_priorityC
Set the priority of a job.
Inputs: prio (required), job_id (required). Returns: result
trigger_isosC
Trigger ISO test scheduling for a product.
Inputs: arch (required), distri (required), flavor (required), version (required), +1 more. Returns: result
update_job_commentC
Update an existing job comment.
Inputs: text (required), job_id (required), comment_id (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 40 tools
Tools are generally distinct, targeting specific resources and actions. However, list_jobs and list_jobs_overview serve similar purposes with different output detail, and find_jobs_by_setting overlaps with list_jobs filtering, causing slight ambiguity.
All tools use snake_case with a verb-first pattern (e.g., delete_job, list_machines). A few exceptions like find_jobs_by_setting and list_jobs_overview deviate slightly but remain consistent in style.
40 tools is relatively high for an MCP server, indicating a broad scope. While each tool serves a specific function, the count may be overwhelming for simple use cases, though justified for a full-featured openQA client.
The tool surface covers major operations for jobs, groups, comments, assets, and scheduling. Minor gaps exist, such as missing update/delete for bugs and direct job creation, but core workflows are well-supported.
Maintenance
Related MCP Connectors
Manage repositories, users, releases, and automate GitHub workflows
Operate your oec.sh Odoo servers, projects and environments with your own API key.
Read pretix events, tickets and orders; check attendees in or out with your own account.
Read Weblate projects, strings, stats and changes; translate, suggest, comment and autotranslate.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables management of Xen Orchestra (XOA) via its REST API, including listing VMs, backup jobs, logs, and repositories.2-
- AlicenseNot gradedqualityDmaintenanceEnables managing VyOS appliances through their HTTP API, providing tools for configuration, operational commands, and interactive troubleshooting.MIT
- FlicenseNot gradedqualityDmaintenanceEnables testing and interacting with the Garmonia hotel CRM through its internal API, including orders, clients, brands, calendar, and general CRUD operations via an authenticated session.-
- AlicenseAqualityCmaintenanceEnables agents to inspect and manage Hydra CI instances, including projects, jobsets, evaluations, builds, logs, queues, and authenticated actions such as triggering evaluations, controlling builds, and editing projects and jobsets.18MIT