MCP server · Engineering and operations

Jenkins MCP server

Jenkins in any MCP client, through Memtro: Jenkins does not publish this server. Memtro's Jenkins connector reads Jenkins through its API with the credentials you connect, and one endpoint hands those tools, every other system you connect and Memtro's memory tools to Claude Code, Cursor, Claude Desktop or anything else that speaks Streamable HTTP, as you.

What the model can do

Jenkins (self-hosted): list jobs and folders with their status, read a job's recent builds and health, one build's result, duration and cause, the build queue and the agents. Can trigger, stop, keep, describe or delete a build, cancel a queued build, disable, enable, copy, describe or delete a job, and take an agent offline or bring it back when asked.

Reads

  • jenkins_list_jobsJenkins jobs at the top level or inside a folder, with whether each is passing, failing, unstable, disabled or building.
  • jenkins_get_jobOne Jenkins job: health, whether it can be built, its last, last successful and last failed build numbers, and its most recent builds with result…
  • jenkins_get_buildOne Jenkins build: result (or running), start time, duration, description and what started it.
  • jenkins_queueWhat is waiting in the Jenkins build queue and why (waiting for an executor, blocked by another build, stuck).
  • jenkins_nodesJenkins agents (nodes): which are online or offline and why, how many executors each has and whether it is idle.

Acts, when you ask

These change something in Jenkins. The model is told to use them only when you ask for exactly that, and each one is granted by name: per team on a shared connection, by the owner on a personal one.

  • jenkins_trigger_buildStarts compute, queue a build of a Jenkins job.
  • jenkins_stop_buildAborts, stop a running Jenkins build.
  • jenkins_disable_jobDisable a Jenkins job so that nothing (triggers, schedules, upstream jobs, people) can start it.
  • jenkins_enable_jobEnable a disabled Jenkins job again, so its triggers and schedules can start builds.
  • jenkins_delete_jobDeletes permanently, delete a Jenkins job or folder with its configuration and every build record, artifact and log it keeps…
  • jenkins_cancel_queue_itemCancel a build that is still waiting in the Jenkins queue (its id from jenkins_queue), so it never starts.
  • jenkins_set_job_descriptionOverwrites, set a Jenkins job's description (HTML or plain text, shown on the job page), replacing the old one, which is returned here.
  • jenkins_set_build_descriptionOverwrites, set one Jenkins build's description (shown in the build history), replacing the old one, which is returned here.
  • jenkins_keep_buildMark a Jenkins build to be kept forever (exempt from log rotation), or with keep false release it so rotation may delete it later.
  • jenkins_delete_buildDeletes permanently, delete one Jenkins build with its console log, test results and artifacts.
  • jenkins_copy_jobCreate a new Jenkins job as a copy of an existing one (its full configuration, without its builds), at the top level of this connection.
  • jenkins_take_node_offlineTake a Jenkins agent temporarily offline with a reason, so no new builds are scheduled on it (builds running on it carry on).
  • jenkins_bring_node_onlineBring a Jenkins agent that was taken temporarily offline back online, so builds are scheduled on it again.

Connect it

First connect Jenkins on Dashboard → Connections, then add Memtro to your client once. The Jenkins tools appear alongside the tools of everything else you have connected; nothing is configured per connector.

Claude Code

The Memtro plugin registers the server and a skill for when to use it; the tools are then available in every session.

claude plugin marketplace add memtro-org/claude-memtro
claude plugin install memtro@memtro --config api_key=sk-memtro-...

Cursor

Add the server to .cursor/mcp.json in the project, or to the global file under ~/.cursor/.

{
  "mcpServers": {
    "memtro": {
      "url": "https://platform.memtro.com/api/mcp",
      "headers": {
        "Authorization": "Bearer sk-memtro-..."
      }
    }
  }
}

Claude Desktop

Create a personal API key on Dashboard → Profile → API keys. In Claude Desktop add an MCP server of type HTTP with URL https://platform.memtro.com/api/mcp and the header Authorization: Bearer sk-memtro-…

OpenCode

A remote server in opencode.json.

{
  "mcp": {
    "memtro": {
      "type": "remote",
      "url": "https://platform.memtro.com/api/mcp",
      "headers": {
        "Authorization": "Bearer sk-memtro-..."
      }
    }
  }
}

Pi

One command: pi mcp add memtro --url https://platform.memtro.com/api/mcp --bearer-token-env-var MEMTRO_API_KEY. Tools arrive as mcp__memtro__*. The pi-memtro extension registers it for you, alongside Memtro as the model.

Any other client

Add an MCP server of type HTTP (Streamable HTTP, stateless) at https://platform.memtro.com/api/mcp with the header Authorization: Bearer sk-memtro-.... Codex, Zed, Windsurf, Cline and the SDKs all take a remote server this way.

Who may use it

The key identifies the person, and the server offers that person the tools they may use everywhere else in Memtro. A shared Jenkins connection is used by the teams an administrator granted it to, tool by tool, on the Permissions page; a personal connection is used by its owner alone, and its tools that act stay off until the owner allows them. See Teams and permissions and Connectors.

Ask it like this

  • › Why did last night's build of the api job fail?
  • › What is waiting in the Jenkins queue, and why?
  • › Which agents are offline?
  • › Trigger a build of the docs-site job
  • › Take the linux-3 agent offline for a disk swap

Questions

Is this an official Jenkins MCP server?
No. It is Memtro's MCP server with Memtro's Jenkins connector behind it: the connector reads Jenkins through its API with the credentials you connect on Dashboard → Connections, and Jenkins publishes nothing here. The same endpoint carries every other system you connect and Memtro's memory tools.
What does it cost?
Nothing on top of Memtro. One price per organisation by its number of users, from $50 a month for up to 10 users after a 7-day free trial, with every connector, the MCP server, jobs and memory included. You bring your own model keys.
Can it change anything in Jenkins?
Only when you ask, and only what it has been granted: trigger a build of a job (it runs whatever the job does, which may deploy or publish); stop a running build; disable a job so nothing can start it; enable a disabled job; delete a job or folder with all its builds permanently; cancel a build that is waiting in the queue; set or replace a job's description; set or replace a build's description; keep a build forever, or release it to normal log rotation; delete one build with its log and artifacts permanently; create a new job as a copy of an existing one; take an agent temporarily offline with a reason; bring a temporarily offline agent back online. Every other tool reads, searches or lists. An administrator grants each acting tool by name per team, and a personal connection acts only after its owner allows it.
Which clients work?
Any MCP client that speaks Streamable HTTP: Claude Code, Cursor, Claude Desktop, OpenCode, Codex, Zed, Windsurf, Cline and the Anthropic and OpenAI SDKs. There is no local process to run; the server is remote and authenticated with your key.

Other MCP servers · Engineering and operations

Where agents remember your company

Sign in, add a provider key, create an API key and point your tools at Memtro. It takes about five minutes.

7-day free trial · card on file, nothing charged until it ends · cancel any time