Loading...

Qiniu MCP Server enables AI models to interact with Qiniu cloud services like storage, media processing, CDN, and live streaming, managed via environment variables.
Boost this tool
Subscribe to listing upgrades or segmented pushes.
Qiniu MCP Server enables AI models to interact with Qiniu cloud services like storage, media processing, CDN, and live streaming, managed via environment variables.
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.
Performance depends on network latency and Qiniu's service availability. Consider optimizing file sizes and CDN configurations for better performance.
Costs are associated with Qiniu's storage, media processing, CDN, and live streaming services. Monitor usage to avoid unexpected charges.
brew install uv{
"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
}
}
}PATHQINIU_ACCESS_KEYQINIU_SECRET_KEYQINIU_REGION_NAMEQINIU_ENDPOINT_URLQINIU_BUCKETSget_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.
Environment Variable
hybrid
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.
Autonomy is limited by the configured permissions and the AI model's ability to construct valid requests. No built-in sandboxing or rollback mechanisms are provided.
Production Tip
Implement robust error handling and monitoring to detect and address issues promptly. Regularly rotate Qiniu access keys and secret keys.
Store them securely and avoid committing them to version control. Rotate them regularly and use environment variables for configuration.
Immediately revoke the compromised credentials and generate new ones. Review Qiniu logs for any unauthorized activity.
Use Qiniu's console or API to track storage, media processing, CDN, and live streaming usage.
Yes, configure the `QINIU_BUCKETS` environment variable to specify the allowed buckets.
Implement error handling logic in your AI model to interpret and respond to Qiniu API error messages.
Encryption depends on the underlying Qiniu services. Configure encryption options within Qiniu's console or API.
Set the `QINIU_REGION_NAME` and `QINIU_ENDPOINT_URL` environment variables to the appropriate values for your region.