MCP Servers
OpenChoreo provides Model Context Protocol (MCP) servers that enable AI assistants to interact with your OpenChoreo platform.
Overviewβ
OpenChoreo provides two MCP servers:
- Control Plane MCP Server - Provides tools for managing OpenChoreo resources (namespaces, projects, components, builds, deployments, infrastructure)
- Observability Plane MCP Server - Provides tools for accessing observability data (logs, metrics, traces, alerts, incidents)
Each MCP server is independently accessible and requires separate configuration.
Using Both MCP Servers Togetherβ
For the best experience, configure both the Control Plane and Observability Plane MCP servers together. Observability tools accept resource names (namespace, project, component, environment) as parameters β use the Control Plane MCP server to list and discover these names, then pass them directly to Observability tools.
Example workflow:
- Use Control Plane MCP (
list_namespaces,list_projects,list_components,list_environments) to discover resource names - Use those names with Observability Plane MCP tools (
query_component_logs,query_traces,query_http_metrics,query_alerts) to fetch observability data
Available Toolsβ
Control Plane MCP Serverβ
The Control Plane MCP server provides 89 unique tools organized into six toolsets.
Some read-only tools (marked with β ) appear in both the default developer toolsets and the PE toolset. This allows platform engineers to use the PE toolset alongside Namespace and Project toolsets without needing to enable all developer toolsets. When all six toolsets are enabled, the total remains 89 unique tools.
Namespace Toolset (3 tools)
list_namespacesβ List all namespaces (top-level containers for organizing projects, components, and resources)create_namespaceβ Create a new namespacelist_secret_referencesβ List all secret references (credentials and sensitive configuration) for a namespace
Project Toolset (2 tools)
list_projectsβ List all projects in a namespace (logical groupings of related components sharing deployment pipelines)create_projectβ Create a new project in a namespace
Component Toolset (20 tools)
Component Management
create_componentβ Create a new component in a projectlist_componentsβ List all components in a project (deployable units with independent build and deployment lifecycles)get_componentβ Get detailed component info including configuration, deployment status, and buildspatch_componentβ Partially update a component's configuration (autoDeploy, parameters)get_component_schemaβ Get the JSON schema for a component's configuration options
Workload Management
list_workloadsβ List workloads for a component (names, images, endpoint names)get_workloadβ Get detailed workload info including container configuration, endpoints, and dependenciescreate_workloadβ Create a new workload for a component (runtime spec: containers, resources, env vars)update_workloadβ Update an existing workload's specification (container config, env vars, port mappings, resource limits)get_workload_schemaβ Get the JSON schema for the workload specification
Platform Standards β Read-Only, Namespace-Scoped
list_component_typesβ β List available component types in a namespace (WebApplication, Service, ScheduledTask, etc.)get_component_type_schemaβ β Get the parameter schema for a component typelist_traitsβ β List available traits in a namespace (autoscaling, ingress, service mesh, etc.)get_trait_schemaβ β Get the parameter schema for a trait
Platform Standards β Read-Only, Cluster-Scoped
list_cluster_component_typesβ β List cluster-scoped component types shared across namespacesget_cluster_component_typeβ β Get the full definition of a cluster-scoped component typeget_cluster_component_type_schemaβ β Get the schema for a cluster-scoped component typelist_cluster_traitsβ β List cluster-scoped traits shared across namespacesget_cluster_traitβ β Get the full definition of a cluster-scoped traitget_cluster_trait_schemaβ β Get the schema for a cluster-scoped trait
Deployment Toolset (7 tools)
list_release_bindingsβ List release bindings associating releases with environments for a componentget_release_bindingβ Get detailed info for a specific release binding including state, overrides, and endpointspatch_release_bindingβ Update a release binding's configuration (release, overrides, traits, workload settings)update_release_binding_stateβ Update a release binding's state (Active or Undeploy) for a component in an environmentlist_deployment_pipelinesβ List all deployment pipelines defining environment promotion order in a namespaceget_deployment_pipelineβ Get detailed deployment pipeline info including stages, promotion order, and environmentslist_environmentsβ β List all environments (deployment targets like dev, staging, production) in a namespace
Build Toolset (9 tools)
trigger_workflow_runβ Trigger a workflow run for a component using the component's configured workflow and parameterscreate_workflow_runβ Create a new workflow run by specifying a workflow name and optional parameterslist_workflow_runsβ List workflow run executions in a namespace; optionally filter by project and componentget_workflow_runβ Get detailed info for a workflow run including status, tasks, and timestampslist_workflowsβ β List all workflow templates in a namespace (CI/CD pipelines executed on the workflow plane)get_workflow_schemaβ β Get the parameter schema for a workflow templatelist_cluster_workflowsβ List cluster-scoped workflow definitions shared across namespacesget_cluster_workflowβ Get the full definition of a cluster-scoped workflowget_cluster_workflow_schemaβ Get the schema for a cluster-scoped workflow
Platform Engineering (PE) Toolset (61 tools)
The PE toolset is enabled by default. These tools are intended for platform administrators who manage infrastructure, environments, platform standards, and deployment pipelines. If you need to disable the PE toolset, see Configuring MCP Toolsets.
Environment Management (4)
list_environmentsβ β List all environments in a namespacecreate_environmentβ Create a new environment in a namespaceupdate_environmentβ Update an existing environment (display name, description, production flag)delete_environmentβ Delete an environment from a namespace
Deployment Pipeline Management (3)
create_deployment_pipelineβ Create a new deployment pipeline defining environment promotion orderupdate_deployment_pipelineβ Update promotion paths and approval requirementsdelete_deployment_pipelineβ Delete a deployment pipeline from a namespace
Component Releases (4)
list_component_releasesβ List all releases (immutable snapshots at a specific build) for a componentcreate_component_releaseβ Create a new release from the latest build of a componentget_component_releaseβ Get detailed release info including build information, image tags, and deployment statusget_component_release_schemaβ Get the JSON schema for a component release's configuration options
Infrastructure β Namespace-Scoped Planes (6)
list_dataplanesβ List all data planes (clusters where workloads execute) in a namespaceget_dataplaneβ Get detailed data plane info including cluster details, capacity, and healthlist_workflowplanesβ List all workflow planes (dedicated build infrastructure) in a namespaceget_workflowplaneβ Get detailed workflow plane info including cluster details and health statuslist_observability_planesβ List all observability planes providing monitoring, logging, and tracing in a namespaceget_observability_planeβ Get detailed observability plane info including observer URL and health status
Infrastructure β Cluster-Scoped Planes (6)
list_cluster_dataplanesβ List all cluster-scoped data planesget_cluster_dataplaneβ Get detailed info for a cluster-scoped data planelist_cluster_workflowplanesβ List all cluster-scoped workflow planesget_cluster_workflowplaneβ Get detailed info for a cluster-scoped workflow planelist_cluster_observability_planesβ List all cluster-scoped observability planesget_cluster_observability_planeβ Get detailed info for a cluster-scoped observability plane
Platform Standards β Read, Namespace-Scoped (9)
list_component_typesβ β List available component types in a namespaceget_component_typeβ Get the full definition of a component type including its complete specget_component_type_schemaβ β Get the parameter schema for a component typelist_traitsβ β List available traits in a namespaceget_traitβ Get the full definition of a trait including its complete specget_trait_schemaβ β Get the parameter schema for a traitlist_workflowsβ β List all workflow templates in a namespaceget_workflowβ Get the full definition of a workflow including its complete specget_workflow_schemaβ β Get the parameter schema for a workflow template
Platform Standards β Creation Schemas (3)
get_component_type_creation_schemaβ Get the spec schema for creating a namespace-scoped component typeget_cluster_component_type_creation_schemaβ Get the spec schema for creating a cluster-scoped component typeget_trait_creation_schemaβ Get the spec schema for creating a namespace-scoped trait
Platform Standards β Write, Namespace-Scoped (9)
create_component_typeβ Create a new component type in a namespaceupdate_component_typeβ Update an existing component type (full replacement)delete_component_typeβ Delete a component type from a namespacecreate_traitβ Create a new trait in a namespaceupdate_traitβ Update an existing trait (full replacement)delete_traitβ Delete a trait from a namespacecreate_workflowβ Create a new workflow in a namespaceupdate_workflowβ Update an existing workflow (full replacement)delete_workflowβ Delete a workflow from a namespace
Platform Standards β Read, Cluster-Scoped (6)
list_cluster_component_typesβ β List cluster-scoped component typesget_cluster_component_typeβ β Get the full definition of a cluster-scoped component typeget_cluster_component_type_schemaβ β Get the schema for a cluster-scoped component typelist_cluster_traitsβ β List cluster-scoped traitsget_cluster_traitβ β Get the full definition of a cluster-scoped traitget_cluster_trait_schemaβ β Get the schema for a cluster-scoped trait
Platform Standards β Write, Cluster-Scoped (9)
create_cluster_component_typeβ Create a new cluster-scoped component typeupdate_cluster_component_typeβ Update an existing cluster-scoped component type (full replacement)delete_cluster_component_typeβ Delete a cluster-scoped component typecreate_cluster_traitβ Create a new cluster-scoped traitupdate_cluster_traitβ Update an existing cluster-scoped trait (full replacement)delete_cluster_traitβ Delete a cluster-scoped traitcreate_cluster_workflowβ Create a new cluster-scoped workflowupdate_cluster_workflowβ Update an existing cluster-scoped workflow (full replacement)delete_cluster_workflowβ Delete a cluster-scoped workflow
Diagnostics (2)
get_resource_eventsβ Get Kubernetes events for a specific resource in a deployment (scheduling, startup issues)get_resource_logsβ Get container logs from a specific pod in a deployment (application errors, runtime issues)
Observability Plane MCP Serverβ
The Observability Plane MCP server provides 9 tools covering logs, traces, metrics, alerts, and incidents:
query_component_logsβ Query runtime application logs for components (services, APIs, workers, scheduled tasks); filter by project, component, environment, time range, log levels, and search phrasesquery_workflow_logsβ Query CI/CD workflow run logs capturing build, test, and deployment pipeline execution details; filter by workflow run name and task namequery_http_metricsβ Query HTTP request and latency metrics; returns time-series data for request counts (total, successful, unsuccessful) and latency percentiles (p50, p90, p99)query_resource_metricsβ Query CPU and memory resource usage metrics; returns time-series data for usage, requests, and limits β useful for capacity planning and detecting memory leaksquery_tracesβ Query distributed traces; returns a list of traces with summary information including trace ID, span count, root span details, and durationquery_trace_spansβ Query all spans within a specific distributed trace by trace ID; returns span details with timing, parent span, and service informationget_span_detailsβ Get full details for a specific span including attributes, resource attributes, parent span ID, and timing detailsquery_alertsβ Query fired alerts in OpenChoreo; supports filtering by project, component, environment, and time range β useful for investigating recent alerts and their detailsquery_incidentsβ Query incidents in OpenChoreo; supports filtering by project, component, environment, and time range β useful for tracking incident lifecycle and response status; all incidents have an accompanying alert but not the other way around
Configuring MCP Toolsetsβ
The Control Plane MCP server exposes six toolsets: namespace, project, component, deployment, build, and pe. All six are enabled by default. You can control which toolsets are active by passing a JSON array to openchoreoApi.config.mcp.toolsets via helm upgrade.
Syntax:
helm upgrade openchoreo-control-plane oci://ghcr.io/openchoreo/helm-charts/openchoreo-control-plane \
--version 0.0.0-latest-dev \
--namespace openchoreo-control-plane \
--reuse-values \
--set-json 'openchoreoApi.config.mcp.toolsets=["<toolset1>","<toolset2>",...]'
Common Configurationsβ
Developer toolsets:
helm upgrade openchoreo-control-plane oci://ghcr.io/openchoreo/helm-charts/openchoreo-control-plane \
--version 0.0.0-latest-dev \
--namespace openchoreo-control-plane \
--reuse-values \
--set-json 'openchoreoApi.config.mcp.toolsets=["namespace","project","component","deployment","build"]'
Platform Engineer toolset:
helm upgrade openchoreo-control-plane oci://ghcr.io/openchoreo/helm-charts/openchoreo-control-plane \
--version 0.0.0-latest-dev \
--namespace openchoreo-control-plane \
--reuse-values \
--set-json 'openchoreoApi.config.mcp.toolsets=["namespace","project","pe"]'
The namespace and project toolsets are useful companions for the PE toolset β they let platform engineers discover resources without enabling all developer toolsets.
Finding MCP Server URLsβ
MCP server URLs follow a simple pattern based on the respective service's hostname:
- Control Plane MCP Server:
<control-plane-api-hostname>/mcp - Observability Plane MCP Server:
<observer-service-hostname>/mcp
Example: Local k3d Setupβ
If you followed the local setup guide, your MCP server URLs will be:
Single Cluster Installation:
- Control Plane MCP Server:
http://api.openchoreo.localhost:8080/mcp - Observability Plane MCP Server:
http://observer.openchoreo.localhost:11080/mcp
Multi-Cluster Installation:
- Control Plane MCP Server:
http://api.openchoreo.localhost:8080/mcp - Observability Plane MCP Server:
http://observer.observability.openchoreo.localhost:11087/mcp
The k3d local setup examples show different ports and hostnames:
- Control plane services use port 8080
- Observability plane uses port 11080 (single cluster) or 11087 (multi-cluster)
- Multi-cluster deployments use distinct subdomain patterns for namespace isolation
Default OAuth Applicationsβ
OpenChoreo ships with pre-created OAuth applications in the default Thunder identity provider for quick-start configuration:
| Application | Client ID | Grant Type | Use Case |
|---|---|---|---|
| Browser-Based (Public) | user_mcp_client | Authorization Code + PKCE | Interactive use with AI agents that support browser-based OAuth (Claude Code, Cursor) |
| Service (Confidential) | service_mcp_client | Client Credentials | Programmatic access, any AI agent via bearer token |
These default applications eliminate the need to manually create OAuth apps for common setups.
Next Stepsβ
To configure your AI assistant to connect to OpenChoreo MCP servers, follow the AI Configuration Guide to set up authentication and connect your AI agent.