OceanBase Kubernetes Control Tool (Okctl) MCP Server

okctl's mcp server

Local serverstdioPython

What is the OceanBase Kubernetes Control Tool (Okctl) MCP Server?

okctl's mcp server

What you get

This project is the MCP server implementation for the OceanBase Kubernetes Control Tool (okctl). It provides a set of tool functions for managing OceanBase clusters, tenants, and backup policies. These functions are implemented by calling the underlying okctl command-line tool and exposing these features to clients through the MCP protocol.

Configuration and credentials

  • Python 3.10 or higher installed - uv package manager installed (uv official documentation) - OceanBase Kubernetes Control Tool (okctl) installed and configured - Kubernetes environment configured with access permissions to OceanBase clusters

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
allEnable all tools (default)
clustersEnable cluster management tools only
tenantsEnable tenant management tools only
backup_policyEnable backup policy management tools only
componentsEnable component management tools only
sqlEnable SQL operation tools only

Configuration

  • Python 3.10 or higher installed - uv package manager installed (uv official documentation) - OceanBase Kubernetes Control Tool (okctl) installed and configured - Kubernetes environment configured with access permissions to OceanBase clusters
VariableDescriptionRequired
OB_CLUSTER_PASSWORDConfiguration value read at startup.Optional

Example prompts to try

  • “Use OceanBase Kubernetes Control Tool (Okctl) to Parameters.”
  • “Use OceanBase Kubernetes Control Tool (Okctl) to Returns.”
  • “Use OceanBase Kubernetes Control Tool (Okctl) to all.”

Frequently asked questions

Python 3.10 or higher, uv, okctl (properly installed and configured), and a Kubernetes environment with access to OceanBase clusters.