---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://elaichi.ai/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# Jenkins MCP connector

Connect Jenkins to Elaichi and Claude, ChatGPT, Cursor or any MCP client can list jobs, start and stop builds, read console logs and test reports, and manage job configuration inside each person's own Jenkins access.

Source: https://elaichi.ai/connectors/jenkins/

## Facts

| | |
| --- | --- |
| Application | Jenkins |
| Category | CI |
| AI tools | 76 |
| Authentication | Connects with an API key |
| Bring your own OAuth app | No |
| MCP endpoint | https://api.elaichi.ai/mcp |
| Works with | Claude, ChatGPT, Perplexity, Grok, Cursor, Microsoft Copilot, any MCP client, and the Elaichi Agent |
| Tools advertised by name | No. Connected tools are never listed one by one, however few there are. The endpoint advertises `search_tools` and `execute_tool` instead |

## What you can ask once Jenkins is connected

- Which Jenkins jobs failed overnight and why?
- Start the release build and show me the log.
- Pull the test report for the latest deploy build.

## Connect Jenkins in Elaichi

This happens once for the organization, before any client is involved.

1. Open Connections, choose Add connection, and pick Jenkins.
2. Optionally set Share with, then press Connect.
3. Paste a Jenkins API key. One person generates a token in Jenkins and pastes it once. Everyone else works through Share with, and never sees it.

Credentials are vaulted and nobody, including the AI, reads them back. The connection becomes a toolbox immediately, so you can curate which Jenkins tools are exposed, rename them, or freeze arguments before anyone points a client at it.

## Jenkins MCP connector for Claude

Endpoint: https://api.elaichi.ai/mcp

1. Open Customize, then Connectors.
2. Press Add.
3. Name it, paste the MCP server URL, then Continue.
4. Sign in and approve.

On Team and Enterprise, an Owner adds it once. Everyone else turns it on for themselves.

## Jenkins MCP connector for Claude Code

Endpoint: https://api.elaichi.ai/mcp

1. Copy the `claude mcp add` command and run it in a terminal.
2. Start Claude Code and run `/mcp`.
3. Pick elaichi, then sign in and approve in the browser.

```bash
claude mcp add --transport http elaichi --scope user https://api.elaichi.ai/mcp
```

Use `--scope project` instead to share it with the repository through `.mcp.json`.

## Jenkins MCP connector for ChatGPT

Endpoint: https://api.elaichi.ai/mcp

1. Open Plugins, then press the + button.
2. Name it and paste the endpoint into Server URL.
3. Leave Authentication on OAuth, then tick the risk acknowledgement.
4. Press Create, then sign in and approve.

Works on the web. The plugin directory lives at chatgpt.com/plugins.

## Jenkins MCP connector for Perplexity

Endpoint: https://api.elaichi.ai/mcp

1. In the left sidebar, click Plugins, then Add custom, then Add MCP connector, then Remote.
2. Name it Elaichi.
3. Paste the endpoint as the MCP server URL.
4. Open Advanced. Pick OAuth, so you can sign in, and Streamable HTTP, which is how Elaichi talks. Leave the client ID and secret empty.
5. Tick the box about custom connectors, then click Add.
6. Click the Elaichi card. Sign in to Elaichi and approve.

Needs a paid Perplexity plan. In an organization, an admin may first need to allow custom connectors.

[Setup guide for Perplexity](/blog/connect-elaichi-to-perplexity/)

## Jenkins MCP connector for Grok

Endpoint: https://api.elaichi.ai/mcp

On grok.com:

1. Go to grok.com/connectors and click New Connector.
2. Choose Custom.
3. Paste the endpoint as the MCP server URL.
4. Sign in to Elaichi and approve.

In Grok Bot:

1. Open Connect apps and click Add a custom connector.
2. Name it Elaichi.
3. Set the type to Remote HTTPS.
4. Paste the endpoint as the Server URL.
5. Leave Client ID empty.
6. Click Add plugin. Then click Authorize, sign in to Elaichi and approve.

On Grok Business and Enterprise, a team admin adds the connector in console.x.ai first.

[Setup guide for Grok](/blog/connect-elaichi-to-grok/)

## Jenkins MCP connector for Cursor

Endpoint: https://api.elaichi.ai/mcp

1. Open `~/.cursor/mcp.json`.
2. Add the endpoint under `mcpServers`.
3. Reload Cursor, then sign in and approve.

Set up per machine, so repeat it on each computer you work from.

## Jenkins MCP connector for Microsoft Copilot

Endpoint: https://api.elaichi.ai/mcp

1. In Copilot Studio, open your agent, then Tools, Add a tool, New tool and Model Context Protocol.
2. Paste the endpoint into Server URL, choose OAuth 2.0, then Dynamic discovery, and press Create.
3. Create a new connection, sign in and approve, then press Add to agent.
4. Under Channels, open Teams and Microsoft Copilot and make the agent available in Microsoft Copilot.

Microsoft Copilot was called Microsoft 365 Copilot. Keep the tool on end-user credentials, so each person signs in as themselves.

## Connect Jenkins to any MCP client

Endpoint: https://api.elaichi.ai/mcp

1. Add the endpoint as a remote MCP server.
2. Sign in and approve.

The Elaichi Agent already has these tools, with nothing to set up.

## What the consent screen decides

Every scope the client asks for starts ticked except "Delete things", which you tick yourself. Calling a Jenkins tool needs "Use your connected apps". Over MCP there is no trusted place to confirm a write in the moment, so the consent screen is the standing approval rather than a formality. Think hard before granting Use your connected apps, which can also delete in connected apps and cannot be undone.

## What teams do with Jenkins through Elaichi

### Find out why the build went red

Engineering. Ask which Jenkins jobs failed overnight and read the console output and test report without opening Jenkins.

### Kick off the release build from chat

Release. Start the release job, follow the progressive log as it runs, and stop the build if something looks wrong.

### Pull the test report after every run

QA. Get the latest build for a job and see which tests passed, failed or were skipped before signing off.

### Clone a job for a new service

DevOps. Copy an existing Jenkins job, update its configuration for the new service, and enable it when it is ready.

### Check whether the fix has shipped

Support. Ask whether the latest build for a job succeeded and list its artifacts before replying to a customer.

### Tidy up jobs and user accounts

Platform. Disable jobs nobody runs anymore, delete stale ones, and remove Jenkins user accounts that should have gone.

## Elaichi vs Zapier MCP vs Composio for Jenkins

All three can connect Jenkins to an AI assistant, and all three have admin controls. They differ in where access lives and how you pay.

| What to check | Elaichi | Zapier MCP | Composio |
| --- | --- | --- | --- |
| Where the AI connects | One address for the whole organization. Endpoint: https://api.elaichi.ai/mcp | A server per member, created at sign-in. | An MCP endpoint per team, or an SDK. |
| Control over Jenkins tools | Allow or restrict single Jenkins tools, per role or user. | App and action restrictions on the account. | Role permissions, down to the action. |
| Record of calls | One audit entry per Jenkins call. | A History tab of tool calls. | A log of every tool call. |
| Single sign-on | SAML or OIDC, plus SCIM, on Gold. | SAML on Enterprise. | SAML and OIDC on Enterprise. |
| Price | Free for one person; $15 per user per month on Gold. | 2 tasks per successful call. | Billed per tool call. |

Sources: Zapier MCP [docs](https://docs.zapier.com/mcp/get-started/quickstart), [security](https://docs.zapier.com/mcp/manage/security), [usage](https://docs.zapier.com/mcp/features/usage); Composio [docs](https://docs.composio.dev/docs/composio-connect), [gateway](https://composio.dev/mcp-gateway), [enterprise](https://composio.dev/enterprise), [pricing](https://composio.dev/pricing). Checked September 2026.

Longer take: [Zapier MCP alternative](/blog/zapier-mcp-alternative/) and [when you don't need an MCP gateway](/blog/when-you-dont-need-an-mcp-gateway/).

## Frequently asked questions

### How do I connect Jenkins to Claude?

Connect Jenkins in Elaichi by pasting a Jenkins API key, then in Claude go to Customize, then Connectors, then Add, and paste https://api.elaichi.ai/mcp. There is no OAuth application to register in Jenkins and no client ID or secret to generate. Claude signs you in through Elaichi and your Jenkins jobs and builds are available in the conversation.

### Does Jenkins work with ChatGPT, Perplexity, Grok and Cursor as well as Claude?

Yes. Once Jenkins is connected in Elaichi, the same endpoint, https://api.elaichi.ai/mcp, works in Claude, ChatGPT, Perplexity, Grok, Cursor, Microsoft Copilot, any other MCP client and the Elaichi Agent. You connect Jenkins once and every client uses it.

### What can an AI agent actually do with my Jenkins jobs and builds?

It can list your Jenkins jobs, start a build, stop one that is running, and read the console output, progressive log and test report for any build. It can also create, copy, enable, disable or update a job's configuration, list build artifacts, and list or remove Jenkins users. Short, concrete asks work best, such as show me the latest build for the deploy job.

### Does connecting Jenkins give the AI access to every job and build?

No. Every call runs inside the Jenkins access of the person who signed in, so an agent sees only the jobs and builds that person can already see in Jenkins. Elaichi can narrow that access further with roles and restrictions, but it can never widen it beyond what Jenkins itself allows.

### Can my team share one Jenkins connection?

Yes. One person connects Jenkins with an API key and shares the connection with a team, and nobody else ever handles that key. Each teammate still signs in to Elaichi as themselves, so the audit log names the person who started or stopped a build, not the shared connection.

### Can I stop an agent from deleting jobs or changing configuration in Jenkins?

Yes. Restrictions in Elaichi are set per action, on a role or on one person, so you can allow reading Jenkins builds and logs while restricting deleting a job, updating its configuration or removing a user. A restricted action still appears in Elaichi's tool search, flagged as restricted, but no client can run it, whatever the prompt says.

### What happens to a Jenkins connection when someone leaves?

Offboarding the person in Elaichi ends their access to Jenkins through every client at once. If they connected Jenkins and shared it, the connection keeps working for everyone else on the team. Disconnecting Jenkins once in Elaichi removes it from Claude, ChatGPT, Cursor and every other client at the same time.

### Does the Jenkins MCP connector work with Gemini, Codex, Claude Code or other MCP clients?

Yes. Jenkins is reached over the same MCP endpoint every client uses, so anything that speaks MCP can call it — Gemini, Codex, Claude Code, Windsurf, Cline, Zed and OpenCode among them — alongside Claude, ChatGPT, Perplexity, Grok, Cursor, Microsoft Copilot, and the Elaichi Agent. The tools on offer and the access behind them are identical whichever client asks. Only the setup screen differs.

### Is Elaichi an alternative to Zapier MCP for Jenkins?

Yes. Both let Claude, ChatGPT or Cursor use Jenkins. Zapier MCP fits a team that already automates in Zapier, since each person signs in and acts as themselves in that account. Elaichi fits when IT wants one address for the whole company, per-tool rules by role, and a record of every Jenkins call.

### How is Elaichi different from Composio for Jenkins?

Composio gives AI agents tools and sign-in handling across 1,000+ apps, for developers building agents or people using an assistant, billed per tool call. Elaichi gives a company's own people governed access to Jenkins: one address, restrictions per role or user, and $15 per user per month. Both have role permissions and a log of every call.

## All 76 Jenkins tools

Every tool below is callable through https://api.elaichi.ai/mcp once Jenkins is connected, subject to the toolbox it is in and the restrictions on the caller.

- **List all Jenkins jobs** (List). List top-level jobs with their status color, last builds and health (depth 2). Folders appear as jobs with child jobs.
- **Get single Jenkins job by ID** (Get). Get a job by full name, including builds, last build references, health and properties (depth 2). For a job in a folder use folder/job/name.
- **Create a Jenkins job** (Create). Create a job from a config.xml. Pass the new job name in name; the body is the job's config.xml (xml-js compact JSON), for example {"project": {"description": {"_text": "My job"}}} for a freestyle job or {"flow-definition": {...}} for a Pipeline. To create inside a folder, call it on the folder by setting folder to the folder path.
- **Jenkins jobs copy** (Copy). Create a job by copying an existing job. Pass the new name in name and the job to copy in from.
- **Jenkins jobs get config** (Get). Get a job's config.xml (its full definition).
- **Jenkins jobs update config** (Update). Replace a job's config.xml. Get the current config with get_config, change it, and send the whole document back.
- **Delete a Jenkins job by ID** (Delete). Delete a job and all its builds. This cannot be undone.
- **Jenkins jobs enable** (Enable). Enable a disabled job so it can be built again.
- **Jenkins jobs disable** (Disable). Disable a job so it cannot be built.
- **Jenkins jobs build** (Action). Trigger a build of a job. For a parameterized job pass the parameters in json, e.g. {"parameter": [{"name": "BRANCH", "value": "main"}]}. Jenkins answers 201 and puts the new build in the queue; poll queue_items to get the build number.
- **Get single Jenkins build by ID** (Get). Get one build of a job by build number: result, duration, causes, parameters, artifacts and changes.
- **List all Jenkins builds** (List). List a job's builds (paged 100 at a time) with number, result, timestamps, duration and artifacts.
- **Jenkins builds stop** (Stop). Abort a running build.
- **Delete a Jenkins build by ID** (Delete). Delete a build and its logs and artifacts. This cannot be undone.
- **Jenkins builds get console text** (Get). Get the full console log of a build as plain text.
- **Jenkins builds get progressive log** (Get). Get the console log of a (running) build from a byte offset. The X-Text-Size response header is the next offset and X-More-Data is true while the build is still writing.
- **Jenkins builds get test report** (Get). Get the JUnit test report of a build: pass/fail/skip counts and suites with cases. Returns 404 when the build published no test results.
- **Jenkins builds get latest** (Get). Get the latest build of a job matching a selector: lastBuild, lastSuccessfulBuild, lastFailedBuild, lastStableBuild, lastUnstableBuild, lastUnsuccessfulBuild or lastCompletedBuild. Returns 404 when no such build exists.
- **Jenkins builds update description** (Update). Set the description of a build.
- **Jenkins builds toggle keep log** (Action). Toggle "keep this build forever" so log rotation does not delete it. Calling it again turns it off.
- **List all Jenkins artifacts** (List). Get a build including its archived artifacts list (fileName, relativePath). Download one with build_artifacts.get.
- **List all Jenkins users** (List). List users Jenkins knows about (from logins and commits), with full name, email and last-active project; paged 100 at a time.
- **Get single Jenkins user by ID** (Get). Get a user by id: full name, description and properties such as email address.
- **Delete a Jenkins user by ID** (Delete). Delete a Jenkins user record (and its API tokens).
- **List all Jenkins projects** (List). List top-level jobs and one level of folder children with fullName, url and status color.
- **List all Jenkins people** (List). List people known to Jenkins (legacy /people endpoint; on large instances prefer users.list).
- **List all Jenkins project roles** (List). List all project (item) roles (Role Strategy plugin) with the users and groups assigned to each.
- **Get single Jenkins project role by ID** (Get). Get one of the project (item) roles by name (Role Strategy plugin): permissions, pattern and assigned SIDs.
- **List all Jenkins global roles** (List). List all global roles (Role Strategy plugin) with the users and groups assigned to each.
- **Get single Jenkins global role by ID** (Get). Get one of the global roles by name (Role Strategy plugin): permissions, pattern and assigned SIDs.
- **List all Jenkins slave roles** (List). List all agent (node) roles (Role Strategy plugin) with the users and groups assigned to each.
- **Get single Jenkins slave role by ID** (Get). Get one of the agent (node) roles by name (Role Strategy plugin): permissions, pattern and assigned SIDs.
- **List all Jenkins roles** (List). List all roles of a type (Role Strategy plugin) with the SIDs assigned to each. type is globalRoles, projectRoles or slaveRoles.
- **Get single Jenkins role by ID** (Get). Get one role (Role Strategy plugin) by name: its permissions, pattern and assigned SIDs.
- **Create a Jenkins role** (Create). Create (or with overwrite=true replace) a role. permissionIds is a comma-separated list such as hudson.model.Item.Read,hudson.model.Item.Build; pattern is a regex of job (projectRoles) or agent (slaveRoles) names.
- **Delete a Jenkins role by ID** (Delete). Delete roles. The id is one role name or a comma-separated list.
- **Jenkins roles list matching jobs** (List). List the jobs a project-role pattern matches.
- **Jenkins roles list matching agents** (List). List the agents an agent-role pattern matches.
- **Get single Jenkins build artifact by ID** (Get). Download one archived artifact of a build. The id is the artifact's relativePath from builds.get (artifacts[].relativePath), e.g. target/app.jar.
- **List all Jenkins queue items** (List). List items waiting in the build queue, with why each one is waiting.
- **Get single Jenkins queue item by ID** (Get). Get a queue item by id. After the build starts, executable holds the build number and url. Finished items are kept for about 5 minutes.
- **Jenkins queue items cancel** (Cancel). Cancel a queued build before it starts.
- **List all Jenkins nodes** (List). List nodes (the built-in node and agents) with status, executors and monitor data.
- **Get single Jenkins node by ID** (Get). Get one node by name. Use (built-in) for the controller node.
- **Create a Jenkins node** (Create). Create a permanent agent. Pass name, type hudson.slaves.DumbSlave and the agent settings as a JSON string in json, e.g. {"name":"agent-1","nodeDescription":"","numExecutors":"1","remoteFS":"/home/jenkins","labelString":"linux","mode":"NORMAL","launcher":{"stapler-class":"hudson.slaves.JNLPLauncher"},"retentionStrategy":{"stapler-class":"hudson.slaves.RetentionStrategy$Always"},"nodeProperties":{"stapler-class-bag":"true"}}.
- **Jenkins nodes get config** (Get). Get an agent's config.xml.
- **Jenkins nodes update config** (Update). Replace an agent's config.xml.
- **Jenkins nodes toggle offline** (Action). Mark a node temporarily offline (or back online if it already is). Running builds finish; no new builds start.
- **Delete a Jenkins node by ID** (Delete). Delete an agent. This cannot be undone.
- **List all Jenkins views** (List). List all views with their jobs.
- ...and 26 more tools. Call `tools/list` via the MCP endpoint, or see the full catalog via the API, for the complete set.
