mcp-jenkins
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| jenkins-url | Yes | The URL of your Jenkins server | |
| jenkins-password | Yes | The password for Jenkins authentication | |
| jenkins-username | Yes | The username for Jenkins authentication |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_running_buildsB | Get all running builds from Jenkins Returns: list[dict]: A list of all running builds |
| get_build_infoB | Get specific build info from Jenkins Args: fullname: The fullname of the job build_number: The number of the build, if None, get the last build Returns: dict: The build info |
| get_build_sourcecodeB | Get the pipeline source code of a specific build in Jenkins Args: fullname: The fullname of the job build_number: The number of the build, if None, get the last build Returns: str: The source code of the build |
| build_jobB | Build a job in Jenkins Args: fullname: The fullname of the job parameters: Update the default parameters of the job. Returns: The queue item number of the job, only valid for about five minutes after the job completes |
| get_build_logsC | Get logs from a specific build in Jenkins Args: fullname: The fullname of the job build_number: The number of the build pattern: A pattern to filter the logs limit: The maximum number of lines to retrieve seq: Priority order of log returns Returns: str: The logs of the build |
| stop_buildC | Stop a specific build in Jenkins Args: fullname: The fullname of the job build_number: The number of the build to stop |
| get_test_resultsA | Get test results from a specific build in Jenkins Args: fullname: The fullname of the job build_number: The number of the build, if None, get the last build status_filter: Filter test cases by status. Can be one or more of: PASSED, SKIPPED, FAILED, FIXED, REGRESSION Returns: dict: The test results including pass/fail counts and detailed test case information |
| get_all_jobsB | Get all jobs from Jenkins Returns: list[dict]: A list of all jobs |
| get_job_configC | Get specific job config from Jenkins Args: fullname: The fullname of the job Returns: str: The config of the job |
| search_jobsC | Search job by specific field Args: class_pattern: The pattern of the _class name_pattern: The pattern of the name fullname_pattern: The pattern of the fullname url_pattern: The pattern of the url color_pattern: The pattern of the color Returns: list[dict]: A list of all jobs |
| get_job_infoC | Get specific job info from Jenkins Args: fullname: The fullname of the job Returns: dict: The job info |
| get_multibranch_jobsA | Get all multibranch pipeline jobs from Jenkins, optionally filtered by patterns Args: class_pattern: Optional regex pattern to filter by job class name_pattern: Optional regex pattern to filter by job name fullname_pattern: Optional regex pattern to filter by job fullname Returns: List[dict]: A list of multibranch pipeline jobs |
| get_multibranch_branchesC | Get all branches for a specific multibranch pipeline job Args: fullname: The fullname of the multibranch pipeline job Returns: List[dict]: A list of branch jobs within the multibranch pipeline |
| scan_multibranch_pipelineA | Trigger a scan of a multibranch pipeline to discover new branches Args: fullname: The fullname of the multibranch pipeline job Returns: str: Status message indicating scan was triggered |
| get_all_nodesB | Get all nodes from Jenkins Returns: list[dict]: A list of all nodes |
| get_node_configB | Get node config from Jenkins Args: name: The name of the node Returns: str: The config of the node |
| get_all_queue_itemsB | Get all items in Jenkins queue Returns: list[dict]: A list of all items in the Jenkins queue |
| get_queue_itemC | Get a specific item in Jenkins queue Args: id_: The id of the queue item Returns: dict: The queue item |
| cancel_queue_itemC | Cancel a specific item in Jenkins queue Args: id_: The id of the queue item |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/lanbaoshen/mcp-jenkins'
If you have feedback or need assistance with the MCP directory API, please join our Discord server