list_oss_configs
Lists the available Alibaba Cloud OSS configurations.
Upload a local file to an Alibaba Cloud OSS bucket by naming the stored configuration and the target directory, and list the configurations available before you pick one.
LABSCO SUMMARY
Both tools turn on the same idea: configurations are named, list_oss_configs enumerates them, and upload_to_oss selects one by configName, so a client can move a file into the right bucket for the environment it is working in. Everything lives on the upload side — there is no listing, download or delete call in the set, and the file has to exist on the host running the server.
A two-tool upload server for Alibaba Cloud OSS, working from named bucket configurations supplied to it at start.
An Alibaba Cloud OSS bucket and a named configuration carrying its region, access key id, access key secret, bucket and endpoint, supplied to the server at start rather than per call.
One command plus a key — npx oss-mcp --oss-config='{"default":{"region":"oss-cn-shenzhen","accessKeyId":"<YOUR_ACCESS_KEY_ID>","accessKeySecret":"<YOUR_ACCESS_KEY_SECRET>","bucket":"<YOUR_BUCKET>","endpoint":"oss-cn-shenzhen.aliyuncs.com"}}' --stdio, then supply credentials
USE CASES
Check which named configurations the server was started with, then upload the local file under the one for that environment and the directory it belongs in.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
list_oss_configsLists the available Alibaba Cloud OSS configurations.
upload_to_ossUploads a local file to Alibaba Cloud OSS, under the named configuration, target directory and stored file name given.
BEFORE YOU INSTALL
2 tools when we connected.
npx on PATH
The documented client runs the server on your machine.
CONTEXT COST
Rated by the size of the 2 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
npx oss-mcp --oss-config='{"default":{"region":"oss-cn-shenzhen","accessKeyId":"<YOUR_ACCESS_KEY_ID>","accessKeySecret":"<YOUR_ACCESS_KEY_SECRET>","bucket":"<YOUR_BUCKET>","endpoint":"oss-cn-shenzhen.aliyuncs.com"}}' --stdio{
"mcpServers": {
"oss-mcp": {
"command": "npx",
"args": [
"oss-mcp",
"--oss-config='{\"default\":{\"region\":\"oss-cn-shenzhen\",\"accessKeyId\":\"<YOUR_ACCESS_KEY_ID>\",\"accessKeySecret\":\"<YOUR_ACCESS_KEY_SECRET>\",\"bucket\":\"<YOUR_BUCKET>\",\"endpoint\":\"oss-cn-shenzhen.aliyuncs.com\"}}'",
"--stdio"
]
}
}
}