File tree Expand file tree Collapse file tree 2 files changed +14
-23
lines changed Expand file tree Collapse file tree 2 files changed +14
-23
lines changed Original file line number Diff line number Diff line change @@ -9,23 +9,15 @@ MCP server for RDS Services via OPENAPI
9
9
3 . Alibaba Cloud credentials with access to Alibaba Cloud RDS services
10
10
11
11
## Quick Start
12
- ### Download
13
- Download from Github
14
- ``` shell
15
- git clone https://github.com/aliyun/alibabacloud-rds-openapi-mcp-server.git
16
- ```
17
12
### Using [ cherry-studio] ( https://github.com/CherryHQ/cherry-studio ) (Recommended)
18
13
Install the MCP environment according to [ Cherry-Studio's documentation] ( https://docs.cherry-ai.com/advanced-basic/mcp/install ) , then configure and use RDS MCP.
19
14
Add the following configuration to the MCP client configuration file:
20
15
``` json
21
16
"mcpServers" : {
22
17
"rds-openapi-mcp-server" : {
23
- "command" : " uv " ,
18
+ "command" : " uvx " ,
24
19
"args" : [
25
- " --directory" ,
26
- " /path/to/alibabacloud-rds-openapi-mcp-server/src/alibabacloud_rds_openapi_mcp_server" ,
27
- " run" ,
28
- " server.py"
20
+ " alibabacloud-rds-openapi-mcp-server@latest"
29
21
],
30
22
"env" : {
31
23
"ALIBABA_CLOUD_ACCESS_KEY_ID" : " access_id" ,
@@ -44,7 +36,7 @@ export ALIBABA_CLOUD_ACCESS_KEY_ID=$you_access_id;
44
36
export ALIBABA_CLOUD_ACCESS_KEY_SECRET=$you_access_key ;
45
37
46
38
# run mcp server
47
- uv --directory alibabacloud-rds-openapi-mcp-server/src/alibabacloud_rds_openapi_mcp_server run server.py
39
+ uvx alibabacloud-rds-openapi-mcp-server@latest
48
40
```
49
41
After run mcp server, you will see the following output:
50
42
``` shell
@@ -60,6 +52,10 @@ remote_server = "http://127.0.0.1:8000/sse";
60
52
61
53
62
54
### Using Claude
55
+ Download from Github
56
+ ``` shell
57
+ git clone https://github.com/aliyun/alibabacloud-rds-openapi-mcp-server.git
58
+ ```
63
59
Add the following configuration to the MCP client configuration file:
64
60
``` json
65
61
"mcpServers" : {
Original file line number Diff line number Diff line change @@ -8,23 +8,14 @@ RDS OpenAPI MCP服务。
8
8
3 . 具有阿里云RDS服务访问权限的账号凭证
9
9
10
10
## 快速开始
11
- ### 下载
12
- 从Github克隆仓库
13
- ``` shell
14
- git clone https://github.com/aliyun/alibabacloud-rds-openapi-mcp-server.git
15
- ```
16
-
17
11
### 使用[ cherry-studio] ( https://github.com/CherryHQ/cherry-studio ) (推荐)
18
12
根据[ Cherry-Studio文档] ( https://docs.cherry-ai.com/advanced-basic/mcp/install ) 安装MCP环境后配置使用RDS MCP。 MCP配置文件格式如下:
19
13
``` json
20
14
"mcpServers" : {
21
15
"rds-openapi-mcp-server" : {
22
- "command" : " uv " ,
16
+ "command" : " uvx " ,
23
17
"args" : [
24
- " --directory" ,
25
- " /path/to/alibabacloud-rds-openapi-mcp-server/src/alibabacloud_rds_openapi_mcp_server" ,
26
- " run" ,
27
- " server.py"
18
+ " alibabacloud-rds-openapi-mcp-server@latest"
28
19
],
29
20
"env" : {
30
21
"ALIBABA_CLOUD_ACCESS_KEY_ID" : " access_id" ,
@@ -43,7 +34,7 @@ export ALIBABA_CLOUD_ACCESS_KEY_ID=$your_access_id; # 替换为你的access_id
43
34
export ALIBABA_CLOUD_ACCESS_KEY_SECRET=$your_access_key ; # 替换为你的access_key
44
35
45
36
# 启动MCP服务
46
- uv --directory alibabacloud-rds-openapi-mcp-server/src/alibabacloud_rds_openapi_mcp_server run server.py
37
+ uvx alibabacloud-rds-openapi-mcp-server@latest
47
38
```
48
39
成功启动后会看到以下输出:
49
40
``` shell
@@ -58,6 +49,10 @@ remote_server = "http://127.0.0.1:8000/sse";
58
49
```
59
50
60
51
### 使用Claude
52
+ 从Github克隆仓库
53
+ ``` shell
54
+ git clone https://github.com/aliyun/alibabacloud-rds-openapi-mcp-server.git
55
+ ```
61
56
在MCP客户端配置文件中添加:
62
57
``` json
63
58
"mcpServers" : {
You can’t perform that action at this time.
0 commit comments