本地MCP服务器,用于将文件上传到阿里云OSS,支持多配置和目录指定
Oss MCP becomes available to MCP clients through the oss mcp mcp server. 本地MCP服务器,用于将文件上传到阿里云OSS,支持多配置和目录指定.
一个基于Model Context Protocol (MCP)的服务器,用于将文件上传到阿里云OSS。此服务器使大型语言模型能够直接将文件上传到阿里云对象存储服务。
Once connected, the assistant can call these 9 tools directly:
region — 阿里云OSS区域accessKeyId — 阿里云访问密钥IDaccessKeySecret — 阿里云访问密钥Secretbucket — OSS存储桶名称endpoint — OSS终端节点filePath — 本地文件路径(必需)targetDir — 目标目录路径(可选)fileName — 文件名(可选,默认使用原文件名)configName — OSS配置名称(可选,默认使用'default')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.
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.
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.
| Tool | What it does |
|---|---|
| region | 阿里云OSS区域 |
| accessKeyId | 阿里云访问密钥ID |
| accessKeySecret | 阿里云访问密钥Secret |
| bucket | OSS存储桶名称 |
| endpoint | OSS终端节点 |
| filePath | 本地文件路径(必需) |
| targetDir | 目标目录路径(可选) |
| fileName | 文件名(可选,默认使用原文件名) |
| configName | OSS配置名称(可选,默认使用'default') |
{
"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.
| Variable | Description | Required |
|---|---|---|
| YOUR_KEY | Credential the server authenticates with. | Yes |
| YOUR_SECRET | Credential the server authenticates with. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.