Jenkins MCP

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
JENKINS_URLYesThe URL of your Jenkins server
JENKINS_PASSWORDYesYour Jenkins password
JENKINS_USERNAMEYesYour Jenkins username

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
list_jobs

List all Jenkins jobs

trigger_build

Trigger a Jenkins build

Args: job_name: Name of the job to build parameters: Optional build parameters as a dictionary (e.g. {"param1": "value1"}) Returns: Dictionary containing build information including the build number
get_build_status

Get build status

Args: job_name: Name of the job build_number: Build number to check, defaults to latest Returns: Build information dictionary