Oss Mcp
@1yhy
About Oss Mcp
阿里云OSSMCP服务器,用于将文件上传到阿里云OSS,支持多配置和目录指定
Config
Add this server to your MCP-compatible client using the configuration below.
{
"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"
]
}
}
}Tools
2将文件上传到阿里云OSS
列出可用的阿里云OSS配置
Overview
What is Oss Mcp?
Oss Mcp is a Model Context Protocol (MCP) server that enables large language models to upload files directly to Alibaba Cloud Object Storage Service (OSS). It is built for developers and AI workflows that need to store files in the cloud via an MCP‑compatible interface.
How to use Oss Mcp?
Install globally with npm install -g oss-mcp or pnpm add -g oss-mcp. Configure one or more OSS accounts via the --oss-config command‑line argument, a .env file, or environment variables. Start the server using oss-mcp --oss-config='...' --stdio for stdio mode or oss-mcp --http -p 3000 for HTTP mode.
Key features of Oss Mcp
- Supports multiple Alibaba Cloud OSS configurations.
- Allows specifying an upload directory.
- Provides two tools:
upload_to_ossandlist_oss_configs. - Integrates seamlessly with other MCP tools (Playwright, Figma, Filesystem).
- Runs over stdio or HTTP transport.
- Can be launched with an Inspector for debugging.
Use cases of Oss Mcp
- Upload webpage screenshots or resources captured by Playwright MCP directly to OSS.
- Upload files from Figma MCP or local file system to cloud storage.
- Automate data backup from local or other services to OSS.
- Process media (images, videos) and upload the results to obtain a shareable URL.
- Manage multiple OSS accounts and switch between them easily.
FAQ from Oss Mcp
What runtime dependencies does Oss Mcp require?
It requires Node.js and npm (or pnpm) installed globally. The server is distributed as an npm package (oss-mcp).
How can I configure multiple OSS accounts?
Define environment variables such as OSS_CONFIG_DEFAULT and OSS_CONFIG_TEST, each containing a JSON object with region, accessKeyId, accessKeySecret, bucket, and endpoint. Alternatively, pass a JSON object with multiple configs to the --oss-config argument.
Which transport modes are supported?
Oss Mcp supports both stdio mode (--stdio) and HTTP mode (--http, default port 3000). You can also launch the server with the Inspector for debugging using --inspect.
Where do uploaded files go?
Files are uploaded to the Alibaba Cloud OSS bucket specified in the active configuration. The tool upload_to_oss accepts a local file path and optional target directory and file name.
What authentication is used?
Authentication uses Alibaba Cloud access keys (accessKeyId and accessKeySecret). These are provided through environment variables, a .env file, or the --oss-config command‑line option.
Frequently asked questions
What runtime dependencies does Oss Mcp require?
It requires Node.js and npm (or pnpm) installed globally. The server is distributed as an npm package (`oss-mcp`).
How can I configure multiple OSS accounts?
Define environment variables such as `OSS_CONFIG_DEFAULT` and `OSS_CONFIG_TEST`, each containing a JSON object with `region`, `accessKeyId`, `accessKeySecret`, `bucket`, and `endpoint`. Alternatively, pass a JSON object with multiple configs to the `--oss-config` argument.
Which transport modes are supported?
Oss Mcp supports both stdio mode (`--stdio`) and HTTP mode (`--http`, default port 3000). You can also launch the server with the Inspector for debugging using `--inspect`.
Where do uploaded files go?
Files are uploaded to the Alibaba Cloud OSS bucket specified in the active configuration. The tool `upload_to_oss` accepts a local file path and optional target directory and file name.
What authentication is used?
Authentication uses Alibaba Cloud access keys (`accessKeyId` and `accessKeySecret`). These are provided through environment variables, a `.env` file, or the `--oss-config` command‑line option.
Basic information
More Other MCP servers
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
Codelf
unbugA search tool helps dev to solve the naming things problem.

Figs, Relationship Expert
Figs O'Sullivan, LMFTCouples therapist Figs O'Sullivan (LMFT, 17 years, endorsed by Sue Johnson, creator of EFT) inside your AI. Ask relationship questions answered from his clinical writing, name the pattern in a fight, get a three-step rep
Comments