{"_id":"@zythegit/jenkins-config-mcp","_rev":"7-80082dab9fe47636424caee3da69955f","name":"@zythegit/jenkins-config-mcp","dist-tags":{"next":"1.6.0-rc.4","latest":"1.6.4"},"versions":{"1.6.0-rc.3":{"name":"@zythegit/jenkins-config-mcp","version":"1.6.0-rc.3","keywords":["mcp","jenkins","modelcontextprotocol"],"license":"MIT","_id":"@zythegit/jenkins-config-mcp@1.6.0-rc.3","maintainers":[{"name":"zy_ajiu","email":"1353969708@qq.com"}],"homepage":"https://github.com/zyTheGit/jenkins-config#readme","bugs":{"url":"https://github.com/zyTheGit/jenkins-config/issues"},"bin":{"jenkins-config-mcp":"bin/jenkins-config-mcp.js"},"dist":{"shasum":"bff4e3ef3ff023400e91abbfac70db46830b6899","tarball":"https://registry.npmjs.org/@zythegit/jenkins-config-mcp/-/jenkins-config-mcp-1.6.0-rc.3.tgz","fileCount":3,"integrity":"sha512-T/pN0KuwTMJW+freZt0QLE2nThh7lIzP9JknlVXG5CYXXAe4vJrtjof7EUBqXyFN7raDUtjLBHG/aPbXS1Kkew==","signatures":[{"sig":"MEQCIHazAo9V74MdxVVtkIvEfB8cKOd7W+mPXyLS/3J9s1zxAiBpOcxzkIzSrFuc9yUc14/Mm8ne1LU5b+0XA0oBDpZjXg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@zythegit%2fjenkins-config-mcp@1.6.0-rc.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11919},"engines":{"node":">=18"},"gitHead":"38ed47204ddb0b4d7ff3277228fc84d00d758c49","_npmUser":{"name":"zy_ajiu","email":"1353969708@qq.com"},"repository":{"url":"git+https://github.com/zyTheGit/jenkins-config.git","type":"git","directory":"npm"},"_npmVersion":"10.8.2","description":"npx launcher for the jenkins-config MCP Server (Python)","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/jenkins-config-mcp_1.6.0-rc.3_1787706159152_0.3376188036942771","host":"s3://npm-registry-packages-npm-production"}},"1.6.0-rc.4":{"name":"@zythegit/jenkins-config-mcp","version":"1.6.0-rc.4","keywords":["mcp","jenkins","modelcontextprotocol"],"license":"MIT","_id":"@zythegit/jenkins-config-mcp@1.6.0-rc.4","maintainers":[{"name":"zy_ajiu","email":"1353969708@qq.com"}],"homepage":"https://github.com/zyTheGit/jenkins-config#readme","bugs":{"url":"https://github.com/zyTheGit/jenkins-config/issues"},"bin":{"jenkins-config-mcp":"bin/jenkins-config-mcp.js"},"dist":{"shasum":"679250eeebbfa902f9f4dab5a9dea55a01739859","tarball":"https://registry.npmjs.org/@zythegit/jenkins-config-mcp/-/jenkins-config-mcp-1.6.0-rc.4.tgz","fileCount":3,"integrity":"sha512-1Mlsd1JqYQExWvDMyiPOn/eO9BSGunBbU0OKQvuReafr06KvUDUUCUgXr/GF82GGhQGabZPY4IZgkLmWeHyJWg==","signatures":[{"sig":"MEYCIQDtc/djj3wRLFWnsj5vuDUZwnLAno9fW4fWmB9lN0MuGQIhAJu1owqrrdtzsT/RjF8KRmhvzTPKyP0bequsBHZSY3sE","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@zythegit%2fjenkins-config-mcp@1.6.0-rc.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11919},"engines":{"node":">=18"},"gitHead":"14b9afbee81c09c561455d4657cbcbbe60686f9c","_npmUser":{"name":"zy_ajiu","email":"1353969708@qq.com"},"repository":{"url":"git+https://github.com/zyTheGit/jenkins-config.git","type":"git","directory":"npm"},"_npmVersion":"10.8.2","description":"npx launcher for the jenkins-config MCP Server (Python)","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/jenkins-config-mcp_1.6.0-rc.4_1787735124077_0.5360016738703428","host":"s3://npm-registry-packages-npm-production"}},"1.6.0":{"name":"@zythegit/jenkins-config-mcp","version":"1.6.0","keywords":["mcp","jenkins","modelcontextprotocol"],"license":"MIT","_id":"@zythegit/jenkins-config-mcp@1.6.0","maintainers":[{"name":"zy_ajiu","email":"1353969708@qq.com"}],"homepage":"https://github.com/zyTheGit/jenkins-config#readme","bugs":{"url":"https://github.com/zyTheGit/jenkins-config/issues"},"bin":{"jenkins-config-mcp":"bin/jenkins-config-mcp.js"},"dist":{"shasum":"98aaecdd247f5f997c9d529cc55b14949c2d19c5","tarball":"https://registry.npmjs.org/@zythegit/jenkins-config-mcp/-/jenkins-config-mcp-1.6.0.tgz","fileCount":3,"integrity":"sha512-K4BDWYderRdPP1xNIxZoA5zk2wdgjYgj7F6mHFOdyzBk8C8cdsM5sus/AI1SLXsS9VeaTodhXlibdU0MUH2E1w==","signatures":[{"sig":"MEYCIQDex8BvuLSyH70rfAP4U1vz06ZZhNN6DQVv6s608ce6DwIhAKmdKCjtJgNbCsedxMD+TaOdubsIb1QYRKPKRKgv8ig2","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@zythegit%2fjenkins-config-mcp@1.6.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11914},"engines":{"node":">=18"},"gitHead":"ff5759567ae0ddbd66bdb8231d5e1d050f7c1077","_npmUser":{"name":"zy_ajiu","email":"1353969708@qq.com"},"repository":{"url":"git+https://github.com/zyTheGit/jenkins-config.git","type":"git","directory":"npm"},"_npmVersion":"10.8.2","description":"npx launcher for the jenkins-config MCP Server (Python)","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/jenkins-config-mcp_1.6.0_1787798166535_0.6420435626359031","host":"s3://npm-registry-packages-npm-production"}},"1.6.1":{"name":"@zythegit/jenkins-config-mcp","version":"1.6.1","keywords":["mcp","jenkins","modelcontextprotocol"],"license":"MIT","_id":"@zythegit/jenkins-config-mcp@1.6.1","maintainers":[{"name":"zy_ajiu","email":"1353969708@qq.com"}],"homepage":"https://github.com/zyTheGit/jenkins-config#readme","bugs":{"url":"https://github.com/zyTheGit/jenkins-config/issues"},"bin":{"jenkins-config-mcp":"bin/jenkins-config-mcp.js"},"dist":{"shasum":"0a5f679c61826e991838c51d48ea669d14734823","tarball":"https://registry.npmjs.org/@zythegit/jenkins-config-mcp/-/jenkins-config-mcp-1.6.1.tgz","fileCount":3,"integrity":"sha512-EkNrO/blzG+105PXmdnVU7QkHMjVs19Y6TRIxv6BSvM8Ic4j+ySbR3Z+ZAs8koIxVLvZfZFoEObchb+Qho94dw==","signatures":[{"sig":"MEQCIAwhrYN6+B86o7AbiOWWN4+DxshRbFItMClP9swDfzPzAiBH6c2ixFm3s9OP1lLTxV1u6lvttqoM0BsXQf+Omx6pfQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@zythegit%2fjenkins-config-mcp@1.6.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11914},"engines":{"node":">=18"},"gitHead":"9a10551fe0f1bda524f778c733aad8a64a36de8e","_npmUser":{"name":"zy_ajiu","email":"1353969708@qq.com"},"repository":{"url":"git+https://github.com/zyTheGit/jenkins-config.git","type":"git","directory":"npm"},"_npmVersion":"10.8.2","description":"npx launcher for the jenkins-config MCP Server (Python)","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/jenkins-config-mcp_1.6.1_1787811009758_0.8926241278469349","host":"s3://npm-registry-packages-npm-production"}},"1.6.2":{"name":"@zythegit/jenkins-config-mcp","version":"1.6.2","keywords":["mcp","jenkins","modelcontextprotocol"],"license":"MIT","_id":"@zythegit/jenkins-config-mcp@1.6.2","maintainers":[{"name":"zy_ajiu","email":"1353969708@qq.com"}],"homepage":"https://github.com/zyTheGit/jenkins-config#readme","bugs":{"url":"https://github.com/zyTheGit/jenkins-config/issues"},"bin":{"jenkins-config-mcp":"bin/jenkins-config-mcp.js"},"dist":{"shasum":"bcc6ae94d654d3e50165592321432645403b63fa","tarball":"https://registry.npmjs.org/@zythegit/jenkins-config-mcp/-/jenkins-config-mcp-1.6.2.tgz","fileCount":3,"integrity":"sha512-i64B0KE13qm+OX+ZS579DTQ4BSgRMMaYtmGIgOTNu4wozXVHpSAAhHjfHiS+/wylyBV/c57XZxmQDVG5KhT7xg==","signatures":[{"sig":"MEUCIAUCKEpfxzFsVpfBhK2SKbfG7OuFeHKOqzFfTd05DYVDAiEA5dskrUQ2Ie+dFiik/HxKNo+Py+4TOBOdjkvSlJo6sIY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@zythegit%2fjenkins-config-mcp@1.6.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":19821},"engines":{"node":">=18"},"gitHead":"add4e70e5babe3d7ffa0c5d4a0e45f2548877c2f","_npmUser":{"name":"zy_ajiu","email":"1353969708@qq.com"},"repository":{"url":"git+https://github.com/zyTheGit/jenkins-config.git","type":"git","directory":"npm"},"_npmVersion":"10.8.2","description":"npx launcher for the jenkins-config MCP Server (Python)","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/jenkins-config-mcp_1.6.2_1787831121760_0.7967464252162342","host":"s3://npm-registry-packages-npm-production"}},"1.6.3":{"name":"@zythegit/jenkins-config-mcp","version":"1.6.3","keywords":["mcp","jenkins","modelcontextprotocol"],"license":"MIT","_id":"@zythegit/jenkins-config-mcp@1.6.3","maintainers":[{"name":"zy_ajiu","email":"1353969708@qq.com"}],"homepage":"https://github.com/zyTheGit/jenkins-config#readme","bugs":{"url":"https://github.com/zyTheGit/jenkins-config/issues"},"bin":{"jenkins-config-mcp":"bin/jenkins-config-mcp.js"},"dist":{"shasum":"5b57c8c792842d5cc4c7f2eca7195ffae130a02c","tarball":"https://registry.npmjs.org/@zythegit/jenkins-config-mcp/-/jenkins-config-mcp-1.6.3.tgz","fileCount":3,"integrity":"sha512-XvZZyF1Bf/pcj2qhumjaoRhzlwHYfM2JFF7mT3AZW1cIxP2//kXwEsqFYWXuaEjCYRFhmml+SH7a9iAYQlrPLQ==","signatures":[{"sig":"MEUCIE40heI/mtMPpc+6IPP85LGxwdH+7oxE88e2Ft+P8rWxAiEA4cY7dUIYjevoi7IPTQdySWZ8NW5V0/AAWIcn+6kpku0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIAzcjGkfup8jy4jOaBv19+03Qm5P3/bCJeh9WLm+dutsAiEAzgtjriO7IvYf5I0fCR6KlkxBZbG9Yzqq6glaryMDBCM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@zythegit%2fjenkins-config-mcp@1.6.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":19821},"engines":{"node":">=18"},"gitHead":"5f909522a747b3014de63274603c4433b88663c4","_npmUser":{"name":"zy_ajiu","email":"1353969708@qq.com"},"repository":{"url":"git+https://github.com/zyTheGit/jenkins-config.git","type":"git","directory":"npm"},"_npmVersion":"10.8.2","description":"npx launcher for the jenkins-config MCP Server (Python)","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/jenkins-config-mcp_1.6.3_1790231587466_0.9095287058689216","host":"s3://npm-registry-packages-npm-production"}},"1.6.4":{"_id":"@zythegit/jenkins-config-mcp@1.6.4","bin":{"jenkins-config-mcp":"bin/jenkins-config-mcp.js"},"bugs":{"url":"https://github.com/zyTheGit/jenkins-config/issues"},"dist":{"shasum":"d34b774c42d9136e273dc5aa1dcdcb04cf0ac82b","tarball":"https://registry.npmjs.org/@zythegit/jenkins-config-mcp/-/jenkins-config-mcp-1.6.4.tgz","fileCount":3,"integrity":"sha512-cAKQBkCo1nnGZE95iwVSnb8imS/HWILI82robUtGNcAzcl3Cd7G3pv8lNo7lueOOlubq2CmFNmUGqUILz5dMPw==","signatures":[{"sig":"MEYCIQC614axKDB8QPSIykiDCweMy3bEYIxPcYwsdNSPluSJCgIhAM48Urpbi/XCEFZFcmY70jewulZEkk1Ty71CIkGcPCU+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGU9HCKENRQ00SGD0RrX6LRT4jQFtLambhMRJdxxvpUGAiAqeaUk9d2j3oOhirYpo+EO1DJSrlxe66LFY+MGgjoRhA=="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@zythegit%2fjenkins-config-mcp@1.6.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":19821},"name":"@zythegit/jenkins-config-mcp","engines":{"node":">=18"},"gitHead":"487e84fb0af2362355d061cc7b3c2257e3ab8966","license":"MIT","version":"1.6.4","_npmUser":{"name":"zy_ajiu","email":"1353969708@qq.com"},"homepage":"https://github.com/zyTheGit/jenkins-config#readme","keywords":["mcp","jenkins","modelcontextprotocol"],"repository":{"url":"git+https://github.com/zyTheGit/jenkins-config.git","type":"git","directory":"npm"},"_npmVersion":"10.8.2","description":"npx launcher for the jenkins-config MCP Server (Python)","directories":{},"maintainers":[{"name":"zy_ajiu","email":"1353969708@qq.com"}],"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/jenkins-config-mcp_1.6.4_1792750463429_0.5531530512865925"}}},"time":{"created":"2026-08-26T01:02:39.039Z","modified":"2026-10-23T10:14:23.903Z","1.6.0-rc.3":"2026-08-26T01:02:39.284Z","1.6.0-rc.4":"2026-08-26T09:05:24.206Z","1.6.0":"2026-08-27T02:36:06.669Z","1.6.1":"2026-08-27T06:10:09.879Z","1.6.2":"2026-08-27T11:45:21.895Z","1.6.3":"2026-09-24T06:33:07.557Z","1.6.4":"2026-10-23T10:14:23.512Z"},"bugs":{"url":"https://github.com/zyTheGit/jenkins-config/issues"},"license":"MIT","homepage":"https://github.com/zyTheGit/jenkins-config#readme","keywords":["mcp","jenkins","modelcontextprotocol"],"repository":{"url":"git+https://github.com/zyTheGit/jenkins-config.git","type":"git","directory":"npm"},"description":"npx launcher for the jenkins-config MCP Server (Python)","maintainers":[{"name":"zy_ajiu","email":"1353969708@qq.com"}],"readme":"# @zythegit/jenkins-config-mcp\n\n`jenkins-config` MCP Server 的一键启动器。**目标机器只需要 Node.js 18+，不需要 Python。**\n\nMCP Server 本体是 Python 实现，但发布物是 PyInstaller 打出的单文件二进制（自带 Python 运行时）。\n本包是一层薄启动器：首次运行时从 GitHub Release 下载当前平台的二进制、校验 sha256 并缓存，\n之后直接复用；启动后以 stdio 直通方式转发 MCP 协议。\n\n## 用法\n\n```jsonc\n{\n  \"mcpServers\": {\n    \"jenkins-build\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@zythegit/jenkins-config-mcp\"]\n    }\n  }\n}\n```\n\n默认为只读模式，`trigger_build` / `rebuild_last` / `save_config` 会被拒绝；\n确认要让 AI 代为触发构建时再加 `\"env\": { \"JENKINS_MCP_ALLOW_WRITE\": \"1\" }`。\n\n支持的平台：Windows x64、macOS x64 / arm64、Linux x64 / arm64。\n\n## 其他客户端\n\n上面那段 `mcpServers` 适用于 Claude Desktop / Claude Code / Cursor 等大多数客户端。以下三家键名或格式不同，照抄会配了不生效：\n\n**Codex CLI** — `~/.codex/config.toml`（或受信任项目的 `.codex/config.toml`），TOML 格式，表名带下划线：\n\n```toml\n[mcp_servers.jenkins-build]\ncommand = \"npx\"\nargs = [\"-y\", \"@zythegit/jenkins-config-mcp\"]\nenv = { JENKINS_MCP_ALLOW_WRITE = \"1\" }\n```\n\n也可以 `codex mcp add jenkins-build --env JENKINS_MCP_ALLOW_WRITE=1 -- npx -y @zythegit/jenkins-config-mcp`，TUI 里用 `/mcp` 看连接状态。\n\n**OpenCode** — `~/.config/opencode/opencode.json`（或项目根的 `opencode.json`）的 `mcp` 键下，`command` 是数组，环境变量键名是 `environment` 而非 `env`：\n\n```json\n{\n  \"$schema\": \"https://opencode.ai/config.json\",\n  \"mcp\": {\n    \"jenkins-build\": {\n      \"type\": \"local\",\n      \"command\": [\"npx\", \"-y\", \"@zythegit/jenkins-config-mcp\"],\n      \"environment\": { \"JENKINS_MCP_ALLOW_WRITE\": \"1\" },\n      \"enabled\": true\n    }\n  }\n}\n```\n\n**Pi** — 内核不带 MCP，得先装适配器扩展并重启 Pi：\n\n```bash\npi install npm:pi-mcp-adapter\n```\n\n之后写项目根的 `.mcp.json` 或全局 `~/.pi/agent/mcp.json`，格式与上面那段 `mcpServers` 完全一致，直接复制。装好后用 `/mcp` 面板看连接状态。\n\nVS Code (Copilot) 的 `.vscode/mcp.json` 顶层键是 `servers` 而不是 `mcpServers`。逐客户端的完整说明见仓库内 `docs/mcp/README.md` §3.4。\n\n改完配置都要重启客户端，MCP 配置不热加载。\n\n\n## 解析优先级\n\n1. `JENKINS_MCP_BINARY` — 直接指定二进制路径\n2. `JENKINS_MCP_PYTHON` — 指定解释器，执行 `-m jenkins_config.mcp.server`（开发用）\n3. 缓存中已下载的二进制\n4. 从 Release 下载二进制并校验 sha256\n5. 兜底：PATH 上的 `jenkins-config-mcp` / `uvx` / `python`\n\n日志一律走 stderr，stdout 只用于 MCP 的 JSON-RPC 通道。\n\n## 环境变量\n\n- `JENKINS_MCP_VERSION` — 要下载的 Release tag，默认 `v<npm 包版本>`\n- `JENKINS_MCP_RELEASE_BASE` — 下载地址前缀，默认 GitHub Release，可指向内网镜像\n- `JENKINS_MCP_CACHE_DIR` — 缓存根目录，默认 `~/.cache`（Windows 为 `%LOCALAPPDATA%`）\n- `JENKINS_MCP_SKIP_CHECKSUM=1` — 跳过 sha256 校验（不建议）\n- `JENKINS_MCP_LAUNCHER_DRYRUN=1` — 只打印解析出的命令后退出，用于排查启动问题\n\nServer 自身的环境变量（`JENKINS_MCP_ALLOW_WRITE`、`JENKINS_MCP_ALLOWED_HOSTS`、\n`JENKINS_MCP_CONFIG_ROOTS`）会原样透传，说明见仓库内 `docs/mcp/README.md`。\n","readmeFilename":"README.md"}