Alioss Mcp Server
@lvchenyang
Alioss Mcp Server について
一个基于Model Context Protocol (MCP)的服务器,支持两种模式将图片URL转存到阿里云OSS并返回CDN访问地址。
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"alioss-mcp-server": {
"command": "npx",
"args": [
"-y",
"alioss-mcp-server@latest"
],
"env": {
"UPLOAD_MODE": "OSS",
"STS_ACCESS_KEY_ID": "your_sts_access_key_id",
"STS_ACCESS_KEY_SECRET": "your_sts_access_key_secret",
"STS_ROLE_ARN": "acs:ram::your_account_id:role/your_role_name",
"OSS_ENDPOINT": "oss-cn-hangzhou.aliyuncs.com",
"OSS_BUCKET": "your_bucket_name",
"CDN_ENDPOINT": "https://your-cdn-domain.com"
}
}
}
}ツール
1Transfer an image from a given URL to Alibaba Cloud OSS and return structured data with CDN URL, file name, and original URL
概要
What is Alioss Mcp Server?
Alioss Mcp Server is a Model Context Protocol (MCP) server that transfers image URLs to Alibaba Cloud OSS (Object Storage Service) and returns a CDN access address. It supports two modes—OSS direct transfer and HOOK proxy—and is designed for developers who need to offload external images to a controlled CDN environment.
How to use Alioss Mcp Server?
Configure the server with your Alibaba Cloud OSS credentials and choose either OSS mode or HOOK mode. Invoke the transfer_image_to_oss tool with a single imageURL parameter to upload an image. The server returns the new CDN URL, file name, and original URL in both structured and raw text formats.
Key features of Alioss Mcp Server
- Dual-mode support: OSS direct and HOOK proxy
- STS temporary credentials for minimal privilege
- Handles HTTP/HTTPS image URLs
- File size limit of 50 MB
- Smart filename handling against path traversal attacks
- MCP-compliant with structuredContent and backward compatibility
Use cases of Alioss Mcp Server
- Migrating external images to a private OSS bucket with CDN access
- Preventing hotlinking by serving images through a controlled CDN
- Integrating image uploads into existing applications via HOOK proxy mode
- Building secure, scalable image processing pipelines
FAQ from Alioss Mcp Server
What modes does Alioss Mcp Server support?
It supports OSS mode (direct SDK integration for high performance) and HOOK mode (API proxy upload for compatibility with existing systems).
What are the file size limits?
Images up to 50 MB are supported.
Does it support both HTTP and HTTPS image URLs?
Yes, the server accepts both HTTP and HTTPS image URLs.
How does it handle security?
OSS mode uses STS temporary credentials to enforce least-privilege access, and the server performs file type validation and path traversal attack prevention.
What is the output format?
The server returns a JSON object with a structuredContent field for direct data access and a content array for backward compatibility with traditional MCP clients.
「その他」の他のコンテンツ
Mobile Mcp
mobile-nextModel Context Protocol Server for Mobile Automation and Scraping (iOS, Android, Emulators, Simulators and Real Devices)
XcodeBuildMCP
cameroncookeA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web
Nginx UI
0xJackyYet another WebUI for Nginx
コメント