File tree Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,9 @@ Add the following configuration to the MCP client configuration file:
21
21
],
22
22
"env" : {
23
23
"ALIBABA_CLOUD_ACCESS_KEY_ID" : " access_id" ,
24
- "ALIBABA_CLOUD_ACCESS_KEY_SECRET" : " access_key"
24
+ "ALIBABA_CLOUD_ACCESS_KEY_SECRET" : " access_key" ,
25
+ // optional, required when using STS Token
26
+ "ALIBABA_CLOUD_SECURITY_TOKEN" : " sts_security_token"
25
27
}
26
28
}
27
29
}
@@ -34,6 +36,8 @@ Set you env and run mcp server.
34
36
export SERVER_TRANSPORT=sse;
35
37
export ALIBABA_CLOUD_ACCESS_KEY_ID=$you_access_id ;
36
38
export ALIBABA_CLOUD_ACCESS_KEY_SECRET=$you_access_key ;
39
+ # optional, required when using STS Token
40
+ export ALIBABA_CLOUD_SECURITY_TOKEN=$you_sts_security_token
37
41
38
42
# run mcp server
39
43
uvx alibabacloud-rds-openapi-mcp-server@latest
@@ -69,7 +73,9 @@ Add the following configuration to the MCP client configuration file:
69
73
],
70
74
"env" : {
71
75
"ALIBABA_CLOUD_ACCESS_KEY_ID" : " access_id" ,
72
- "ALIBABA_CLOUD_ACCESS_KEY_SECRET" : " access_key"
76
+ "ALIBABA_CLOUD_ACCESS_KEY_SECRET" : " access_key" ,
77
+ // optional, required when using STS Token
78
+ "ALIBABA_CLOUD_SECURITY_TOKEN" : " sts_security_token"
73
79
}
74
80
}
75
81
}
Original file line number Diff line number Diff line change @@ -19,7 +19,9 @@ RDS OpenAPI MCP服务。
19
19
],
20
20
"env" : {
21
21
"ALIBABA_CLOUD_ACCESS_KEY_ID" : " access_id" ,
22
- "ALIBABA_CLOUD_ACCESS_KEY_SECRET" : " access_key"
22
+ "ALIBABA_CLOUD_ACCESS_KEY_SECRET" : " access_key" ,
23
+ // 可选项,使用sts token鉴权时填写
24
+ "ALIBABA_CLOUD_SECURITY_TOKEN" : " sts_security_token"
23
25
}
24
26
}
25
27
}
@@ -32,6 +34,7 @@ RDS OpenAPI MCP服务。
32
34
export SERVER_TRANSPORT=sse;
33
35
export ALIBABA_CLOUD_ACCESS_KEY_ID=$your_access_id ; # 替换为你的access_id
34
36
export ALIBABA_CLOUD_ACCESS_KEY_SECRET=$your_access_key ; # 替换为你的access_key
37
+ export ALIBABA_CLOUD_SECURITY_TOKEN=$your_sts_security_token ; # 可选项,使用sts token鉴权时填写
35
38
36
39
# 启动MCP服务
37
40
uvx alibabacloud-rds-openapi-mcp-server@latest
@@ -66,8 +69,10 @@ git clone https://github.com/aliyun/alibabacloud-rds-openapi-mcp-server.git
66
69
],
67
70
"env" : {
68
71
"ALIBABA_CLOUD_ACCESS_KEY_ID" : " access_id" ,
69
- "ALIBABA_CLOUD_ACCESS_KEY_SECRET" : " access_key"
70
- }
72
+ "ALIBABA_CLOUD_ACCESS_KEY_SECRET" : " access_key" ,
73
+ // 可选项,使用sts token鉴权时填写
74
+ "ALIBABA_CLOUD_SECURITY_TOKEN" : " sts_security_token"
75
+ }
71
76
}
72
77
}
73
78
```
You can’t perform that action at this time.
0 commit comments