MCP.so
ログイン

Jenkins MCP Server

@ProgrammerAgua

基本情報

カテゴリ

その他

ライセンス

Apache-2.0

トランスポート

stdio

作者

ProgrammerAgua

投稿者

明远 胡

Jenkins MCP Server について

概要はまだありません

Jenkins MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "jenkins-mcp": {
      "command": "java",
      "args": [
        "-jar",
        "<YOUR_PATH>\\mcp-jenkins-server-0.0.1-SNAPSHOT.jar"
      ],
      "env": {
        "JENKINS_API_SERVER_URI": "<YOUR_JENKINS_URI>",
        "JENKINS_API_USERNAME": "<YOUR_USERNAME>",
        "JENKINS_API_TOKEN": "<YOUR_PASSWORD_OR_TOKEN>"
      }
    }
  }
}

Jenkins MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Jenkins Mcp?

Jenkins Mcp is an MCP (Model Context Protocol) server built with Spring AI that wraps the Jenkins REST API, providing a set of common operations for managing Jenkins jobs. It is designed for developers and CI/CD engineers who want to interact with a Jenkins server through an MCP-compliant tool or agent.

How to use Jenkins Mcp?

Clone the repository, run mvn package to build the JAR, then configure your mcp.json with the full path to the JAR and set three environment variables: JENKINS_API_SERVER_URI, JENKINS_API_USERNAME, and JENKINS_API_TOKEN. Launch the server with java -jar <path-to-jar>.

Key features of Jenkins Mcp

  • Create, delete, enable, disable, and rename jobs
  • Trigger builds with or without parameters
  • Stop running builds
  • Retrieve job info, build info, and build logs
  • Get and update job configuration XML
  • Get last build number and timestamp

Use cases of Jenkins Mcp

  • Automate CI/CD workflows by creating or modifying Jenkins jobs from an AI agent
  • Query build status and logs without logging into the Jenkins UI
  • Integrate Jenkins management into a larger MCP-based assistant or toolchain

よくある質問

1

What technology does Jenkins Mcp use?

It is built with Spring Boot 3.3.6, the Spring AI MCP Server framework, and a Jenkins REST API client.

2

What are the runtime dependencies?

JDK 17+ and Maven 3.6+ are required to build and run. A Jenkins server with the “Remote Access API” enabled must be accessible.

3

How is authentication configured?

Set the `JENKINS_API_USERNAME` and `JENKINS_API_TOKEN` environment variables in the `mcp.json` configuration. The token acts as the password.

4

What operations does Jenkins Mcp support?

It supports job management (create, delete, enable, disable, rename), job building (trigger with or without parameters, stop), job information retrieval (info, build details, logs, last build number/timestamp), and job configuration (get and update XML).

5

Does Jenkins Mcp store any data?

No. It acts as a stateless proxy between the MCP client and the Jenkins REST API; all data lives on the Jenkins server.

コメント

「その他」の他のコンテンツ