Qiniu MCP Server

Author:@qiniu
View on GitHub

Overview

The Qiniu MCP Server is an S3-compatible resource server built on the Model Control Protocol (MCP). It provides access and management capabilities for the Qiniu Cloud Kodo storage service.

To get started, clone the repository, set up a virtual environment, and install the required dependencies. Configure the necessary environment variables and start the server using the provided uv commands.

Its key features include listing available storage buckets, listing objects within those buckets, and reading the content of specific objects.

Use cases involve efficiently managing cloud storage resources, integrating object storage into web applications, and accessing or retrieving data from Qiniu Cloud Kodo.

Prerequisites include having Python 3.12 or higher and the uv package manager installed. The server supports both text files (such as Markdown and plain text) and standard image file formats.

Configuration

{
  "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": ""
      },
      "disabled": false
    }
  }
}