
A Model Context Protocol server built on Huawei Cloud services that enables AI assistants to operate Huawei Cloud resources within conversational workflows, supporting ECS, OBS, GaussDB, and other cloud products.

A Model Context Protocol server that lets large language models upload files directly to Alibaba Cloud Object Storage Service (OSS).
MCP server for uploading files to Alibaba Cloud OSS is cataloged as an MCP server attributed to 1yhy. A Model Context Protocol server that lets large language models upload files directly to Alibaba Cloud Object Storage Service (OSS). It is categorized under cloud devops. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP server for uploading files to Alibaba Cloud OSS are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Yes, the upload tool accepts an optional targetDir for the destination directory and an optional fileName that defaults to the original file name.
README.md · a522d0c54a7e · Fetched 2026-11-13 10:28:52 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
中文版 | English

一个基于Model Context Protocol (MCP)的服务器,用于将文件上传到阿里云OSS。此服务器使大型语言模型能够直接将文件上传到阿里云对象存储服务。
OSS MCP服务器能够与其他MCP工具无缝集成,为您提供强大的工作流程:
您可以通过npm或从源码安装:
# 使用npm全局安装
npm install -g oss-mcp
# 或使用pnpm全局安装
pnpm add -g oss-mcp
# 直接启动 (stdio模式)
oss-mcp --oss-config='{\"default\":{\"region\":\"oss-cn-shenzhen\",\"accessKeyId\":\"YOUR_KEY\",\"accessKeySecret\":\"YOUR_SECRET\",\"bucket\":\"YOUR_BUCKET\",\"endpoint\":\"oss-cn-shenzhen.aliyuncs.com\"}}'
# 使用Inspector调试
oss-mcp --oss-config='{ "region": "oss-cn-shenzhen", "accessKeyId": "YOUR_KEY", "accessKeySecret": "YOUR_SECRET", "bucket": "BUCKET_NAME", "endpoint": "oss-cn-shenzhen.aliyuncs.com" }' --inspect
# 克隆仓库
git clone https://github.com/1yhy/oss-mcp.git
cd oss-mcp
# 安装依赖
pnpm install
# 构建项目
pnpm build
您可以通过以下方式配置阿里云OSS参数:
在项目根目录创建.env文件,参考.env.example模板。您可以配置多个阿里云OSS服务:
# 默认OSS配置
OSS_CONFIG_DEFAULT={"region":"oss-cn-hangzhou","accessKeyId":"your-access-key-id","accessKeySecret":"your-access-key-secret","bucket":"your-bucket-name","endpoint":"oss-cn-hangzhou.aliyuncs.com"}
# 其他OSS配置
OSS_CONFIG_TEST={"region":"oss-cn-beijing","accessKeyId":"your-access-key-id-2","accessKeySecret":"your-access-key-secret-2","bucket":"your-bucket-name-2","endpoint":"oss-cn-beijing.aliyuncs.com"}
您也可以直接在系统中或启动命令中设置环境变量:
# 设置环境变量并启动
pnpm dev --oss-config='{ "default": { "region": "oss-cn-shenzhen", "accessKeyId": "YOUR_KEY", "accessKeySecret": "YOUR_SECRET", "bucket": "BUCKET_NAME", "endpoint": "oss-cn-shenzhen.aliyuncs.com" }, "test": { "region": "oss-cn-beijing", "accessKeyId": "YOUR_KEY", "accessKeySecret": "YOUR_SECRET", "bucket": "BUCKET_NAME", "endpoint": "oss-cn-beijing.aliyuncs.com" } }'
region: 阿里云OSS区域accessKeyId: 阿里云访问密钥IDaccessKeySecret: 阿里云访问密钥Secretbucket: OSS存储桶名称endpoint: OSS终端节点选项:
-s, --stdio 使用stdio传输启动服务器
-h, --http 使用HTTP传输启动服务器
-p, --port HTTP服务器端口 (默认: 3000)
-i, --inspect 使用Inspector工具启动
-?, --help 显示帮助信息
# 开发模式
pnpm dev
# 启动服务 (stdio模式)
pnpm start
# 启动HTTP服务
pnpm start:http
# 使用Inspector调试
pnpm inspect
{
"mcpServers": {
"oss-mcp": {
"command": "npx",
"args": [
"oss-mcp",
"--oss-config='{\"default\":{\"region\":\"oss-cn-shenzhen\",\"accessKeyId\":\"YOUR_KEY\",\"accessKeySecret\":\"YOUR_SECRET\",\"bucket\":\"YOUR_BUCKET\",\"endpoint\":\"oss-cn-shenzhen.aliyuncs.com\"}}'",
"--stdio"
]
}
}
}
使用环境变量方式可以轻松配置多个OSS账号:
{
"mcpServers": {
"oss-mcp": {
"command": "npx",
"args": [
"oss-mcp",
"--oss-config='{\"default\":{\"region\":\"oss-cn-shenzhen\",\"accessKeyId\":\"YOUR_KEY\",\"accessKeySecret\":\"YOUR_SECRET\",\"bucket\":\"YOUR_BUCKET\",\"endpoint\":\"oss-cn-shenzhen.aliyuncs.com\"}, \"test\":{\"region\":\"oss-cn-shenzhen\",\"accessKeyId\":\"YOUR_KEY\",\"accessKeySecret\":\"YOUR_SECRET\",\"bucket\":\"YOUR_BUCKET\",\"endpoint\":\"oss-cn-shenzhen.aliyuncs.com\"}}'",
"--stdio"
]
}
}
}
服务器提供以下工具:
upload_to_oss)参数:
filePath: 本地文件路径(必需)targetDir: 目标目录路径(可选)fileName: 文件名(可选,默认使用原文件名)configName: OSS配置名称(可选,默认使用'default')list_oss_configs)无参数,返回所有可用的OSS配置名称。
# 发布到npm
pnpm pub:release
# 本地打包测试
pnpm publish:local
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP server for uploading files to Alibaba Cloud OSS from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/oss-mcp)GitHub API evidence checked 2026-11-25 00:11:02.202Z (UTC). Repository-level counts are shared by all components, not individual server installs. Open issues including pull requests: 3.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A Model Context Protocol server built on Huawei Cloud services that enables AI assistants to operate Huawei Cloud resources within conversational workflows, supporting ECS, OBS, GaussDB, and other cloud products.

An MCP server that exposes the Coolify v4.3.1 REST API so AI clients can manage applications, databases, services, servers, deployments, and more.

A deprecated Model Context Protocol server for interacting with Kong Konnect APIs, enabling AI assistants to query and analyze Kong Gateway configurations, traffic, and analytics.