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

          • A
            security
            F
            license
            A
            quality
            The Modes MCP Server allows for comprehensive management and control over custom operational modes, supporting full CRUD operations, schema validation, and real-time configuration changes for enhanced mode management.
            Last updated -
            6
            12
          • A
            security
            A
            license
            A
            quality
            A tool that dynamically generates and configures MCP servers by automatically creating necessary directories and files according to user specifications.
            Last updated -
            1
            9
            9
            JavaScript
            MIT License
          • A
            security
            F
            license
            A
            quality
            MCP server for managing Git operations on local repositories, allowing users to list repositories, get and create tags, list commits, push tags, and refresh repositories through a standardized interface.
            Last updated -
            6
            Python
          • 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
            8
            JavaScript
            MIT License
            • Apple

          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