MCP Connector

Access Qiniu Cloud Storage and Services

Qiniu MCP Server gives AI model clients access to Qiniu Cloud storage, intelligent multimedia, CDN, and live-streaming services.

Works with qiniu

91
Spark score
out of 100
Updated 8 months ago
Version 1.4.1
Models
universal

Add to Favorites

Why it matters

Integrate AI models with Qiniu Cloud's robust infrastructure, enabling seamless access to cloud storage, multimedia processing, and live streaming capabilities.

Outcomes

What it gets done

01

List and manage buckets and files in Qiniu Cloud storage.

02

Upload, download, and read file contents directly from Qiniu.

03

Utilize Qiniu's intelligent services for image scaling and CDN operations.

04

Configure authentication for both standard cloud access and live streaming.

Install

Add it to your toolbox

Run in your project directory:

curl -fsSL https://spark.entire.vc/get/vb-qiniu-mcp-server | bash

Capabilities

Tools your agent gets

list_buckets

List all available buckets in Qiniu Cloud storage.

list_files

List all files in a specified Qiniu Cloud bucket.

upload_file

Upload a local file to a Qiniu Cloud bucket.

download_file

Download a file from a Qiniu Cloud bucket with its contents.

read_file

Read and retrieve the contents of a file in a Qiniu Cloud bucket.

get_download_link

Generate a download link for a file in a Qiniu Cloud bucket.

scale_image

Scale an image stored in a Qiniu Cloud bucket to specified dimensions.

round_image_corners

Apply rounded corners to an image stored in a Qiniu Cloud bucket.

+3 tools

Overview

Qiniu MCP Server

Lets an AI model client manage Qiniu Cloud object storage, apply image transforms, refresh CDN content, and control live-streaming spaces and streams through MCP. Requires Python 3.12+ and the uv package manager. Use when an assistant needs to manage Qiniu Cloud storage, images, CDN, or live streaming conversationally; requires a Qiniu Cloud account with valid access credentials to function.

What it does

Qiniu MCP Server is built on Qiniu Cloud products and lets an AI model client access Qiniu Cloud storage, intelligent multimedia processing, and live-streaming services through the Model Context Protocol, all from within the model's conversational context. Its storage capabilities cover listing buckets, listing files within a bucket, uploading local files or file content supplied directly, reading file content, and getting a file's download link. Intelligent multimedia capabilities cover image resizing and cutting rounded corners into images. CDN capabilities cover refreshing a cached file by its link and prefetching a file by its link. Live-streaming capabilities are the most extensive: creating a live-streaming space (bucket), creating a live stream within that space, listing live-streaming spaces, listing streams, binding push and pull stream domains, retrieving the push and pull live-stream addresses, and getting live-streaming usage.

When to use - and when NOT to

Use this when an AI assistant needs to manage Qiniu Cloud storage buckets and files, apply basic image transformations, refresh or prefetch CDN content, or set up and monitor live-streaming spaces and streams, all through natural-language requests instead of the Qiniu console or SDK calls directly. Example interactions shown in the source include listing a bucket's resources, reading a specific file's content, applying a 200-pixel rounded corner to an image, refreshing a CDN link, creating a named live-streaming space and stream, binding push/pull domains, and checking the last hour's live-streaming usage. It requires a Qiniu Cloud account with valid access credentials, so it is not usable standalone without one.

Capabilities

Running the server requires Python 3.12 or later and the uv package manager, installable via Homebrew on Mac, a curl install script on Mac/Linux, or a PowerShell script on Windows. For development, the workflow is cloning the repository, creating and activating a virtual environment with uv venv, installing dependencies with uv pip install -e ., and copying .env.example to .env to configure QINIU_ACCESS_KEY, QINIU_SECRET_KEY, QINIU_REGION_NAME, QINIU_ENDPOINT_URL, and a comma-separated QINIU_BUCKETS list (recommended at up to 20 buckets). The server can be tested with the Model Context Protocol Inspector, or started locally in stdio mode (the default) or SSE mode for web applications via a --transport sse --port flag.

How to install

In Cline (as a VS Code extension), the server is configured with uvx as the command and qiniu-mcp-server as the argument, passing the Qiniu credentials as environment variables:

{
  "mcpServers": {
    "qiniu": {
      "command": "uvx",
      "args": [
        "qiniu-mcp-server"
      ],
      "env": {
        "QINIU_ACCESS_KEY": "YOUR_ACCESS_KEY",
        "QINIU_SECRET_KEY": "YOUR_SECRET_KEY",
        "QINIU_REGION_NAME": "YOUR_REGION_NAME",
        "QINIU_ENDPOINT_URL": "YOUR_ENDPOINT_URL",
        "QINIU_BUCKETS": "YOUR_BUCKET_A,YOUR_BUCKET_B"
     },
      "disabled": false
    }
  }
}

For live-streaming-only usage, two lighter authentication modes are supported: QINIU_ACCESS_KEY/QINIU_SECRET_KEY, or a QINIU_LIVE_API_KEY obtained from the Qiniu live-streaming console. Cursor can use the same configuration directly. Claude Desktop users may hit a spawn uvx ENOENT error, resolved by pointing command at the absolute path to the uvx binary (for example /usr/local/bin/uvx) instead of the bare command name.

Who it's for

Developers already using Qiniu Cloud for object storage, image processing, CDN, or live streaming who want to manage those resources conversationally through an MCP-enabled client like Cline, Cursor, or Claude Desktop instead of switching to the Qiniu console.

FAQ

Common questions

Discussion

Questions & comments · 0

Sign In Sign in to leave a comment.