OceanBase Kubernetes Control Tool (okctl) MCP Server
@lizzy-0323
关于 OceanBase Kubernetes Control Tool (okctl) MCP Server
okctl's mcp server
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"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>"
}
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
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
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
FAQ from OceanBase Kubernetes Control Tool (okctl) MCP Server
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.
云与基础设施 分类下的更多 MCP 服务器
MCP Server that interacts with Azure AI Foundry (experimental)
azure-ai-foundryA MCP Server for Azure AI Foundry: it's now moved to cloud, check the new Foundry MCP Server

Aws Kb Retrieval Server
modelcontextprotocolModel Context Protocol Servers
Supabase MCP Server
coleam00Supabase MCP server created in Python.
Azure DevOps MCP Server
Tiberriver256An MCP server for Azure DevOps
Query | MCP server for Supabase
alexander-zuevQuery MCP enables end-to-end management of Supabase via chat interface: read & write query executions, management API support, automatic migration versioning, access to logs and much more.
评论