# Connect Jenkins to Claude (MCP Server plugin) | XenMCP

> Connect Jenkins to Claude and ChatGPT: find failed builds, search logs, rerun builds – through the official MCP plugin, with sign-in per person.

[Catalog](https://xenmcp.com/catalog/) / Jenkins

Updated: 28 November 2026

# Connect Jenkins to Claude

In beta

Ask Claude why last night’s build went red, what the log says and which jobs have been failing for a week – straight from your Jenkins.

Your address for Claude `https://jenkins-acme.xenmcp.com/mcp`

[Join the beta and connect](https://xenmcp.com/waitlist/?server=jenkins) [Already in? Add it in the console](https://app.xenmcp.com/servers/new?own)

Jenkins has an official **MCP Server** plugin (MIT): with it, Jenkins itself is an MCP server at `/mcp-server/mcp`. It signs in with a Jenkins user and their API token – but Claude in the app and ChatGPT cannot send such a key for each person.

That is what XenMCP’s [OAuth bridge](https://xenmcp.com/api-key-oauth-bridge/) is for: you enter the address, user and token once, and everyone on the team signs in to XenMCP as themselves. The token stays encrypted with us, access can be revoked per person, and every call is logged. No sandbox is needed – XenMCP only forwards.

## What you can ask Claude

- Which jobs have been red since yesterday? Summarise the error from each log.
- Search the last build of “backend-deploy” for “OutOfMemoryError” and show the lines before it.
- How long have the “frontend” builds taken lately, and which was the slowest?
- Rerun the last failed build of “nightly-tests”.

## Typical tools

## What you need to connect

- Jenkins with HTTPS and the MCP Server plugin (Manage Jenkins → Plugins → Available plugins → “MCP Server”)
- The Jenkins URL set in Manage Jenkins → System – otherwise several tools fail with “Root URL isn’t configured”
- A Jenkins user of its own for the AI and its API token (user → Security → Add new API token)

## Security

- Jenkins decides what the AI may do: with the Matrix Authorization plugin give the user only read access (Overall/Read, Job/Read) – then it cannot start builds. It should never have Replay or the script console: those run arbitrary code.
- XenMCP forwards calls unchanged and does not filter tools; “read only” here means a Jenkins user without build permissions.
- The API token is stored encrypted (AES-256-GCM) at XenMCP, not with everyone on the team. It can be revoked in Jenkins at any time, and single people’s access in XenMCP.
- XenMCP always connects from the same IP address – you can allow it in the firewall in front of Jenkins.

## Built on

We use the open server [Jenkins MCP Server plugin](https://plugins.jenkins.io/mcp-server/) (MIT), build the image ourselves from a pinned version and review the tool descriptions before release.

## Frequently asked questions

**Do I need XenMCP if Jenkins already has an MCP server?**

Not for Claude Code or Cursor alone: there you enter the address and token directly. XenMCP is worth it when Claude in the app or ChatGPT should reach it, or several people with their own sign-in, revocation and a log.

**How do I add Jenkins in XenMCP?**

In the panel: Add a server → Your own server. Address `https://jenkins.example.com/mcp-server/mcp`, key type “User and password (Basic)”, the API token as the password. “Check connection” lists the tools.

**Does it work without the plugin?**

Not yet. We plan an own read-only server over Jenkins’s REST API when enough teams need it – tell us on Discord.

## Guides

- [**Connect an MCP server to Claude – web, desktop, mobile and developer tools** Connect an MCP server to Claude – as a connector on the web and your phone, locally via claude_desktop_config.json, and with claude mcp add in Claude Code.](https://xenmcp.com/guides/connect-mcp-server-to-claude/)
- [**Connect an MCP server to ChatGPT – step by step** How to add a remote MCP server to ChatGPT as a custom plugin, sign in with OAuth and use its tools in a chat – and why API-key servers need a bridge.](https://xenmcp.com/guides/connect-mcp-server-to-chatgpt/)
- [**Using an MCP server with an API key in Claude – four ways compared** Your MCP server wants an API key in a header, but Claude is built around OAuth? Here are four ways to connect them – from request headers to an OAuth bridge.](https://xenmcp.com/guides/api-key-mcp-server-in-claude/)
- [**What is MCP? The Model Context Protocol explained** MCP connects AI assistants such as Claude or ChatGPT to your data and tools. How the protocol works, what the risks are and how to keep them small.](https://xenmcp.com/guides/what-is-mcp/)

## More servers

- [Docker In beta Ask Claude why a container restarted, what is in its logs and how much memory it uses – without SSH and without `docker logs`.](https://xenmcp.com/catalog/docker/)
- [Grafana In beta Ask about the logs, metrics and dashboards of your own Grafana in plain language – from Claude on the web, on your phone or in your IDE. XenMCP runs the official Grafana MCP server for you in Germany.](https://xenmcp.com/catalog/grafana/)
- [Elasticsearch In beta Search the logs and data in your self-hosted Elasticsearch in plain language – from Claude on the web, on your phone or in your IDE.](https://xenmcp.com/catalog/elasticsearch/)

## Connect Jenkins to Claude?

Sign up and confirm your email. Servers marked “In beta” you can connect right after your invitation; for planned ones your interest decides the order.

[Join the beta](https://xenmcp.com/waitlist/?server=jenkins)

---

Source: https://xenmcp.com/catalog/jenkins/ (English, updated 2026-11-28)
Other languages: Deutsch: https://xenmcp.com/de/katalog/jenkins/index.html.md
