Skip to content

Call Jenkins controller tools

Varroa provides two MCP tools for managed Jenkins controllers.

ToolTask
list_jenkins_controllersList visible controllers and their reachability
call_jenkins_toolForward JSON-RPC to one controller’s MCP plugin

The controller plugin defines its own tool names, arguments, and effects. Varroa therefore marks call_jenkins_tool as open-world and potentially destructive.

Send tools/list to the target controller:

{
"namespace": "teams-platform",
"name": "demo",
"method": "tools/list"
}

Place the controller tool name and its arguments inside JSON-RPC params:

{
"namespace": "teams-platform",
"name": "demo",
"method": "tools/call",
"params": {
"name": "build_job",
"arguments": {"job": "smoke-test"}
}
}
ArgumentRequiredValue
namespaceYesController namespace
nameYesController name
methodYesJSON-RPC method such as tools/list or tools/call
paramsNoJSON-RPC parameters
FailureCheck
Controller is absentVarroa controllers:read scope
Controller is unreachableConnection and BFF cluster locality
Jenkins returns 403The caller’s Jenkins role and item scope
Tool is unknownRun tools/list again

The bridge reaches only controllers in the BFF’s local cluster. It does not proxy to member-cluster controllers.

See Identity and auditing for the two authorization checks.