mcp-testops
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TESTOPS_TOKEN | Yes | API token for Allure TestOps. Required: the server refuses to start without it (fails with `TESTOPS_TOKEN is not set`). | |
| MCP_SERVER_NAME | No | Name of the server as it appears in the client. | testops |
| TESTOPS_TIMEOUT | No | Request timeout in seconds. | 60 |
| TESTOPS_BASE_URL | No | Host (base URL) of the TestOps instance. | https://testops.net |
| TESTOPS_READ_ONLY | No | When `true`, only read-only tools are registered (17 of 30); write tools are hidden. | false |
| TESTOPS_PROJECT_ID | No | Default project ID used by tools that are called without an explicit `project_id`. | |
| TESTOPS_VERIFY_SSL | No | TLS certificate verification. Defaults to `false` (verification disabled) for internal stands with a self-signed CA; set to `true` for a valid certificate. | false |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_test_casesA | List test cases of a project as rows: id, name, status, automated. A row carries only what the stand puts there - on a 2026 stand that is id, name, status, automated; testLayer and flaky appear when the row has them. Rows carry no description and no steps: read one case with get_test_case and its steps with get_test_case_steps. Deleted cases are not listed; search_test_cases(deleted=true) shows the bin. project_id defaults to TESTOPS_PROJECT_ID. sort: "property,ASC|DESC", e.g. "createdDate,DESC"; the stand takes one field only. |
| get_test_caseA | Get one test case by id: texts, status, workflow, testLayer, tags, links, flags. Flags are automated, flaky, deleted and duration. The answer does NOT contain the scenario/steps (TestCaseDto has none) and says so with "steps_not_included": true - read them with get_test_case_steps. |
| get_test_case_stepsA | Read the scenario (steps) of a test case. as_tree=true (default) returns nested steps: {id, body, expectedResult, attachmentId, sharedStepId, children}. as_tree=false returns the raw scenarioSteps map by id. A case without a scenario answers "steps": []. A shared step appears as a node with sharedStepId plus a "sharedStep" object: {id, name, steps} with its own steps resolved. Attachment contents are not inlined either - only attachmentId. |
| get_test_case_historyA | Which launches ran a test case, and with what result. Answers "where was this case run": each row is {testResultId, launchId, launchName, status, start, stop, duration}. launch_id narrows to one launch, search narrows by result text. project_id defaults to TESTOPS_PROJECT_ID. The row of this endpoint carries no message and no testedBy - for those and the rest of the result, call get_test_result(testResultId). |
| search_test_casesA | Search test cases with AQL (the API calls it rql) and return full cases. Give either rql or name. name becomes the AQL query name ~= "" on the server (substring match), nothing is filtered client-side. Test-case AQL, as the stand accepts it (docs.qameta.io/reference/aql): name ~= "login" (substring), name = "Login smoke" (exact), name != "x" tag = "smoke", tag in ["smoke", "regress"], not tag = "smoke" status = "Active", workflow = "Default Manual", layer = "API" automation = true, flaky = false, muted = true cf["Severity"] = "high", cfv in ["high"], role["Owner"] = "user1" id >= 100, createdDate > 1672531200000 (dates are epoch milliseconds, unquoted) conditions join with and / or, group with parentheses, negate with not Field names are not the DTO's: automation (not automated), layer (not testLayer), tag = "smoke" (not tag.name = "smoke"). Run validate_aql first when unsure. Returns {content: [case fields], rql, totalElements, totalPages, number}. |
| validate_aqlA | Check an AQL query (the API calls it rql) before running search_test_cases. Returns {ok, valid, count}: count is how many test cases the query selects, so a typo is caught before a real search. project_id defaults to TESTOPS_PROJECT_ID; deleted=true counts removed cases too. rql is required. |
| create_test_caseA | Create a test case and return {ok, id, name, projectId}. name is required, project_id defaults to TESTOPS_PROJECT_ID. JSON-string arguments: tags_json [{"id": 3, "name": "smoke"}] (the API requires the tag id) links_json [{"name": "JIRA", "type": "issue", "url": "https://jira/browse/ABC-1"}] members_json [{"id": 7, "name": "ivanov", "role": {"id": 1, "name": "MEMBER"}}] (role is an object RoleDto, not a plain string) custom_fields_json [{"customField": {"id": 12, "name": "Severity"}, "name": "high"}] (the API requires both id and name of the custom field) scenario_json {"steps": [{"type": "body", "body": "Open the form"}]} Ids for status_id, workflow_id and test_layer_id come from list_statuses and list_reference. More steps are added with add_test_case_step. |
| update_test_caseA | Update fields of a test case; only the arguments you pass are sent. An empty string means "leave the field alone" unless clear=true, where an empty string clears the field. JSON-string arguments are the same as in create_test_case. |
| delete_test_caseA | Delete a test case; the API answers 202 and moves it to the trash. Without force a case that has run results may stay; force=true deletes it anyway, together with its scenario. Restoring a case is not exposed as a tool. |
| add_test_case_stepA | Add a step to a test case scenario and return {createdStepId, steps_count}. Exactly one of body (step text), attachment_id, shared_step_id is required. parent_step_id makes the new step a child of an existing step. |
| list_launchesA | List launches of a project: id, name, closed, createdDate, statistic. statistic holds status counts as the API returns them, e.g. {passed, failed, broken, skipped, unknown} or StatisticDto with inProgress, pending and total; it is absent when the launch shape carries none. The API answers with two different launch shapes; both are read into this summary. search narrows by launch name: it becomes the launch AQL name ~= "" on /api/launch/__search. rql takes a launch AQL query instead (name ~= "release", tag = "smoke", job = "jenkins_master", closed = true, ev["OS"] = "Linux", createdDate > 1672531200000); rql wins over search. A plain search= on the launch list is ignored by the stand and answers 400 on dates, so filtering goes through AQL. project_id defaults to TESTOPS_PROJECT_ID; sort defaults to "created_date,DESC". |
| get_launchC | Get one launch: id, name, projectId, closed, createdDate, autoclose, releaseId, tags, links. |
| get_launch_statisticA | Status counts of a launch as {passed: n, failed: n, broken: n, skipped: n, ...}. Cheaper than listing the results: one request instead of paging through them. |
| list_test_resultsB | List results of a launch: id, name, testCaseId, status, duration, message, trace, start, stop. status is one of failed, broken, passed, skipped, unknown, in_progress. message and trace are the failure text and the stack, when the run produced them - so a failed result is readable without a second call. hidden marks a result that is a retry or was hidden by a user; the API keeps those in the launch, so check the flag before counting. parameters carries the values of a parameterized run, empty otherwise - it is what tells two rows with the same name apart. |
| get_test_resultA | Get one test result: status, duration, message, trace and the text fields. hidden marks a retry or a result hidden by a user; parameters holds the values of a parameterized run. The *Html duplicates are dropped. For the small table of a whole launch use list_test_results or get_launch_statistic. |
| create_launchB | Create a launch and return {ok, id, name, projectId}. tags_json: [{"id": 3, "name": "regress"}]; links_json: [{"name": "JIRA", "type": "issue", "url": "https://jira/browse/ABC-1"}]. |
| close_launchB | Close a launch; the API answers 204. Results are read-only afterwards. |
| reopen_launchB | Reopen a closed launch so results can be added again; the API answers 204. |
| delete_launchB | Delete a launch together with all its results; the API answers 204. |
| add_test_resultA | Record a test result in a launch and return {ok, id, name, launchId}. status must be one of failed, broken, passed, skipped, unknown, in_progress; any other value fails here, without a request. duration, start and stop are milliseconds (int64). test_case_id is required: it is the case the result belongs to, and the stand answers 500 for a manual result without one. JSON-string arguments: tags_json [{"id": 3, "name": "smoke"}] links_json [{"name": "JIRA", "type": "issue", "url": "https://jira/browse/ABC-1"}] custom_fields_json [{"customField": {"id": 12, "name": "Severity"}, "name": "high"}] |
| run_test_casesA | Create a launch with one manual result per selected test case. Select the cases with one of: ids (comma separated or JSON array of tree leaf ids, becomes selection.leafsInclude), leafs_include (explicit JSON array) or filter_id (saved filter); ids and leafs_include are mutually exclusive. The API field is leafsInclude: there is no leafIds and no rql in the selection. assignees: comma separated user logins; tags_json: [{"id": 3, "name": "regress"}]. Returns {ok, launchId, name, projectId}. |
| list_test_plansA | List test plans of a project: id, name, projectId, baseRql, testCasesCount. project_id defaults to TESTOPS_PROJECT_ID. search filters the returned page by name on the client: the API has no text filter for plans - its own search= answers 400 on most strings and never narrows a list - so totalElements stays the project-wide count and content holds the matches of this page. |
| get_test_planC | Get one test plan: id, name, projectId, baseRql, testCasesCount, treeSelection. |
| create_test_planB | Create a test plan and return {ok, id, name, projectId}. base_rql is the AQL selection of the plan (e.g. tag.name = "smoke"). tree_selection_json: {"leafsInclude": [1001], "inverted": false} - the plan takes TreeSelectionDto, which has no filterId (that one belongs to running cases). |
| update_test_planA | Update fields of a test plan; only the arguments you pass are sent. An empty string means "leave the field alone" unless clear=true, where an empty string clears the field. tree_selection_json: {"leafsInclude": [1001], "inverted": false}. |
| delete_test_planA | Delete a test plan; the API answers 204. The test cases themselves stay. |
| list_projectsA | List TestOps projects, ordered by name. search: substring of the project name, filtered by the server (the parameter is query there; its own search= is ignored and answers 400 on non-ASCII names). favorite: only starred projects. page starts at 0, size is capped at 100. Returns {content, totalElements, totalPages, number} with id, name, abbr, isPublic, isVersioned, launchCount, automationPercent per project. |
| get_projectC | Get one project by id: id, name, abbr, isPublic, isVersioned, launchCount, automationPercent. |
| list_statusesA | List test statuses (id, name, color) - they give status_id for create_test_case. workflow_id narrows the answer to one workflow. The endpoint takes no project id: statuses are defined by workflows, not by projects. |
| list_referenceB | List a reference dictionary by kind: workflow, testlayer, custom_field or tag. Returns id and name of every entry - they are what create_test_case wants in workflow_id, test_layer_id and custom_fields_json. custom_field is project scoped (project_id defaults to TESTOPS_PROJECT_ID) and takes query; each custom field also carries required and singleSelect, which is what decides whether a value must be given and whether it is one of a list. tag is filtered and paged on the server: the full dictionary is hundreds of thousands of entries, so pass query (a piece of the tag name) to get the ones you need. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 30 tools
Most tools target a distinct resource+action, and the descriptions actively disambiguate the tricky pairs (list_test_cases vs search_test_cases, get_test_case vs get_test_case_steps, list_test_results vs get_test_result vs get_launch_statistic). The main residual overlap is launch/result creation: run_test_cases, create_launch, and add_test_result all produce results-bearing launches, which an agent could plausibly confuse despite the explanations.
Every tool follows a predictable verb_noun snake_case pattern (list_*, get_*, create_*, update_*, delete_*, add_*, search_*, close_/reopen_launch, run_test_cases, validate_aql). Resource nouns are used consistently (test_case, launch, test_result, test_plan, project) and the lifecycle verbs map cleanly onto the CRUD family.
30 tools is on the heavy side and reflects a broad domain (cases, steps, launches, results, plans, projects, references, AQL validation), but several are thin one-liners (get_project, get_launch, close_launch, reopen_launch) that could have been folded into a generic get/update. The surface feels larger than strictly necessary for the apparent scope.
Test plans have full CRUD, but the lifecycle is uneven elsewhere: test cases support create/read/update/delete yet steps are add-only (no update/delete step) and restore-from-trash is explicitly not exposed; launches lack update; results are add/read-only with no update or delete. Core workflows are workable, but these gaps will cause dead ends for agents doing maintenance tasks.