obshell-mcp
v0.0.1obshell MCP Server
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
create_cluster Create Cluster
Creates a new obcluster.The cluster name has been offered by user: cluster 创建一个 ob 集群。该方法的响应时间有点长,最长不超过5分钟,当该方法中断或者超时的时候,后续应该先检查集群是否创建成功。 如果节点身份是 CLUSTER AGENT,则表示集群已经创建成功。 使用该方法时,应该让用户能够对参数进行修改。 当用户没有指定对应参数时: 1. 只启用本地127.0.0.1:2886上的节点, 不用启动其他多余的节点 2. servers_with_configs 默认使用 {'127.0.0.1:2886': {"zone…
| Parameter | Type | Description |
|---|---|---|
cluster_id * | integer | |
servers_with_configs * | object |
create_tenant Create Tenant
Create a tenant synchronously.The tenant name has been offered by user: tenant Creates a tenant with the specified name and zone list. 创建业务租户时,需要指定所使用的 unit config。 当用户没有指定对应参数时: 1. 推荐使用参数:{ memory_size: 2G; cpu_count: 1; unit_num: 1; "zone_replica_type": {"zone1":"FULL"}}, 其他参数可以随意填写 2. variables参数和parameters参数留空 Args: zone_replica_type (Dict[str, str]): The map of the zone and its replica type(FULL or READONLY), default is FULL. memory_size (s…
| Parameter | Type | Description |
|---|---|---|
zone_replica_type * | object | |
charset | string | |
collation | string | |
comment | string | |
cpu_count | integer | |
import_script | boolean | |
log_disk_size | string | |
memory_size | string | |
mode | string | |
parameters | object | |
primary_zone | string | |
read_only | boolean | |
scenario | string | |
unit_num | integer | |
variables | object | |
whitelist | string |
get_all_obshell_sdk_methods Get All Obshell Sdk Methods
获取 obshell 所有可供用户使用的 sdk 方法 只有当其他的 tool 不适用时,才通过该方法获取所有 sdk 方法。
get_obshell_sdk_methods_description Get Obshell Sdk Methods Description
获取 obshell 的 sdk 方法的描述
| Parameter | Type | Description |
|---|---|---|
sdk_method * | string |
call_obshell_sdk Call Obshell Sdk
调用 obshell 的 sdk 方法 参数: sdk_method: obshell 的 sdk 方法名,请根据 sdk 的描述文档,选择一个合适的 sdk 方法。 args: obshell 的 sdk 方法参数,参数名和参数值需要使用 map 格式,例如: {"arg1": "value1", "arg2": "value2"} 如果有任何必选参数没有设置,都直接返回错误信息,不要尝试调用 obshell 的 sdk 方法。 返回: result: obshell 的 sdk 方法返回结果
| Parameter | Type | Description |
|---|---|---|
args * | object | |
sdk_method * | string |