Skip to content

Extend Testomat MCP by branches support #1644

Description

@vlad-shulika

Currently, MCP allows creating and updating tests, suites, and other entities, but it is not possible to explicitly specify which Testomat branch the changes should be applied to.

Proposal
Add the ability to pass the branch name in the payload of all MCP operations that work with branch-dependent entities, including:

  • tests_create
  • tests_update
  • tests_delete
  • tests_get
  • tests_list / tests_search
  • suites_update
  • other related methods, if they also depend on branch context

Additionally, add branch capabilities, at minimum:

  • branches_list — get the list of project branches
  • branches_create — create a new branch
  • branches_exists — check whether a branch exists

Expected Behavior

  • If branch is provided in the request, the operation must be executed in the context of that branch.
  • If branch is not provided, the current default behavior should be preserved.
  • This should work consistently for both read and write operations, so it is possible to both read and modify data within a specific branch.

Metadata

Metadata

Labels

aiai, artificial intelligence, mcp, agentic, agent, botc-mdenhancementnew feature request, improvement, enhancementmcpai, mcp, mcp server

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions