Qiniu MCP Server

基于七牛云产品构建的 Model Context Protocol (MCP) Server,支持用户在 AI 大模型客户端的上下文中通过该 MCP Server 来访问七牛云存储、智能多媒体,直播服务等。

Local serverstdioPython

What is the Qiniu MCP server?

基于七牛云产品构建的 Model Context Protocol (MCP) Server,支持用户在 AI 大模型客户端的上下文中通过该 MCP Server 来访问七牛云存储、智能多媒体,直播服务等。. That is what the qiniu mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.

Getting it running

@modelcontextprotocol/inspector on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.

The tools it exposes

The server publishes 1 tool. What each one is for:

  • CDN — 根据链接刷新文件

What it needs from you

Configuration is passed through the environment: QINIU_ACCESS_KEY, QINIU_SECRET_KEY, QINIU_REGION_NAME, QINIU_ENDPOINT_URL, QINIU_BUCKETS, QINIU_LIVE_API_KEY, YOUR_ACCESS_KEY, YOUR_SECRET_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

How it compares

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Qiniu's toolset — CDN — is a fair guide to whether it matches your workflow. It is maintained by qiniu; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Available tools

ToolWhat it does
CDN根据链接刷新文件

How to install the Qiniu MCP server

```
   如果只使用直播功能时,支持两种鉴权模式
   1 配置QINIU_ACCESS_KEY/QINIU_SECRET_KEY
   {
     "mcpServers": {
       "qiniu": {
         "command": "uvx",
         "args": [
           "qiniu-mcp-server"
         ],
         "env": {
           "QINIU_ACCESS_KEY": "YOUR_ACCESS_KEY",
           "QINIU_SECRET_KEY": "YOUR_SECRET_KEY"
        },
         "disabled": false
       }
     }
   }
   2 可在七牛直播控制台获取apikey后,配置QINIU_LIVE_API_KEY
   {
     "mcpServers": {
       "qiniu": {
         "command": "uvx",
         "args": [
           "qiniu-mcp-server"
         ],
         "env": {
           "QINIU_LIVE_API_KEY": "YOUR_LIVE_API_KEY"
        },
         "disabled": false
       }
     }
   }

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
QINIU_ACCESS_KEYCredential the server authenticates with.Yes
QINIU_SECRET_KEYCredential the server authenticates with.Yes
QINIU_REGION_NAMEConfiguration value read at startup.Optional
QINIU_ENDPOINT_URLEndpoint or connection string the server talks to.Yes
QINIU_BUCKETSConfiguration value read at startup.Optional
QINIU_LIVE_API_KEYCredential the server authenticates with.Yes
YOUR_ACCESS_KEYCredential the server authenticates with.Yes
YOUR_SECRET_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use Qiniu to CDN.

Frequently asked questions

It connects Qiniu to MCP-compatible AI assistants such as Claude and Cursor, exposing 1 tool (CDN) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Qiniu directly.