list_jobs
Retrieve all Jenkins jobs to monitor project status and manage build pipelines through the Jenkins MCP server.
Instructions
List all Jenkins jobs
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- jenkins_mcp/server.py:170-174 (handler)The handler function for the 'list_jobs' MCP tool. It is decorated with @mcp.tool() for registration and executes the logic to list all Jenkins jobs by calling client.get_jobs().@mcp.tool() def list_jobs(ctx: Context) -> List[str]: """List all Jenkins jobs""" client = ctx.request_context.lifespan_context.client return client.get_jobs()