MCP Jenkins Server logo

MCP Jenkins Server

by walidcd

A Model Context Protocol (MCP) server that provides Jenkins integration tools. It allows users to interact with a Jenkins server to get information, manage jobs, and trigger builds.

View on GitHub

Last updated: N/A

��#� �M�C�P� �J�e�n�k�i�n�s� �S�e�r�v�e�r� � � � �A� �M�o�d�e�l� �C�o�n�t�e�x�t� �P�r�o�t�o�c�o�l� �(�M�C�P�)� �s�e�r�v�e�r� �t�h�a�t� �p�r�o�v�i�d�e�s� �J�e�n�k�i�n�s� �i�n�t�e�g�r�a�t�i�o�n� �t�o�o�l�s�.� � � � �#�#� �F�e�a�t�u�r�e�s� � � � �-� �G�e�t� �J�e�n�k�i�n�s� �s�e�r�v�e�r� �i�n�f�o�r�m�a�t�i�o�n� � �-� �L�i�s�t� �a�n�d� �i�n�s�p�e�c�t� �J�e�n�k�i�n�s� �j�o�b�s� � �-� �G�e�t� �r�e�c�e�n�t� �b�u�i�l�d�s� �a�n�d� �t�h�e�i�r� �s�u�m�m�a�r�i�e�s� � �-� �G�e�t� �b�u�i�l�d� �i�n�f�o�r�m�a�t�i�o�n� �a�n�d� �c�o�n�s�o�l�e� �o�u�t�p�u�t� � �-� �M�a�n�a�g�e� �J�e�n�k�i�n�s� �v�i�e�w�s� � �-� �T�r�i�g�g�e�r� �j�o�b� �b�u�i�l�d�s� �w�i�t�h� �p�a�r�a�m�e�t�e�r�s� � � � �#�#� �R�e�q�u�i�r�e�m�e�n�t�s� � � � �-� �P�y�t�h�o�n� �3�.�1�0�+� � �-� �J�e�n�k�i�n�s� �s�e�r�v�e�r� �w�i�t�h� �A�P�I� �a�c�c�e�s�s� � �-� �J�e�n�k�i�n�s� �A�P�I� �t�o�k�e�n� �f�o�r� �a�u�t�h�e�n�t�i�c�a�t�i�o�n� � � � �#�#� �I�n�s�t�a�l�l�a�t�i�o�n� � � � �1�.� �C�l�o�n�e� �t�h�i�s� �r�e�p�o�s�i�t�o�r�y� � �2�.� �I�n�s�t�a�l�l� �d�e�p�e�n�d�e�n�c�i�e�s�:� � � � � ��b�a�s�h� � � � � �p�i�p� �i�n�s�t�a�l�l� �-�r� �r�e�q�u�i�r�e�m�e�n�t�s�.�t�x�t� � � � � �� � � � �#�#� �C�o�n�f�i�g�u�r�a�t�i�o�n� � � � �C�r�e�a�t�e� �a� ��.�e�n�v�� �f�i�l�e� �w�i�t�h� �y�o�u�r� �J�e�n�k�i�n�s� �c�r�e�d�e�n�t�i�a�l�s�:� � � � ��i�n�i� � �J�E�N�K�I�N�S�_�U�R�L�=�h�t�t�p�s�:�/�/�y�o�u�r�-�j�e�n�k�i�n�s�-�s�e�r�v�e�r� � �J�E�N�K�I�N�S�_�U�S�E�R�=�y�o�u�r�-�u�s�e�r�n�a�m�e� � �J�E�N�K�I�N�S�_�T�O�K�E�N�=�y�o�u�r�-�a�p�i�-�t�o�k�e�n� � �� � � � �#�#� �C�L�I� �C�o�n�f�i�g�u�r�a�t�i�o�n� � � � �T�o� �a�d�d� �t�h�i�s� �M�C�P� �s�e�r�v�e�r� �t�o� �y�o�u�r� �C�L�I�,� �u�s�e� �t�h�e� �f�o�l�l�o�w�i�n�g� �c�o�n�f�i�g�u�r�a�t�i�o�n�:� � �C�h�a�n�g�e� �'�S�u�p�p�o�r�t�/�C�l�a�u�d�e�/�c�l�a�u�d�e��d�e�s�k�t�o�p��c�o�n�f�i�g�.�j�s�o�n�'� �f�i�l�e� �c�o�n�t�e�n�t� �t�o� �:� � � � � ��j�s�o�n� � �{� � � � �"�m�c�p�S�e�r�v�e�r�s�"�:� �{� � � � � � �"�m�c�p�-�j�e�n�k�i�n�s�-�s�e�r�v�e�r�"�:� �{� � � � � � � � �"�c�o�m�m�a�n�d�"�:� �"�/�U�s�e�r�s�/�u�s�e�r�n�a�m�e�/�.�l�o�c�a�l�/�b�i�n�/�u�v� �-�>� �/�/�u�v� �f�u�l�l� �p�a�t�h�"�,� � � � � � � � � �"�a�r�g�s�"�:� �[� � � � � � � � � � �"�-�-�d�i�r�e�c�t�o�r�y�"�,� � � � � � � � � � � �"�/�U�s�e�r�s�/�u�s�e�r�n�a�m�e�/�D�e�s�k�t�o�p�/�m�c�p�-�j�e�n�k�i�n�s�-�s�e�r�v�e�r� �-�>� �/�/�p�r�o�j�e�c�t� �p�a�t�h� �"�,� � � � � � � � � � � �"�r�u�n�"�,� � � � � � � � � � �"�s�e�r�v�e�r�.�p�y�"� � � � � � � � �]�,� � � � � � � � �"�e�n�v�"�:� �{� � � � � � � � � � �"�J�E�N�K�I�N�S�_�U�R�L�"�:� �"�h�t�t�p�:�/�/�l�o�c�a�l�h�o�s�t�:�8�0�8�0�"�,� � � � � � � � � � �"�J�E�N�K�I�N�S�_�U�S�E�R�N�A�M�E�"�:� �"�x�x�"�,� � � � � � � � � � �"�J�E�N�K�I�N�S�_�P�A�S�S�W�O�R�D�"�:� �"�x�x�"� � � � � � � � �}�,� � � � � � � � �"�d�i�s�a�b�l�e�d�"�:� �f�a�l�s�e�,� � � � � � � � �"�a�u�t�o�A�p�p�r�o�v�e�"�:� �[�]� � � � � � �}� � � � �}� � �}� � �� � � � �#�#� �A�v�a�i�l�a�b�l�e� �T�o�o�l�s� � � � �T�h�i�s� �M�C�P� �s�e�r�v�e�r� �p�r�o�v�i�d�e�s� �t�h�e� �f�o�l�l�o�w�i�n�g� �t�o�o�l�s�:� � � � �#�#�#� ��g�e�t�_�j�e�n�k�i�n�s�_�i�n�f�o�� � �G�e�t� �J�e�n�k�i�n�s� �s�e�r�v�e�r� �i�n�f�o�r�m�a�t�i�o�n� � � � �#�#�#� ��l�i�s�t�_�j�o�b�s�� � �L�i�s�t� �a�l�l� �J�e�n�k�i�n�s� �j�o�b�s� � � � �#�#�#� ��g�e�t�_�j�o�b�_�i�n�f�o�� � �G�e�t� �i�n�f�o�r�m�a�t�i�o�n� �a�b�o�u�t� �a� �s�p�e�c�i�f�i�c� �j�o�b� � � � �-� �P�a�r�a�m�e�t�e�r�s�:� � � � �-� ��j�o�b�_�n�a�m�e��:� �N�a�m�e� �o�f� �t�h�e� �j�o�b� �t�o� �i�n�s�p�e�c�t� � � � �#�#�#� ��g�e�t�_�l�a�s�t�_�b�u�i�l�d�s�� � �G�e�t� �a� �s�u�m�m�a�r�y� �o�f� �t�h�e� �m�o�s�t� �r�e�c�e�n�t� �b�u�i�l�d�s� �f�o�r� �a� �j�o�b� � � � �-� �P�a�r�a�m�e�t�e�r�s�:� � � � �-� ��j�o�b�_�n�a�m�e��:� �N�a�m�e� �o�f� �t�h�e� �j�o�b� � � � � � �-� ��c�o�u�n�t�� �(�o�p�t�i�o�n�a�l�)�:� �N�u�m�b�e�r� �o�f� �r�e�c�e�n�t� �b�u�i�l�d�s� �t�o� �r�e�t�r�i�e�v�e� �(�d�e�f�a�u�l�t�:� �3�)� � � � �#�#�#� ��g�e�t�_�b�u�i�l�d�_�i�n�f�o�� � �G�e�t� �d�e�t�a�i�l�e�d� �i�n�f�o�r�m�a�t�i�o�n� �a�b�o�u�t� �a� �s�p�e�c�i�f�i�c� �b�u�i�l�d� � � � �-� �P�a�r�a�m�e�t�e�r�s�:� � � � �-� ��j�o�b�_�n�a�m�e��:� �N�a�m�e� �o�f� �t�h�e� �j�o�b� � � � � � �-� ��b�u�i�l�d�_�n�u�m�b�e�r��:� �B�u�i�l�d� �n�u�m�b�e�r� �t�o� �i�n�s�p�e�c�t� � � � �#�#�#� ��g�e�t�_�b�u�i�l�d�_�c�o�n�s�o�l�e�_�o�u�t�p�u�t�� � �G�e�t� �c�o�n�s�o�l�e� �o�u�t�p�u�t� �f�o�r� �a� �s�p�e�c�i�f�i�c� �b�u�i�l�d� � � � �-� �P�a�r�a�m�e�t�e�r�s�:� � � � �-� ��j�o�b�_�n�a�m�e��:� �N�a�m�e� �o�f� �t�h�e� �j�o�b� � � � � � �-� ��b�u�i�l�d�_�n�u�m�b�e�r��:� �B�u�i�l�d� �n�u�m�b�e�r� �t�o� �i�n�s�p�e�c�t� � � � �#�#�#� ��g�e�t�_�v�i�e�w�s�� � �L�i�s�t� �a�l�l� �J�e�n�k�i�n�s� �v�i�e�w�s� � � � �#�#�#� ��t�r�i�g�g�e�r�_�j�o�b�_�b�u�i�l�d�� � �T�r�i�g�g�e�r� �a� �J�e�n�k�i�n�s� �j�o�b� �b�u�i�l�d� �w�i�t�h� �o�p�t�i�o�n�a�l� �p�a�r�a�m�e�t�e�r�s� � � � �-� �P�a�r�a�m�e�t�e�r�s�:� � � � �-� ��j�o�b�_�n�a�m�e��:� �N�a�m�e� �o�f� �t�h�e� �j�o�b� � � � � � �-� ��p�a�r�a�m�e�t�e�r�s�� �(�o�p�t�i�o�n�a�l�)�:� �D�i�c�t�i�o�n�a�r�y� �o�f� �p�a�r�a�m�e�t�e�r�s� �t�o� �p�a�s�s� �t�o� �t�h�e� �j�o�b� � � � � � � � �#�#�#� �d�e�m�o� �v�i�d�e�o� �:� � � �[�D�e�m�o�]�(�l�i�n�k�)� � �