Skip to main content
Glama

ジェンキンス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トークンモード:CSRF保護の対象外の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
Deploy Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Related MCP Servers

  • -
    security
    -
    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 -
    709
    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 -
    133
    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 -
  • -
    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 -
    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