Jenkins MCP Server plugin

Jenkins plugin exposing jobs, builds and logs over MCP from your Jenkins controller.

By defaultCan write
Safest setupNo read-only mode Use a read-only credential
Flagssecretsexec

Labels are provisional (from the project README/docs, checked Oct 27, 2026). Not yet tested in our sandbox.

Read-only switch

No read-only switch found in the README. Permissions follow the Jenkins user whose API token you use.

Preset

No read-only switch. This config is the vendor default plus an approval prompt on every tool. It is not read-only. The credential is what protects you.

Claude Code

.mcp.json
{
  "mcpServers": {
    "jenkins-mcp-plugin": {
      "type": "http",
      "url": "https://jenkins-host/mcp-server/mcp",
      "headers": {
        "Authorization": "Basic <user:token base64>"
      }
    }
  }
}
.claude/settings.json
{
  "permissions": {
    "ask": ["mcp__jenkins-mcp-plugin"]
  }
}

ask makes Claude Code prompt before every tool from this server.

Codex

~/.codex/config.toml
# Generated by redpresets.dev on 2026-11-03. Unverified preset. Also use a read-only credential. Not a security guarantee.

[mcp_servers.jenkins-mcp-plugin]
url = "https://jenkins-host/mcp-server/mcp"
default_tools_approval_mode = "prompt"

[mcp_servers.jenkins-mcp-plugin.http_headers]
Authorization = "Basic <user:token base64>"

default_tools_approval_mode = "prompt" asks before every tool call.

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "jenkins-mcp-plugin": {
      "url": "https://jenkins-host/mcp-server/mcp",
      "headers": {
        "Authorization": "Basic <user:token base64>"
      }
    }
  }
}

Don't add write tools to mcpAllowlist in .cursor/permissions.json. Leave them on approval. Cursor's docs say the allowlist is not a security boundary.

Credential layer

Use a Jenkins user with Overall/Read and Job/Read only (no Build, Configure).

Gotchas

  • Triggering a build can run arbitrary pipeline code.

Facts

Vendor
Jenkins (jenkinsci) official
Source
jenkinsci/mcp-server-plugin
License
MIT
GitHub stars
118
Latest release
0.221.v42ee125fc488 (Oct 26, 2026)
Last push
Oct 26, 2026
Status
Active
Last checked
Oct 27, 2026

Sources

  • README · checked Oct 27, 2026

Spotted something wrong? Labels change when vendors change. Suggest a correction

Read-only alternatives in CI/CD