Go Jenkins MCP Server

A Model Context Protocol (MCP) server implementation in Go that provides programmatic access to Jenkins CI/CD functionality. This server enables AI

Local serverstdioGo

What is the Go Jenkins MCP Server?

A Model Context Protocol (MCP) server implementation in Go that provides programmatic access to Jenkins CI/CD functionality. This server enables AI assistants and

What you get

  • Complete Jenkins API Coverage — List jobs, trigger builds, monitor status, retrieve logs and artifacts
  • MCP Protocol Compliant — Full implementation of the Model Context Protocol specification
  • Secure Authentication — Username and API token authentication with TLS/SSL support
  • Robust Error Handling — Automatic retry with exponential backoff for transient failures
  • Production Ready — Comprehensive error handling, logging, and timeout management
  • Multi-Instance Support — Optional tool prefixing for running multiple Jenkins servers

Configuration and credentials

  • Go 1.23.6 or later (for building from source) - Access to a Jenkins instance - Jenkins username and API token

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
jenkins_list_jobsList all accessible Jenkins jobs
jenkins_get_jobGet detailed job information
jenkins_trigger_buildTrigger a new build (supports parameters)
jenkins_get_buildGet build status and details
jenkins_get_build_logRetrieve console output
jenkins_get_running_buildsGet all currently running builds
jenkins_stop_buildStop a running build
jenkins_list_artifactsList build artifacts
jenkins_get_artifactDownload specific artifacts
jenkins_get_queueView the build queue
jenkins_get_queue_itemGet queue item details
jenkins_cancel_queue_itemCancel queued builds
jenkins_list_viewsList all views
jenkins_get_viewGet jobs in a view
jenkins_create_viewCreate a new view
jenkins_server_healthCheck server health
jenkins_list_nodesList Jenkins nodes
jenkins_get_pipeline_scriptRetrieve Jenkinsfile content

How to install the Go Jenkins MCP Server

{
  "mcpServers": {
    "jenkins": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "JENKINS_URL=https://jenkins.example.com",
        "-e",
        "JENKINS_USERNAME=your-username",
        "-e",
        "JENKINS_API_TOKEN=your-api-token",
        "-e",
        "JENKINS_TOOL_PREFIX=prod",
        "ghcr.io/nithishnithi/jenkins-mcp-server:latest"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

  • Go 1.23.6 or later (for building from source) - Access to a Jenkins instance - Jenkins username and API token

Example prompts to try

  • “Use Go Jenkins MCP to Requirements.”
  • “Use Go Jenkins MCP to Jobs.”
  • “Use Go Jenkins MCP to Builds.”

Frequently asked questions

A Model Context Protocol (MCP) server implementation in Go that provides programmatic access to Jenkins CI/CD functionality. This server enables AI assistants and Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.