Jenkins サーバー MCP
Jenkins CI/CDサーバーと連携するためのツールを提供するモデルコンテキストプロトコル(MCP)サーバー。このサーバーにより、AIアシスタントは標準化されたインターフェースを通じてビルドステータスの確認、ビルドのトリガー、ビルドログの取得が可能になります。
インストール
- このリポジトリをクローンします:
- 依存関係をインストールします:
- プロジェクトをビルドします。
構成
サーバーには次の環境変数が必要です。
JENKINS_URL
: Jenkins サーバーの URL (デフォルトは ' http://sohoci.rd.tp-link.net/jenkins ')JENKINS_USER
: 認証用のJenkinsユーザー名JENKINS_TOKEN
: 認証用のJenkins APIトークン
MCP 設定ファイルで以下を構成します。
クロードデスクトップ向け
MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
ツールと使用方法
1. ビルドステータスを取得する
Jenkins ビルドのステータスを取得します。
入力スキーマ:
2. トリガービルド
パラメータを使用して新しい Jenkins ビルドをトリガーします。
入力スキーマ:
3. ビルドログを取得する
Jenkins ビルドのコンソール出力を取得します。
入力スキーマ:
発達
自動リビルドを使用した開発の場合:
デバッグ
MCP サーバーは stdio 経由で通信するため、デバッグには MCP Inspector を使用できます。
これにより、ブラウザでデバッグ ツールにアクセスするための URL が提供されます。
ライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細についてはLICENSEファイルを参照してください。
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.
AI アシスタントが Jenkins CI/CD サーバーと対話できるようにし、ビルド ステータスの確認、ビルドのトリガー、ビルド ログの取得を行うツールを提供するモデル コンテキスト プロトコル サーバー。
Related Resources
Related MCP Servers
- -securityFlicense-qualityA Model Context Protocol server that enables AI assistants to build and test Xcode projects directly through a standardized interface, with capabilities for running tests, monitoring progress, and accessing logs in real-time.Last updated -29TypeScript
- -security-license-qualityA Model Context Protocol server implementation that enables AI assistants to interact with Linear project management systems, allowing them to create, retrieve, and modify data related to issues, projects, teams, and users.Last updated -202TypeScript
- -securityFlicense-qualityA comprehensive Model Context Protocol server implementation that enables AI assistants to interact with file systems, databases, GitHub repositories, web resources, and system tools while maintaining security and control.Last updated -16TypeScript
- -securityFlicense-qualityAn 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