Oss MCP Server

本地MCP服务器,用于将文件上传到阿里云OSS,支持多配置和目录指定

Local serverstdio

What is the Oss MCP MCP server?

Oss MCP becomes available to MCP clients through the oss mcp mcp server. 本地MCP服务器,用于将文件上传到阿里云OSS,支持多配置和目录指定.

What Oss MCP does

一个基于Model Context Protocol (MCP)的服务器,用于将文件上传到阿里云OSS。此服务器使大型语言模型能够直接将文件上传到阿里云对象存储服务。

Tools it exposes

Once connected, the assistant can call these 9 tools directly:

  • region — 阿里云OSS区域
  • accessKeyId — 阿里云访问密钥ID
  • accessKeySecret — 阿里云访问密钥Secret
  • bucket — OSS存储桶名称
  • endpoint — OSS终端节点
  • filePath — 本地文件路径(必需)
  • targetDir — 目标目录路径(可选)
  • fileName — 文件名(可选,默认使用原文件名)
  • configName — OSS配置名称(可选,默认使用'default')

Installing the oss mcp mcp server

The server is distributed via npm as oss-mcp, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.

Configuration

Before the server will start you need to supply 2 environment variables: YOUR_KEY, YOUR_SECRET. Keep credentials in your client's env block or a secrets manager rather than committing them.

Where it fits

Developer-tool servers are usually the first ones people connect, because they turn "help me with this code" into an assistant that can actually read the repo and act on it. Oss MCP sits in that group, and the shape of its toolset — region, accessKeyId, accessKeySecret among others — tells you what it is really for. Worth comparing against the other developer tools servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • It will not start until its required credentials are present, so set those before wondering why the tools never appear.
  • With 9 tools exposed, expect a noticeable bump in prompt size — disable it in projects that never use Oss MCP.
  • Maintained by 1yhy.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the oss mcp mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

Available tools

ToolWhat it does
region阿里云OSS区域
accessKeyId阿里云访问密钥ID
accessKeySecret阿里云访问密钥Secret
bucketOSS存储桶名称
endpointOSS终端节点
filePath本地文件路径(必需)
targetDir目标目录路径(可选)
fileName文件名(可选,默认使用原文件名)
configNameOSS配置名称(可选,默认使用'default')

How to install the Oss MCP MCP server

{
  "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"
      ]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
YOUR_KEYCredential the server authenticates with.Yes
YOUR_SECRETCredential the server authenticates with.Yes

Example prompts to try

  • Use Oss MCP to region.
  • Use Oss MCP to accessKeyId.
  • Use Oss MCP to accessKeySecret.

Frequently asked questions

It connects Oss MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 9 tools (region, accessKeyId, accessKeySecret, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Oss MCP directly.