Goose is an AI-powered agentic client that integrates with the CloudBees CI MCP Router through the Jenkins MCP Server plugin, connecting your development environment to CloudBees CI on modern cloud platforms. This enables context-aware code suggestions and automation using real CloudBees CI data, so you can interact with Jenkins resources directly from your development environment.
Prerequisites
Before you begin, ensure that you have:
-
Set up the CloudBees CI MCP Router, and have a copy of your encoded credentials for HTTP basic authentication.
-
Goose installed. For instructions, refer to the Goose installation guide.
-
An LLM provider that is configured for Goose. For instructions, refer to Setting up an LLM provider for Goose.
Connect Goose to the CloudBees CI MCP Router
After completing the prerequisites, connect Goose to the CloudBees CI MCP Router.
Option 1: Configure Goose using the desktop application
To connect Goose to the CloudBees CI MCP Router in the Goose desktop application:
-
Launch the Goose desktop application.
-
Add a new custom extension. For more information, refer to Adding Extensions.
-
When adding the custom extension, provide the following details:
-
Extension Name:
CloudBees CI MCP Router(or any name you prefer) -
Type: HTTP
-
Endpoint:
http://localhost:9000/mcp -
Request Headers: Add a custom HTTP header to include in requests to the CloudBees CI MCP Router.
-
Header Name:
Authorization -
Value:
Basic dXNlcm5hbWU6dG9rZW4=, replacingdXNlcm5hbWU6dG9rZW4=with your actual encoded credentials.
-
-
-
Select +Add to add the request header.
-
Select Add Extension to add the new extension and activate it. If the extension is configured correctly, a confirmation message appears indicating that the extension has been activated.
If the CloudBees CI MCP Router is not running or the MCP endpoint is unreachable, Goose may display an error message indicating that it cannot activate the extension.
Option 2: Configure Goose using the Goose CLI
To connect Goose to the CloudBees CI MCP Router using the Goose CLI:
-
Open a terminal on the machine where Goose is installed.
-
Run the
goose-configurecommand to start the interactive configuration process:1 You can name the extension whatever you prefer. 2 The default timeout is 300 seconds. You can adjust this value as needed. 3 Replace dXNlcm5hbWU6dG9rZW4=with your actual encoded credentials.
Use Goose for development tasks
Now that Goose is connected to the CloudBees CI MCP Router, you can use the following tools and commands to accelerate your development workflow. For a list of supported Jenkins tools, refer to MCP Server plugin - Available Tools.