CLI¶
jenkins is a small command tree (built on urfave/cli). A bare jenkins with no subcommand is equivalent to jenkins mcp.
jenkins mcp¶
Run the MCP server over stdio. This is what MCP clients (Claude Desktop/Code, Cursor) invoke — see Configuration for client setup.
jenkins test¶
Verify credentials against Jenkins: calls the /whoAmI endpoint and prints the resolved principal. Useful for confirming credentials are correct before wiring up an MCP client.
$ jenkins test
OK authenticated with Jenkins (url=https://ci.example.com)
name=ada authenticated=true
read-only=false
Next: browse the tools¶
See Tools for the full list of registered tools, or Architecture for how each one calls Jenkins.