AI assistants (MCP)¶
The OpenChoreo API serves an MCP server. AI assistants such as Claude Code, VS Code (Copilot) or other MCP-capable tools can use it to read and operate your projects, components, builds and deployments — for instance with a request like "Why did the last build of kma fail?".
| What | Value |
|---|---|
| MCP endpoint | https://api.platform.ccc-onconnect.de/mcp (transport Streamable HTTP) |
| Sign-in | OAuth via Keycloak, client ID openchoreo-cli, no client secret |
| Permissions | the same as in the portal — those of your own account |
What the assistant may do¶
The assistant acts as you. It sees and changes exactly what you may see and
change in the portal: as a member of /apps/<project>, only your own projects. Every
modifying action is recorded in the audit log under your name.
The tools come in groups:
| Group | Examples |
|---|---|
project, component |
list, create, change projects and components |
build |
start builds, query status and logs |
deployment |
releases, environments, promotion |
resource |
databases and other resources of a project |
namespace, pe |
platform administration — only effective with a platform role |
Check before you confirm
An assistant can also promote to production or delete components. Have it show modifying actions first and confirm them one by one. Never type passwords or tokens into the chat.
Setup¶
Sign-in happens in the browser: the assistant opens the Keycloak page, you log in
with your ONCOnnect account, and you are sent back automatically. The platform does
not allow automatic client registration — so enter the client ID
openchoreo-cli yourself when the tool asks for it.
claude mcp add --transport http \
--client-id openchoreo-cli --callback-port 8765 \
openchoreo https://api.platform.ccc-onconnect.de/mcp
Then run /mcp in Claude Code, pick openchoreo and Authenticate — the
browser opens the login. Do not enter a client secret; the client is public and
uses PKCE.
.vscode/mcp.json (or via MCP: Add Server…):
{
"servers": {
"openchoreo": {
"type": "http",
"url": "https://api.platform.ccc-onconnect.de/mcp"
}
}
}
On first start VS Code asks for a client ID: enter openchoreo-cli and leave
the secret empty.
Any MCP tool with OAuth support works if it
- speaks Streamable HTTP,
- accepts a fixed client ID (
openchoreo-cli, no secret), and - returns from the login to an address on your own machine
(
http://localhost:<port>/…orhttp://127.0.0.1:<port>/…).
Tools that use an app address such as cursor://… instead are rejected by
Keycloak.
The sign-in lasts as long as a portal session: after 30 minutes without use, or after 10 hours at the latest, the assistant signs in again.
Verify¶
The response names "resource": "https://api.platform.ccc-onconnect.de/mcp" and
accounts.ccc-onconnect.de/realms/onconnect as the authorization server.
| Message | Cause |
|---|---|
| "Client nicht gefunden" / Client not found in Keycloak | Wrong client ID — it is openchoreo-cli. |
| Invalid redirect uri | The tool does not return via localhost/127.0.0.1, see Other tools. |
| The assistant finds no projects | Your account is in no /apps/<project> group. Groups are part of the token — sign in again after a change. |
403 on an action |
Your role does not allow it; it would fail in the portal as well. |
More about the tools: OpenChoreo documentation.