Connections & Capabilities
Connects To
Capabilities
Quickstart
Install
brew install uvConfig
{
"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
}
}
}Exposed MCP Tools (16)
get_bucket_listLists all available buckets in the configured Qiniu account.
Read-only operation; no data modification.
get_file_listLists files within a specified bucket.
Read-only operation; no data modification.
upload_fileUploads a file to a specified bucket.
Writes data to the bucket; potential for data corruption or overwriting.
read_file_contentReads the content of a file from a specified bucket.
Read-only operation; no data modification.
get_file_download_linkGenerates a download link for a file in a specified bucket.
Read-only operation; no data modification.
image_scaleScales an image stored in a bucket.
Modifies image data; potential for data corruption.
image_round_cornerApplies rounded corners to an image stored in a bucket.
Modifies image data; potential for data corruption.
cdn_refreshRefreshes a CDN link.
Triggers CDN refresh, potentially incurring costs.
cdn_prefetchPrefetches a CDN link.
Triggers CDN prefetch, potentially incurring costs.
create_live_spaceCreates a new live streaming space (bucket).
Creates a new resource; potential for resource exhaustion.
create_live_streamCreates a new live streaming stream within a space.
Creates a new resource; potential for resource exhaustion.
get_live_space_listLists all live streaming spaces.
Read-only operation; no data modification.
get_live_stream_listLists all live streams within a space.
Read-only operation; no data modification.
bind_push_pull_domainBinds push and pull domains to a live streaming space.
Modifies live streaming configuration; potential for service disruption.
get_live_addressRetrieves the push and pull addresses for a live stream.
Read-only operation; no data modification.
get_live_usageRetrieves live streaming usage data.
Read-only operation; no data modification.
Safety Assessment
The Qiniu MCP Server's safety depends heavily on proper configuration and environment variable management. While it offers read-only operations, the presence of write capabilities and reliance on environment variables for authentication introduce moderate risks. It is safe when used for read-only tasks and with carefully managed credentials, but risky if misconfigured or used with overly permissive credentials.
- Requires explicit configuration of access keys and secret keys.
- Buckets are explicitly defined, limiting the scope of access.
- Provides tools for CDN refresh and prefetch, which don't directly modify data.
- Supports read-only operations like listing buckets and files.
- Exposes Qiniu cloud credentials via environment variables.
- Includes write operations such as file uploads and live stream creation.
- Lacks built-in sandboxing, relying on correct configuration.
- Potential for data modification or deletion if misconfigured.
- Live streaming tools can create and manage live streams, potentially impacting service availability.
