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 MCP server?

Go Jenkins MCP MCP server exists for a simple reason — assistants are far more useful when they can act on Go Jenkins MCP directly instead of describing what you should do. A Model Context Protocol (MCP) server implementation in Go that provides programmatic access to Jenkins CI/CD functionality. This server enables AI assistants and other MCP clients to interact with Jenkins instances through a standardized.

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

What the assistant can call

Once Go Jenkins MCP is connected, these are the calls the assistant has available:

  • Requirements — The Requirements tool exposed by this server
  • Jobs — The Jobs tool exposed by this server
  • Builds — The Builds tool exposed by this server
  • Artifacts — The Artifacts tool exposed by this server
  • Queue — The Queue tool exposed by this server
  • Views — The Views tool exposed by this server
  • Building — The Building tool exposed by this server
  • Contributing — Contributions are welcome! Please: 1. Fork the repository 2. Create a feature branch 3. Add tests for your changes 4. Submit a pull request

Configuration and credentials

You will need 4 environment variables: JENKINS_URL, JENKINS_USERNAME, JENKINS_API_TOKEN, LOG_LEVEL. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

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

Setting it up

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

Choosing this one

Among the monitoring and observability options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Go Jenkins MCP's toolset — Requirements, Jobs, Builds and 5 more — is a fair guide to whether it matches your workflow. It is maintained by nithishnithi; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the go jenkins mcp mcp server does with a few real requests.

Available tools

ToolWhat it does
RequirementsThe Requirements tool exposed by this server.
JobsThe Jobs tool exposed by this server.
BuildsThe Builds tool exposed by this server.
ArtifactsThe Artifacts tool exposed by this server.
QueueThe Queue tool exposed by this server.
ViewsThe Views tool exposed by this server.
BuildingThe Building tool exposed by this server.
ContributingContributions are welcome! Please: 1. Fork the repository 2. Create a feature branch 3. Add tests for your changes 4. Submit a pull request

How to install the Go Jenkins MCP 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"
      ]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Go 1.23.6 or later (for building from source) - Access to a Jenkins instance - Jenkins username and API token
VariableDescriptionRequired
JENKINS_URLEndpoint or connection string the server talks to.Yes
JENKINS_USERNAMEConfiguration value read at startup.Optional
JENKINS_API_TOKENCredential the server authenticates with.Yes
LOG_LEVELConfiguration value read at startup.Optional

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

It connects Go Jenkins MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 8 tools (Requirements, Jobs, Builds, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Go Jenkins MCP directly.