Skip to main content
Glama

Jenkins MCP

by kjozsa

ジェンキンスMCP

Jenkins 操作を管理するための MCP サーバー。

インストール

Smithery経由でインストール

Smithery経由で Claude Desktop 用の Jenkins MCP を自動的にインストールするには:

npx -y @smithery/cli install @kjozsa/jenkins-mcp --client claude

手動でインストールする

uvx install jenkins-mcp

構成

次の JSON 構成スニペットを使用して MCP サーバーを追加します。

{ "mcpServers": { "jenkins-mcp": { "command": "uvx", "args": ["jenkins-mcp"], "env": { "JENKINS_URL": "https://your-jenkins-server/", "JENKINS_USERNAME": "your-username", "JENKINS_PASSWORD": "your-password", "JENKINS_USE_API_TOKEN": "false" } } } }

CSRF クラム処理

Jenkinsは、POSTリクエストに含める必要があるトークンである「crumbs」を使用してCSRF保護を実装しています。このMCPサーバーは、CSRF crumbsを以下の2つの方法で処理します。

  1. デフォルトモード: CSRF クラムを自動的に取得してビルドリクエストに含める
    • ウェブセッションを維持するためにセッションCookieを使用します
    • すべてのCSRF保護を裏で処理します
  2. APIトークンモード保護の対象外のJenkins APIトークンを使用します
    • JENKINS_USE_API_TOKEN=trueを設定する
    • JENKINS_PASSWORDパスワードではなく API トークンに設定します
    • APIトークン認証にcrumbsを必要としないJenkins 2.96以降で動作します

JenkinsでAPIトークンを生成するには、ユーザー→設定→APIトークン→新しいトークンの追加を選択します。

特徴

  • Jenkinsジョブの一覧
  • オプションパラメータでビルドをトリガーする
  • ビルドステータスを確認する
  • 安全な API アクセスのための CSRF クラム処理

発達

# Install dependencies uv pip install -r requirements.txt # Run in dev mode with Inspector mcp dev jenkins_mcp/server.py
Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

構成可能な MCP サーバーを通じて、ジョブの一覧表示、ビルドのトリガー、ビルド ステータスの確認などの Jenkins 操作の管理を有効にします。

  1. インストール
    1. Smithery経由でインストール
    2. 手動でインストールする
  2. 構成
    1. CSRF クラム処理
      1. 特徴
        1. 発達

          Related MCP Servers

          • -
            security
            A
            license
            -
            quality
            Provides MCP multi-cluster Kubernetes management and operations, featuring a management interface, logging, and nearly 50 built-in tools covering common DevOps and development scenarios. Supports both standard and CRD resources.
            Last updated -
            597
            Go
            MIT License
            • Linux
            • Apple
          • -
            security
            A
            license
            -
            quality
            Provides MCP multi-cluster Kubernetes management and operations. It can be integrated as an SDK into your own project and includes nearly 50 built-in tools covering common DevOps and development scenarios. Supports both standard and CRD resources.
            Last updated -
            125
            Go
            MIT License
            • Linux
            • Apple
          • -
            security
            F
            license
            -
            quality
            An integration tool that allows interaction with Jenkins CI/CD servers through a Model Context Protocol interface, enabling users to view server info, manage jobs, inspect builds, and trigger builds with parameters.
            Last updated -
            Python
          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol (MCP) server that enables AI tools like chatbots to interact with and control Jenkins, allowing users to trigger jobs, check build statuses, and perform other Jenkins operations through natural language.
            Last updated -
            Python
            MIT License

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/kjozsa/jenkins-mcp'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server