GitHub Copilot is an AI-powered coding assistant that integrates with the CloudBees CI MCP Router through the Jenkins MCP Server plugin, connecting your IDE 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.
-
A GitHub account with access to a GitHub Copilot plan.
-
A compatible IDE with the required GitHub Copilot plugins or extensions installed.
Connect GitHub Copilot to the CloudBees CI MCP Router in your IDE
After completing the prerequisites, connect GitHub Copilot to the CloudBees CI MCP Router from your IDE.
To connect GitHub Copilot to the CloudBees CI MCP Router in your IDE:
-
Open your IDE, launch the GitHub Copilot chat window, and set the chat interface to Agent mode.
-
Create or open the
mcp.jsonconfiguration file. The location of this file may vary depending on your IDE. For more information, refer to Extending GitHub Copilot Chat with the Model Context Protocol (MCP). -
Add your CloudBees CI MCP Router configuration to the
mcp.jsonfile, including the encoded HTTP basic authentication credentials you generated in Set up the CloudBees CI MCP Router.1 Replace dXNlcm5hbWU6dG9rZW4=with your actual encoded credentials. -
Save the
mcp.jsonfile. If properly configured, messages similar to the following are available in the IDE’s log:[2025-09-18 16:30:41.064][info] [ci-mcp-router]Starting server ci-mcp-router [2025-09-18 16:30:41.192][info] [ci-mcp-router]Connection state: Running [2025-09-18 16:30:41.214][info] [ci-mcp-router]Discovered 12 tools
Use GitHub Copilot for development tasks
Now that GitHub Copilot 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.