Migrate each AI client from the deprecated local CloudBees Unify MCP Server (stdio transport) to the CloudBees-hosted remote server at https://mcp.cloudbees.io/v1/mcp.
For background on the remote server and what changed, refer to Understanding the CloudBees Unify MCP Server.
Allow approximately 10 minutes per AI client.
Before you begin
-
Have an active CloudBees Unify account.
-
Have an AI client currently configured to use a local CloudBees Unify MCP Server (stdio transport).
-
Have access to your AI client’s configuration file or settings.
Inventory your existing local server configurations
Identify every AI client using a local server before making any configuration changes.
-
List every AI client on every machine that uses a local CloudBees Unify MCP Server. Look for entries named
unify,cloudbees-unify-mcp, or similar in:-
Claude Code:
~/.claude.json -
Claude Desktop: Select Settings, Developer, MCP Servers
-
Claude.ai: Select Settings, Connectors
-
-
Note which clients are using a local server.
Update your AI client configuration
Update each client to point at the remote server using the HTTP transport.
-
For each client, replace the stdio transport configuration with the HTTP transport configuration:
Before (stdio transport)After (HTTP transport){ "mcpServers": { "unify-mcp-server": { "type": "stdio", "command": "docker", "args": [ "run", "--rm", "-i", "--env", "CLOUDBEES_PERSONAL_ACCESS_TOKEN", "cloudbees/unify-mcp-server:latest", "stdio", "--mode=unify", "--organization-id=XX" ], "env": { "CLOUDBEES_PERSONAL_ACCESS_TOKEN": "XX" } } } }{ "mcpServers": { "unify-mcp-server": { "type": "http", "url": "https://mcp.cloudbees.io/v1/mcp", "oauth": { "clientId": "public-mcp-client" } } } }With the remote server, authentication happens through the OAuth flow when you first connect, not through configuration files. -
For client-specific configuration steps, refer to:
| CloudBees does not recommend running the local and remote servers in parallel. If both are configured, AI clients may route identical tool calls to either connection, making results inconsistent and harder to debug. Move each machine fully to the remote server before configuring the next. |
Authenticate with OAuth
When you first connect your AI client after updating the configuration, the OAuth flow runs automatically.
-
The OAuth flow opens in your web browser.
-
Sign in using Google, GitHub, or SSO.
-
Select your Root Organization.
-
Your AI client stores your credentials securely.
This is a one-time setup per client.
Verify the connection
Confirm the remote server is reachable and responding before removing the local server.
-
In your AI client, ask the following question:
"List the CloudBees Unify components I have access to." -
Confirm that a list of components appears within a few seconds.
-
If your AI client reports that the tool is unavailable or cannot reach CloudBees Unify, refer to Troubleshoot CloudBees Unify MCP Server issues.
| Your existing conversations in Claude Code or Claude Desktop continue to work. Conversations are not tied to a specific connection; once the new configuration is active, new tool calls use the remote server. Consider starting a new conversation after migrating to avoid mixing contexts. |
Remove the local CloudBees Unify MCP Server
Once you confirm the remote server works, clean up the local server to avoid routing conflicts.
-
Remove the local server binary or Docker image:
-
Binary (macOS / Linux):
rm /usr/local/bin/cloudbees-unify-mcp-server -
Docker:
docker image rm cloudbees/unify-mcp-server
-
-
Remove any environment variables,
launchdunits, orsystemdunits that started the local server. -
Delete any legacy API tokens from the CloudBees Unify UI to reduce the token footprint if they were only used for MCP access.
Communicate the change to your team
If your team shares MCP configurations, update shared sources so new machines start with the remote configuration.
-
Update any internal setup scripts or dotfiles repos to use the remote configuration.
-
Add a note in your team wiki that the local server is no longer supported.
Troubleshooting
The following table covers common issues encountered during migration.
| Symptom | Likely root cause | Solution |
|---|---|---|
"Server not reachable" |
Network or TLS issue |
Run |
"Unauthorized" on every tool call |
Authentication failed or expired |
Disconnect and reconnect to trigger a new OAuth flow. Check that you selected the correct organization. |
Tool calls fail with permission errors |
Your CloudBees Unify role lacks permissions to access specific resources |
All tools are visible, but RBAC is enforced at the resource level. Ask an admin to grant access to the resources you need, or verify you selected the correct organization during OAuth. |
Tool calls intermittently fail |
Client is load-balancing between local and remote servers |
Remove the local server configuration entirely and restart the client. |
If problems persist, refer to Troubleshoot CloudBees Unify MCP Server issues or contact CloudBees Support.