This tutorial walks you through connecting your AI client to the CloudBees Unify MCP Server and running your first conversational commands. By the end, you can query CloudBees Unify directly from your AI client using natural language.
Approximate time to complete: 15 minutes.
Prerequisites
Complete the following prerequisites before you begin:
-
Sign in to an active CloudBees Unify account.
-
Install an MCP-compatible AI client (Claude Code, Claude Desktop, or Gemini).
-
Have access to at least one component or workflow in CloudBees Unify.
Configure your AI client
First, configure your AI client to connect to the CloudBees Unify MCP Server. The exact configuration depends on which AI client you use.
Follow the connection guide for your client, then return here to continue:
Authenticate with CloudBees Unify
When you first connect to the CloudBees Unify MCP Server, you sign in through your browser:
-
Your AI client opens a browser window.
-
The sign-in page for CloudBees Unify displays.
-
Sign in using Google, GitHub, or your SSO provider.
-
Select your Root Organization from the list. You only see organizations you have access to.
-
The browser displays "Authentication successful" and closes.
-
Your AI client confirms the connection.
You only need to authenticate once. Your AI client stores your credentials securely for future tool calls.
| If you’re already signed in to CloudBees Unify in your browser, authentication may complete automatically. |
Verify the connection
Next, run a test to confirm your AI client can reach CloudBees Unify.
In your AI client, enter:
The agent calls the user_whoami tool and returns your user information:
If you encounter an error message instead, refer to Troubleshoot common issues with the CloudBees Unify MCP Server.
List available tools
Ask your AI agent to show which CloudBees Unify capabilities are available:
The agent lists the available tools organized by category:
-
Component management
-
Workflow operations
-
Build status and logs
-
Security findings
-
Feature flags
-
CI controller status
-
User and team management
| You can also view tools in your AI client’s CloudBees Unify MCP Server settings or tool list interface. |
Try common operations
Now that you’re connected, try some common use cases.
List your components
Ask the agent to list the components you can access:
The agent calls the appropriate tool and returns a list of components with their names, IDs, and status.
Check build status
Ask about a recent build for a specific component:
The agent:
-
Finds the
payment-servicecomponent. -
Retrieves recent builds.
-
Identifies the most recent one.
-
Reports its status (success, failure, in progress).
View build logs
If a build failed, you can investigate immediately:
The agent fetches and displays the build logs, making it easy to diagnose issues without leaving your IDE.
Understand tool behavior
When you ask a question in natural language:
-
The AI agent determines what information it needs.
-
It calls CloudBees Unify tools with appropriate parameters.
-
Results return to the AI agent.
-
The agent composes a natural language answer.
You don’t need to know the exact tool names or parameters, just ask in plain English.
| For complex questions, the agent may call multiple tools in sequence to gather all needed information. |
Explore further
Now that you’ve completed the basics, explore more advanced capabilities:
-
Configure feature flags for different environments.
-
Trigger workflows conversationally.
-
Investigate CI controller reports.
-
Query team membership and permissions.
Refer to CloudBees Unify MCP Server tool reference for the complete list of available operations.