MCP.so
登录

Jenkins Mcp

@WinJayX

关于 Jenkins Mcp

Jenkins MCP Server

基本信息

分类

其他

运行时

python

传输方式

stdio

发布者

WinJayX

提交者

Win Jay

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-jenkins-server": {
      "command": "/Users/username/.local/bin/uv -> //uv full path",
      "args": [
        "--directory",
        "/Users/username/Desktop/mcp-jenkins-server -> //project path ",
        "run",
        "server.py"
      ],
      "env": {
        "JENKINS_URL": "http://localhost:8080",
        "JENKINS_USERNAME": "xx",
        "JENKINS_PASSWORD": "xx"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Jenkins Mcp?

Jenkins Mcp is a Model Context Protocol (MCP) server that provides Jenkins integration tools. It allows AI assistants to interact with a Jenkins server – retrieving job information, build details, console output, views, and triggering builds – using Jenkins API authentication.

How to use Jenkins Mcp?

Install dependencies with pip install -r requirements.txt, then configure credentials in a .env file (JENKINS_URL, JENKINS_USER, JENKINS_TOKEN) or via environment variables in the MCP client configuration. Add the server to your MCP client (e.g., Claude Desktop) by editing claude_desktop_config.json with the command and environment variables. Once connected, any MCP‑compatible assistant can call the exposed tools by name.

Key features of Jenkins Mcp

  • Retrieve Jenkins server information
  • List and inspect Jenkins jobs
  • Get recent builds and build summaries
  • View build details and console output
  • List and manage Jenkins views
  • Trigger job builds with optional parameters

Use cases of Jenkins Mcp

  • An AI assistant queries the status of recent builds for a CI/CD pipeline.
  • A developer triggers a parameterized Jenkins job directly from a chat interface.
  • Automating inspection of Jenkins server configuration and job health.
  • Debugging failed builds by fetching console output without opening the Jenkins UI.
  • Managing Jenkins views and jobs through natural language commands.

FAQ from Jenkins Mcp

What are the runtime requirements?

Python 3.10 or higher and access to a Jenkins server with API access enabled.

How does authentication work?

The server uses a Jenkins API token for authentication. Credentials are set via a .env file (JENKINS_USER, JENKINS_TOKEN) or environment variables in the MCP client configuration.

How do I install and add the server?

Clone the repository, run pip install -r requirements.txt, then add the server to your MCP client by providing the uv command, project directory, and environment variables in the client’s config JSON.

Does it support triggering builds with parameters?

Yes. The trigger_job_build tool accepts an optional parameters dictionary to pass to the Jenkins job.

Where is the server’s data stored?

No data is stored locally beyond the configuration files (.env). All operations are performed live against the configured Jenkins server.

评论

其他 分类下的更多 MCP 服务器