Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 47,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

Enables triggering Jenkins builds from IDEs with Slack notifications, requiring only a one-time login.

README.md

jenkins-slack-mcp

MCP server to trigger Jenkins builds from any IDE with Slack DM notifications. Auto-discovers all jobs on login — no manual configuration.

Install

npm install -g jenkins-slack-mcp

Register in your IDE

Amazon Q

~/.aws/amazonq/mcp.json: ``json { "mcpServers": { "jenkins-slack": { "command": "jenkins-slack-mcp", "args": [], "disabled": false } } } ``

VS Code

.vscode/mcp.json: ``json { "mcpServers": { "jenkins-slack": { "command": "jenkins-slack-mcp" } } } ``

Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json (macOS): ``json { "mcpServers": { "jenkins-slack": { "command": "jenkins-slack-mcp" } } } ``

Cursor

.cursor/mcp.json: ``json { "mcpServers": { "jenkins-slack": { "command": "jenkins-slack-mcp" } } } ``

Without global install

{
  "mcpServers": {
    "jenkins-slack": {
      "command": "npx",
      "args": ["-y", "jenkins-slack-mcp"]
    }
  }
}

---

Flow of Work

┌─────────────────────────────────────────────────────────┐
│  1. login_jenkins (baseUrl only)                        │
│     → Opens browser to Jenkins token page               │
│     → User copies API token + build trigger token       │
│                                                         │
│  2. login_jenkins (all params)                          │
│     → Validates credentials                             │
│     → Auto-discovers ALL jobs from Jenkins              │
│     → Stores encrypted at ~/.jenkins-slack-mcp/         │
│                                                         │
│  3. list_jobs / list_jobs filter="tms"                  │
│     → Shows jobs in table with status (✅ ❌ ⏸️)        │
│                                                         │
│  4. job_details jobName="my-job"                        │
│     → Shows all parameters (name, type, default,        │
│       choices) in table format                          │
│                                                         │
│  5. trigger_build jobName="my-job" params={...}         │
│     → Triggers build with params                        │
│     → Sends Slack DM to you (if configured)             │
│     → Posts to channel (if notifyChannel provided)      │
└─────────────────────────────────────────────────────────┘

---

Usage

Step 1: Login to Jenkins

First time — just provide the URL, browser opens automatically: `` login_jenkins baseUrl="https://jenkins.example.com" `` → Browser opens Jenkins → Copy your API token and build trigger token.

Then login with full credentials: `` login_jenkins: baseUrl: https://jenkins.example.com user: your_username apiToken: your_api_token buildToken: your_build_trigger_token `` → All jobs auto-discovered!

Step 2: Browse Jobs

list_jobs                    # all jobs
list_jobs filter="tms"       # filter by name

Output: | # | Job Name | Status | |---|----------|--------| | 1 | build-main | ✅ Success | | 2 | lib-packages | ✅ Success | | 3 | job-constant | ✅ Success |

Step 3: Check Parameters

job_details jobName="tms-docker-build-new"

Output: | Parameter | Type | Default | Choices | Description | |-----------|------|---------|---------|-------------| | BRANCH | String | main | - | Branch to build |

Step 4: Trigger Build

trigger_build jobName="tms-docker-build-new" params={"BRANCH": "feature/xyz"}

Step 5 (Optional): Setup Slack DMs

setup_slack:
  botToken: xoxb-your-bot-token
  userId: U0123456789

How to get your Slack User ID:

  1. Open Slack → Click your profile picture
  2. Click "Profile" → Click "..." (more)
  3. Click "Copy Member ID"

How to get bot token:

  1. Go to https://api.slack.com/apps → Your App
  2. OAuth & Permissions → Bot User OAuth Token (starts with xoxb-)

After setup, every trigger_build sends you a DM automatically.

---

Available Tools

| Tool | Description | |------|-------------| | login_jenkins | Login + auto-discover jobs (opens browser for new users) | | setup_slack | Configure Slack bot token + User ID for DM notifications | | status | Check login status + job count | | list_jobs | All jobs in table format (filterable) | | job_details | Show parameters for a job | | trigger_build | Trigger build + Slack DM + channel notify | | refresh_jobs | Re-fetch jobs from Jenkins | | whoami | Current user details | | logout | Clear all credentials |

---

Security

BuildPilot follows OWASP security best practices:

Credential Storage

  • All credentials (API tokens, Slack tokens) are encrypted at rest using AES-256-GCM
  • Encryption key is machine-bound (derived from hostname + user identity)
  • Config file stored with 600 permissions (owner-read/write only)
  • Atomic file writes prevent data corruption and race conditions

Network Security

  • SSRF Protection — Private IPs, loopback, link-local, and cloud metadata endpoints (169.254.169.254) are blocked
  • TLS enforced — Only HTTP/HTTPS protocols allowed
  • Request timeouts — All HTTP calls have strict timeouts (10-30s)
  • Redirect protection — Auth headers stripped on redirects

Input Validation

  • Build parameter names validated against allowlist ([a-zA-Z0-9_\-.])
  • Reserved parameter keys (token, cause, json, submit) are blocked to prevent injection
  • Parameter values capped at 1000 characters
  • Jenkins URL validated and sanitized before use

OAuth Security

  • OAuth callback server binds to 127.0.0.1 only (not 0.0.0.0)
  • CSRF state parameter uses crypto.randomBytes(32)
  • Timing-safe comparison for state validation
  • Rate limiting on callback endpoint (max 5 attempts)
  • Auto-timeout after 2 minutes
  • All non-callback routes rejected with 404

Error Handling

  • Error messages sanitized to prevent credential leakage
  • URLs, auth headers, and tokens are redacted from error output
  • Error messages truncated to 200 characters

---

VS Code Extension

See vscode-extension/README.md for the full-featured VS Code extension with:

  • Inline search, grouped jobs, pin/unpin
  • Live build summary webview
  • Stop running builds from history
  • Slack notifications

---

Credentials

Stored encrypted at ~/.jenkins-slack-mcp/config.enc (AES-256-GCM, 600 permissions, owner-only).

Author

Seetharam1999

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Communication servers.