MCP Jenkins Server

by WinJayX

Integrations

  • Enables interaction with Jenkins CI/CD servers, providing tools to retrieve server information, manage jobs and views, access build details and console outputs, and trigger job builds with parameters.

MCP Jenkins サーバー

Jenkins 統合ツールを提供するモデル コンテキスト プロトコル (MCP) サーバー。

特徴

  • Jenkinsサーバー情報を取得する
  • Jenkins ジョブの一覧表示と検査
  • 最近のビルドとその概要を取得する
  • ビルド情報とコンソール出力を取得する
  • Jenkinsビューの管理
  • パラメータを使用してジョブビルドをトリガーする

要件

  • Python 3.10以上
  • APIアクセスを備えたJenkinsサーバー
  • 認証用のJenkins APIトークン

インストール

  1. このリポジトリをクローンする
  2. 依存関係をインストールします:
    pip install -r requirements.txt

構成

Jenkins の資格情報を使用して.envファイルを作成します。

JENKINS_URL=https://your-jenkins-server JENKINS_USER=your-username JENKINS_TOKEN=your-api-token

CLI設定

この MCP サーバーを CLI に追加するには、次の構成を使用します。「Support/Claude/claude_desktop_config.json」ファイルの内容を次のように変更します。

{ "mcpServers": { "mcp-jenkins-server": { "command": "/Users/username/.local/bin/uv -> //uv full path", "args": [ "--directory", "/Users/username/Desktop/mcp-jenkins-server -> //project path ", "run", "server.py" ], "env": { "JENKINS_URL": "http://localhost:8080", "JENKINS_USERNAME": "xx", "JENKINS_PASSWORD": "xx" }, "disabled": false, "autoApprove": [] } } }

利用可能なツール

この MCP サーバーは次のツールを提供します。

get_jenkins_info

Jenkinsサーバー情報を取得する

list_jobs

Jenkinsのすべてのジョブを一覧表示する

get_job_info

特定の仕事に関する情報を取得する

  • パラメータ:
    • job_name : 検査するジョブの名前

get_last_builds

ジョブの最新のビルドの概要を取得する

  • パラメータ:
    • job_name : ジョブの名前
    • count (オプション):取得する最近のビルドの数(デフォルト:3)

get_build_info

特定のビルドに関する詳細情報を取得する

  • パラメータ:
    • job_name : ジョブの名前
    • build_number : 検査するビルド番号

get_build_console_output

特定のビルドのコンソール出力を取得する

  • パラメータ:
    • job_name : ジョブの名前
    • build_number : 検査するビルド番号

get_views

すべてのJenkinsビューを一覧表示する

trigger_job_build

オプションパラメータを使用してJenkinsジョブビルドをトリガーする

  • パラメータ:
    • job_name : ジョブの名前
    • parameters (オプション): ジョブに渡すパラメータの辞書

デモビデオ:

デモ

-
security - not tested
F
license - not found
-
quality - not tested

モデル コンテキスト プロトコル インターフェースを介して Jenkins CI/CD サーバーと対話できる統合ツール。ユーザーはサーバー情報の表示、ジョブの管理、ビルドの検査、パラメーターを使用したビルドのトリガーを行うことができます。

  1. 特徴
    1. 要件
      1. インストール
        1. 構成
          1. CLI設定
            1. 利用可能なツール
              1. get_jenkins_info
              2. list_jobs
              3. get_job_info
              4. get_last_builds
              5. get_build_info
              6. get_build_console_output
              7. get_views
              8. trigger_job_build
              9. デモビデオ:

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              Facilitates interaction with AWS Bedrock-enabled tools by implementing Anthropic's Model Context Protocol for seamless tool integration and communication.
              Last updated -
              1
              35
              Python
              MIT License
            • A
              security
              A
              license
              A
              quality
              Enables managing Jenkins operations like listing jobs, triggering builds, and checking build statuses through a configurable MCP server.
              Last updated -
              3
              7
              Python
              Apache 2.0
            • A
              security
              A
              license
              A
              quality
              A Model Context Protocol server that enables AI assistants to interact with Jenkins CI/CD servers, providing tools to check build statuses, trigger builds, and retrieve build logs.
              Last updated -
              3
              JavaScript
              MIT License
              • Apple
            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol server that provides access to ACI.dev functions (tools) through either direct app-specific tools or a unified interface with dynamic tool discovery and execution based on user intent.
              Last updated -
              61
              Python
              MIT License
              • Apple

            View all related MCP servers

            ID: 6915ou4079