Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,41 @@ powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | ie
}
}
}
```

```
如果只使用直播功能时,支持两种鉴权模式
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
}
}
}
```
Comment on lines +90 to 124

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

这部分新增的说明格式可以优化一下,以提高可读性。目前,说明文字和 JSON 配置示例被包裹在一个大的代码块中,这使得文本部分也以等宽字体显示,并且 JSON 没有语法高亮。

建议将说明文字作为普通 Markdown 文本,并将每个 JSON 示例放入独立的 json 代码块中。这样不仅结构更清晰,用户也更容易复制配置。我还对文本做了一些微调,并修正了 JSON 中的缩进问题。

   > **注意**:如果只使用直播功能,可选择以下两种鉴权模式之一。

   **模式一:使用 Access Key / Secret Key**

   配置 `QINIU_ACCESS_KEY``QINIU_SECRET_KEY````json
   {
     "mcpServers": {
       "qiniu": {
         "command": "uvx",
         "args": [
           "qiniu-mcp-server"
         ],
         "env": {
           "QINIU_ACCESS_KEY": "YOUR_ACCESS_KEY",
           "QINIU_SECRET_KEY": "YOUR_SECRET_KEY"
         },
         "disabled": false
       }
     }
   }

模式二:使用直播 API Key

在七牛直播控制台获取 API Key 后,配置 QINIU_LIVE_API_KEY

{
  "mcpServers": {
    "qiniu": {
      "command": "uvx",
      "args": [
        "qiniu-mcp-server"
      ],
      "env": {
        "QINIU_LIVE_API_KEY": "YOUR_LIVE_API_KEY"
      },
      "disabled": false
    }
  }
}

3. 点击 qiniu MCP Server 的链接开关进行连接
4. 在 Cline 中创建一个聊天窗口,此时我们可以和 AI 进行交互来使用 qiniu-mcp-server ,下面给出对象存储的几个示例:
Expand Down
Loading