MCP.so
Sign In
A

Alioss Mcp Server

@lvchenyang

About Alioss Mcp Server

一个基于Model Context Protocol (MCP)的服务器,支持两种模式将图片URL转存到阿里云OSS并返回CDN访问地址。

Basic information

Category

Other

Transports

stdio

Publisher

lvchenyang

Submitted by

晨阳 吕

Config

Add this server to your MCP-compatible client using the configuration below.

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

Tools

1

Transfer an image from a given URL to Alibaba Cloud OSS and return structured data with CDN URL, file name, and original URL

Overview

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.

Comments

More Other MCP servers