5
5
v1
6
6
7
7
## 产品描述
8
+ ### 短描述
9
+ mongo管控面sdk mcp server
10
+
11
+ ### 长描述
8
12
火山 mongo 管控面 sdk 的 mcp server,使客户可以自然语言的方式调用SDK
9
13
10
14
## 分类
11
-
12
- #文档型数据库MongoDB
15
+ 数据库
13
16
14
17
## 标签
15
18
#存储#数据库#文档型#MongoDB
16
19
## Tools
17
-
18
- ### list_db_instances
20
+ 本 MCP Server 产品提供以下 Tools (工具/能力):
21
+ ### describe_db_instances
19
22
#### 详细描述:
20
23
获取MongoDB实例列表和数量
21
- ### db_instance_detail
24
+ #### 调试缩需要输入参数:
25
+ 输入:
26
+ ``` json
27
+ {
28
+ inputSchema={
29
+ "type" : " object" ,
30
+ "properties" : {
31
+ "instance_id" : {"type" : " string" , "description" : " MongoDB 实例ID" },
32
+ "instance_name" : {"type" : " string" , "description" : " MongoDB 实例名称" },
33
+ "page_size" : {"type" : " integer" , "description" : " 实例列表每页大小" },
34
+ },
35
+ "required" : [" page_number" , " page_size" ],
36
+ }
37
+ }
38
+ ```
39
+ ### describe_db_instance_detail
22
40
#### 详细描述:
23
41
返回MongoDB实例的详情信息
24
- ### list_db_instance_backups
42
+ #### 调试缩需要输入参数:
43
+ 输入:
44
+ ``` json
45
+ {
46
+ inputSchema={
47
+ "type" : " object" ,
48
+ "properties" : {
49
+ "instance_id" : {"type" : " string" , "description" : " MongoDB实例ID" }
50
+ },
51
+ "required" : [" instance_id" ]
52
+ }
53
+ }
54
+ ```
55
+ ### describe_backups_request
25
56
#### 详细描述:
26
57
获取MongoDB实例备份信息列表
27
- ### list_db_instance_params
58
+ #### 调试缩需要输入参数:
59
+ 输入:
60
+ ``` json
61
+ {
62
+ inputSchema={
63
+ "type" : " object" ,
64
+ "properties" : {
65
+ "instance_id" : {"type" : " string" , "description" : " MongoDB实例ID" },
66
+ "backup_object" : {
67
+ "type" : " string" , "enum" : [" Data" , " Log" ], "description" : " 备份对象,全量数据备份或者是日志备份"
68
+ },
69
+ "backup_status" : {
70
+ "type" : " string" , "enum" : [" Success" , " Failed" , " Running" ],
71
+ "description" : " 备份状态"
72
+ },
73
+ "backup_type" : {
74
+ "type" : " string" , "enum" : [" Logical" , " Physical" ], "description" : " 备份方式, 物理备份或者是逻辑备份"
75
+ },
76
+ "page_number" : {"type" : " integer" , "description" : " 备份列表页数" }
77
+ }
78
+ }
79
+ ```
80
+ ### describe_db_instance_parameters
28
81
#### 详细描述:
29
82
获取MongoDB实例参数列表
83
+ #### 调试缩需要输入参数:
84
+ 输入:
85
+ ``` json
86
+ {
87
+ inputSchema={
88
+ "type" : " object" ,
89
+ "properties" : {
90
+ "instance_id" : {"type" : " string" , "description" : " MongoDB实例ID" },
91
+ "parameter_role" : {
92
+ "type" : " string" ,
93
+ "enum" : [" Node" , " Shard" , " ConfigServer" , " Mongos" ],
94
+ "description" : " MongoDB实例组件角色, 副本集对应Node, 分片集群的各个组件对应Shard, ConfigServer, Mongos" ,
95
+ },
96
+ },
97
+ "required" : [" instance_id" ],
98
+ }
99
+ }
100
+ ```
30
101
### describe_slow_log
31
102
#### 详细描述:
32
103
获取MongoDB慢日志列表
104
+ #### 调试缩需要输入参数:
105
+ 输入:
106
+ ``` json
107
+ {
108
+ inputSchema={
109
+ "type" : " object" ,
110
+ "properties" : {
111
+ "instance_id" : {"type" : " string" , "description" : " MongoDB实例ID" },
112
+ "context" : {"type" : " context" , "description" : " 上一页慢日志最后一条的位置标识" },
113
+ "pod_name" : {"type" : " string" , "description" : " MongoDB实例pod name,也是实例的 node_id, "
114
+ " db_instance_detail 方法中可以获取到, 格式: instance_id-${index}" },
115
+ "start_time" : {"type" : " integer" , "description" : " 查询慢日志的开始时间戳" },
116
+ "end_time" : {"type" : " integer" , "description" : " 查询慢日志的结束时间戳" },
117
+ },
118
+ "required" : [" instance_id" , " limit" , " start_time" , " end_time" , " sort" , " pod_name" ],
119
+ }
120
+ }
121
+ ```
33
122
34
123
35
124
## 可适配平台
@@ -98,12 +187,12 @@ On Windows: `%APPDATA%/Claude/claude_desktop_config.json`
98
187
``` json
99
188
{
100
189
"mcpServers" : {
101
- "las-dataset-mcp " : {
190
+ "mcp-server-mongodb " : {
102
191
"command" : " uvx" ,
103
192
"args" : [
104
193
" --from" ,
105
194
" git+https://github.com/volcengine/mcp-server#subdirectory=server/mcp_server_mongodb" ,
106
- " mcp-server-mognodb "
195
+ " mcp-server-mongodb "
107
196
],
108
197
"env" : {
109
198
"VOLC_ACCESSKEY" : " your-access-key-id" ,
@@ -116,6 +205,6 @@ On Windows: `%APPDATA%/Claude/claude_desktop_config.json`
116
205
```
117
206
118
207
## License
119
- MIT
208
+ volcengine/mcp-server is licensed under the [ MIT License ] ( https://github.com/volcengine/mcp-server/blob/main/LICENSE ) .
120
209
121
210
0 commit comments