Oss Mcp
@1yhy
Oss Mcp について
阿里云OSSMCP服务器,用于将文件上传到阿里云OSS,支持多配置和目录指定
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"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"
]
}
}
}ツール
2将文件上传到阿里云OSS
列出可用的阿里云OSS配置
概要
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.
「その他」の他のコンテンツ
Codelf
unbugA search tool helps dev to solve the naming things problem.
ghidraMCP
LaurieWiredMCP Server for Ghidra
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
コメント