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.
「クラウドとインフラ」の他のコンテンツ
AWS Model Context Protocol (MCP) Server
alexei-ledA lightweight service that enables AI assistants to execute AWS CLI commands (in safe containerized environment) through the Model Context Protocol (MCP). Bridges Claude, Cursor, and other MCP-aware AI tools with AWS CLI for enhanced cloud infrastructure management.
Terraform MCP Server
hashicorpThe Terraform MCP Server provides seamless integration with Terraform ecosystem, enabling advanced automation and interaction capabilities for Infrastructure as Code (IaC) development.
tfmcp: Terraform Model Context Protocol Tool
nwiizo🌍 Terraform Model Context Protocol (MCP) Tool - An experimental CLI tool that enables AI assistants to manage and operate Terraform environments. Supports reading Terraform configurations, analyzing plans, applying configurations, and managing state with Claude Desktop integrati
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
Mcp K8s Go
strowkMCP server connecting to Kubernetes
コメント