A tool for interacting with Jenkins CI/CD servers, requiring environment variables for configuration.
{{ message }}
hekmon8 / Jenkins-server-mcp Public
MIT license
10 stars11 forksBranches Tags Activity
Star
Notifications
main
BranchesTags
Go to file
Code
Name | Name | Last commit message | Last commit date |
---|---|---|---|
2 Commits | |||
src | src | ||
LICENSE | LICENSE | ||
package.json | package.json | ||
readme.md | readme.md | ||
tsconfig.json | tsconfig.json | ||
View all files |
A Model Context Protocol (MCP) server that provides tools for interacting with Jenkins CI/CD servers. This server enables AI assistants to check build statuses, trigger builds, and retrieve build logs through a standardized interface.
git clone https://github.com/hekmon8/jenkins-server-mcp.git cd jenkins-server-mcp
npm install
npm run build
The server requires the following environment variables:
JENKINS_URL
: The URL of your Jenkins serverJENKINS_USER
: Jenkins username for authenticationJENKINS_TOKEN
: Jenkins API token for authenticationConfigure these in your MCP settings file:
MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
{ "mcpServers": { "jenkins-server": { "command": "node", "args": ["/path/to/jenkins-server-mcp/build/index.js"], "env": { "JENKINS_URL": "https://your-jenkins-server.com", "JENKINS_USER": "your-username", "JENKINS_TOKEN": "your-api-token" } } } }
Get the status of a Jenkins build:
// Example usage const result = await mcpClient.useTool("jenkins-server", "get_build_status", { jobPath: "view/xxx_debug", buildNumber: "lastBuild" // Optional, defaults to lastBuild });
Input Schema:
{ "jobPath": "string", // Path to Jenkins job "buildNumber": "string" // Optional, build number or "lastBuild" }
Trigger a new Jenkins build with parameters:
// Example usage const result = await mcpClient.useTool("jenkins-server", "trigger_build", { jobPath: "view/xxx_debug", parameters: { BRANCH: "main", BUILD_TYPE: "debug" } });
Input Schema:
{ "jobPath": "string", // Path to Jenkins job "parameters": { // Build parameters as key-value pairs } }
Retrieve the console output of a Jenkins build:
// Example usage const result = await mcpClient.useTool("jenkins-server", "get_build_log", { jobPath: "view/xxx_debug", buildNumber: "lastBuild" });
Input Schema:
{ "jobPath": "string", // Path to Jenkins job "buildNumber": "string" // Build number or "lastBuild" }
For development with auto-rebuild:
npm run watch
Since MCP servers communicate over stdio, you can use the MCP Inspector for debugging:
npm run inspector
This will provide a URL to access debugging tools in your browser.
Thanks AIMCP(https://www.aimcp.info).
This project is licensed under the MIT License - see the LICENSE file for details.
No description, website, or topics provided.
Readme
MIT license
Activity
10 stars
2 watching
11 forks
Report repository
No releases published
No packages published
Connects Blender to Claude AI via the Model Context Protocol (MCP), enabling direct interaction and control for prompt-assisted 3D modeling, scene creation, and manipulation.
A specialized MCP gateway for LLM enhancement prompts and jailbreaks with dynamic schema adaptation. Provides prompts for different LLMs using an enum-based approach.
Gru-sandbox(gbox) is an open source project that provides a self-hostable sandbox for MCP integration or other AI agent usecases.
MCP Server that exposes Creatify AI API capabilities for AI video generation, including avatar videos, URL-to-video conversion, text-to-speech, and AI-powered editing tools.
A starter project for building Model Context Protocol (MCP) servers with the mcp-framework.
Interact with the Prefect API for workflow orchestration and management.
Run and manage docker containers, docker compose, and logs
Provides access to OpenTelemetry traces and metrics through Logfire.
A Ruby gem providing secure Rails console access through MCP for AI agents and development tools.
Fetch comprehensive information about CRAN packages, including READMEs, metadata, and search functionality.