cancelQueuedBuild

Cancel a pending/queued Jenkins build that hasn

Server Jenkins MCP Server umishra1504/jenkins-mcp-server
Category Destructive
Risk class Critical
Parameters 00 required

What cancelQueuedBuild does on Jenkins MCP Server

AI agents call cancelQueuedBuild to permanently remove resources in Jenkins MCP Server — typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.

Why cancelQueuedBuild needs a policy

Cancelling a queued build is irreversible in that the queued item is removed and cannot be restored. While the build can be re-triggered, the original queued build context (including any specific parameters or timing) is permanently lost. This aligns more with Destructive than Write since the action cannot be undone. Severity is medium as it affects build pipeline flow but doesn't delete persistent data.

From the tool's definition cancelQueuedBuild - Cancel a pending/queued Jenkins build that hasn't started yet

Questions about cancelQueuedBuild

What does the cancelQueuedBuild tool do? +

Cancel a pending/queued Jenkins build that hasn. It is categorised as a Destructive tool in the Jenkins MCP Server MCP Server, which means it can permanently delete or destroy data. Block by default and require explicit approval.

How do I enforce a policy on cancelQueuedBuild? +

Register the Jenkins MCP Server MCP server in PolicyLayer and add a rule for cancelQueuedBuild: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Jenkins MCP Server. Nothing to install.

What risk level is cancelQueuedBuild? +

cancelQueuedBuild is a Destructive tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.

Can I rate-limit cancelQueuedBuild? +

Yes. Add a rate_limit block to the cancelQueuedBuild rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block cancelQueuedBuild completely? +

Set action: deny in the PolicyLayer policy for cancelQueuedBuild. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides cancelQueuedBuild? +

cancelQueuedBuild is provided by the Jenkins MCP Server MCP server (umishra1504/jenkins-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.