New advertisers: 50% off your first month with code FIRSTMONTHSee slots
xiaobinger avatar

Aliyun OSS MCP Server

xiaobinger/oss_mcp_server

Upload, replace, download, zip, delete, and signed-URL tools for Aliyun OSS, with multi-group auth.

GitHub stars
1
tools
11
auth
Secret needed
transport
STDIO
env vars
8
last updated
Nov 17, 2026
View on GitHub

What it does

  • Reads and inspects with file_exists, list_groups, download_file, download_files, and download_folder, which bundles multiple objects or a prefix into ZIP
  • Writes and removes with upload_file, upload_from_url, replace_file, delete_file, and delete_files; batch deletes are split automatically into groups of 1000
  • Requires an AccessKey pair per group in a local config file, and HTTP mode needs a Bearer Token when listening on a non-local address
  • Designed for teams moving assets between local disk, Aliyun OSS, and public or signed links from an AI client

Tools

11 tools

Public tool metadata for what this MCP can expose to an agent.

list_groups列出分组、别名、Bucket、默认前缀,凭证脱敏

列出分组、别名、Bucket、默认前缀,凭证脱敏

No parameter schema in public metadata yet.

file_exists精确判断对象是否存在

精确判断对象是否存在

No parameter schema in public metadata yet.

upload_file上传本地文件

上传本地文件

No parameter schema in public metadata yet.

upload_from_url下载网络文件并上传

下载网络文件并上传

No parameter schema in public metadata yet.

replace_file用本地文件替换已有对象,可保留原名或按本地文件名改名

用本地文件替换已有对象,可保留原名或按本地文件名改名

No parameter schema in public metadata yet.

download_file下载单个对象到本地

下载单个对象到本地

No parameter schema in public metadata yet.

download_files下载多个对象并打包 ZIP,保留完整对象路径

下载多个对象并打包 ZIP,保留完整对象路径

No parameter schema in public metadata yet.

download_folder按前缀下载整个目录并打包 ZIP,保留相对路径

按前缀下载整个目录并打包 ZIP,保留相对路径

No parameter schema in public metadata yet.

delete_file删除单个对象

删除单个对象

No parameter schema in public metadata yet.

delete_files批量删除对象,自动分批

批量删除对象,自动分批

No parameter schema in public metadata yet.

get_file_url生成公共读直链或私有签名 URL

生成公共读直链或私有签名 URL

No parameter schema in public metadata yet.

Configuration

OSS_ACCESS_KEY_ID*secret

Aliyun AccessKey ID with access to the target OSS bucket.

OSS_ACCESS_KEY_SECRET*secret

Aliyun AccessKey Secret paired with OSS_ACCESS_KEY_ID.

OSS_ENDPOINT*

OSS endpoint, for example oss-cn-hangzhou.aliyuncs.com.

OSS_BUCKET*

OSS bucket name.

OSS_SECURITY_TOKENsecret

Optional STS security token for temporary credentials.

OSS_DOMAIN

Optional custom domain used for public-read object URLs.

OSS_DEFAULT_PREFIX

Optional default object key prefix added to relative paths.

OSS_PUBLIC_READdefault: false

Whether the bucket is public-read; true or false.

Readme

OSS MCP Server

把阿里云 OSS 变成 AI 可以直接调用的文件工具集

上传 · 替换 · 下载 · 目录打包 · 删除 · 访问地址 · 多分组认证 · 跨平台托管

Python 3.10+ MCP 1.29+ Bearer Token Aliyun OSS Platform

Aliyun OSS MCP server

在 MCP 客户端里说一句「从生产 OSS 下载 lstd/pay/a.png」,模型会自动把「生产」匹配到对应认证分组和 Bucket,然后调用下载工具。


目录


View the full README on GitHub

Details

Repository
github.com/xiaobinger/oss_mcp_server
Category
DevOps & Cloud
Package
oss-mcp-server
Transport
STDIO
Auth
Required
Registry
MCP registry, active

More from xiaobinger

All 2

Similar to Aliyun OSS MCP Server

More DevOps & Cloud