Jenkins

Jenkins

This MCP server allow you to create Jenkins tasks.

1
Stars
0
Forks
0
Releases

Overview

jenkins-mcp-server is an MCP server that automates Jenkins build tasks by creating and triggering Jenkins jobs via the MCP client. It provides a minimal, script-based workflow: configure environment variables and server port, start the server, then submit a build task from the client. Configuration is done in the .env file (Jenkins URL, user, token, and OpenAI API base URL, model, and API key) and in server_config.json to set the port. Start the server with python3 mcp_server.py and issue a build task with python3 mcp_client.py. When a task is submitted, the server routes it to Jenkins, enabling real-time monitoring; the README notes that you will see the build task running in Jenkins, and once finished, the client reports the result. The setup also references OpenAI-related settings, suggesting model-based orchestration or prompt-driven decision making. This description reflects what is documented in the README; no additional details are provided about endpoints, authentication flows, or error handling.

Details

Owner
jasonkylelol
Language
Python
License
MIT License
Updated
2025-12-07

Features

End-to-end Jenkins build task automation

Triggers Jenkins builds automatically via MCP; the server creates and starts Jenkins jobs in response to client requests.

Configurable Jenkins connection

Configures Jenkins URL, user, and token in a .env file to establish the integration.

Port and server configuration

Allows setting the MCP server port by editing server_config.json.

Command-line tooling

Includes mcp_server.py to start the server and mcp_client.py to submit tasks.

OpenAI model integration

Supports OpenAI API base URL, model, and API key for model-based orchestration.

Real-time status and result reporting

Client reports the Jenkins task status while running and provides results once complete.

Tags

JenkinsMCPautomationbuild-tasksOpenAIAPI