Feedback

OceanBase Kubernetes Control Tool (okctl) MCP Server

@lizzy-0323 Claim

Basic information

Runtime
python
License
Apache-2.0
Transports
stdio
Author
lizzy-0323
Submitted by
Community
Quality
25
Stars
2

About OceanBase Kubernetes Control Tool (okctl) MCP Server

okctl's mcp server

OceanBase Kubernetes Control Tool (okctl) MCP Server is a MCP server in the Cloud & Infrastructure category listed in the AddMCP.net directory, published by lizzy-0323. Supported transport: stdio. Runtime: python. License: Apache-2.0. The repository has 2 GitHub stars. Source code is hosted on github.com.

Setup

{
    "mcpServers": {
        "okctl-mcp-server-py": {
            "command": "uv",
            "args": [
                "--directory",
                "/path/to/okctl-mcp-server",
                "run",
                "src/okctl/server.py"
            ],
            "env": {
                "OB_CLUSTER_PASSWORD": "<password of cluster>"
            }
        }
    }
}

OceanBase Kubernetes Control Tool (okctl) MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "okctl-mcp-server-py": {
            "command": "uv",
            "args": [
                "--directory",
                "/path/to/okctl-mcp-server",
                "run",
                "src/okctl/server.py"
            ],
            "env": {
                "OB_CLUSTER_PASSWORD": "<password of cluster>"
            }
        }
    }
}

OceanBase Kubernetes Control Tool (okctl) MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is OceanBase Kubernetes Control Tool (okctl) MCP Server?

It is an MCP server implementation that exposes OceanBase cluster, tenant, and backup policy management tools via the MCP protocol by calling the underlying okctl command-line tool. It is intended for users who manage OceanBase clusters on Kubernetes.

How to use OceanBase Kubernetes Control Tool (okctl) MCP Server?

Requires Python 3.10+, the uv package manager, and a properly installed and configured okctl and Kubernetes environment. Configure the server in your MCP client JSON, setting the OB_CLUSTER_PASSWORD environment variable. Optional command-line arguments include --tools to enable specific modules, --use_sse for SSE transport, and --port to set the SSE port (default 8000).

Key features of OceanBase Kubernetes Control Tool (okctl) MCP Server

  • Cluster management: create, delete, view, scale, update, upgrade clusters
  • Tenant management: create, delete, view, scale, update, upgrade, change password, activate standby, replay logs, switchover
  • Backup policy management: create, delete, view, update, pause, resume policies
  • SQL operations: configure database connection and execute SQL queries
  • Component management: list, install, and update components

OceanBase Kubernetes Control Tool (okctl) MCP Server tools

What are the runtime dependencies?

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

Where does the server store data and how is authentication handled?

Data resides in the Kubernetes cluster where OceanBase is deployed. Authentication for SQL operations uses the environment variable OB_CLUSTER_PASSWORD or a password parameter in the connection configuration.

Which transports are supported?

By default it uses stdio transport. You can enable Server-Sent Events (SSE) transport with the --use_sse flag and optionally set a custom port.

Are there any known limits?

Some operations (e.g., deleting clusters, deleting tenants) may be irreversible; proceed with caution. SQL queries require precise prompts to avoid errors. It is recommended to perform backups before executing important operations.

What tools can be enabled selectively?

Use the --tools argument with a comma‑separated list from: all, clusters, tenants, backup_policy, components, sql. Default is all tools enabled.

Use cases of OceanBase Kubernetes Control Tool (okctl) MCP Server

  • Automate OceanBase cluster lifecycle operations on Kubernetes
  • Manage tenants including primary/standby switchover and log replay
  • Configure and control backup policies for OceanBase clusters
  • Execute SQL queries against OceanBase databases programmatically
  • Install and update OceanBase-related components

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬