- CACHE
- TRAFFIC
- ASSETS
- HUMAN
Short answer
How can I automate my CDN cache refreshes using AI?
You tell your AI which URLs need updating, and it triggers the refresh through Qiniu Cloud. It can also pull bandwidth data and list your bucket domains to keep your delivery on track. You get direct control over your edge cache without touching the console.
Where every action lands.
The outcomes of your requests
Your AI translates your intent into specific Qiniu Cloud operations.
CACHE
Fresh content delivery
The AI clears specific paths or files from the edge. Your users see updated assets immediately after the command runs.
TRAFFIC
Bandwidth oversight
Your agent pulls real-time usage stats. You get a clear picture of how much data your CDN is moving.
ASSETS
Domain management
The AI identifies your active bucket domains. This helps you verify exactly which assets are being served.
HUMAN
Manual oversight
You decide when a refresh is necessary. The AI executes the command, but you maintain the final say on content deployment.
The workflow
What your AI does when the request arrives.
Your agent acts as the bridge between your chat interface and the Qiniu Cloud API.
Identify targets
The AI looks up your active domains to ensure it targets the right content. This provides the context needed for subsequent commands.
get_bucket_domainsClear the cache
Once you specify the files or paths, the AI sends the instruction to purge them from the CDN edge.
refresh_cdn_urlsCheck usage
The AI pulls the latest bandwidth metrics to confirm how the refresh or traffic spikes are affecting your delivery.
get_cdn_bandwidthReport status
The agent summarizes the results of the refresh and the current bandwidth state in your chat window.
get_cdn_bandwidth
Try it
Copy these to start.
Use these prompts to trigger actions in Qiniu Cloud.
Starting points
These are starting points. Swap out the specific domain names or URL paths with your actual Qiniu Cloud data.
Qiniu Cloud Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_iC0vN0rcHZP1qPv0kEW3YKD0RJLuLqcxXE8mYDcL/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — Qiniu Cloud capabilities are ready to use.
{
"mcpServers": {
"qiniu-cloud-mcp": {
"url": "https://edge.vinkius.com/vk_preview_iC0vN0rcHZP1qPv0kEW3YKD0RJLuLqcxXE8mYDcL/mcp"
}
}
}Refresh the cache for all assets under the domain media.example.com/images/
What is the current bandwidth usage for my Qiniu Cloud CDN?
List all the bucket domains currently configured in my account.
Check the bandwidth for my main domain and tell me if it's spiked after I refreshed the cache.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect Qiniu Cloud once, then ask.
You only need to link your account once. Your credentials stay encrypted, and you can immediately start managing your CDN through your preferred AI client.
Connect Qiniu Cloud to your AIFAQ
How this task behaves
- 01
Can the AI delete my entire CDN configuration?
No. The AI only has tools to refresh URLs, get bandwidth, and list domains. It cannot delete or modify your core account settings.
- 02
Will the AI automatically refresh my cache every hour?
No. The AI only performs actions when you specifically ask it to via a prompt.
- 03
Can I use this to upload new files to my buckets?
No. This Connector is designed for cache management and bandwidth monitoring, not for file uploads or storage management.
- 04
Does the AI handle the actual purging of the files?
Yes. When you use the refresh command, the AI triggers the purge through the Qiniu Cloud API.
- 05
Can the AI see my billing information?
No. The available tools are limited to CDN bandwidth and domain/URL management. It has no access to your billing or payment data.
More questions about Qiniu Cloud? The Connector page answers them. See everything the Qiniu Cloud Connector can do
Connect Qiniu Cloud to Claude, Cursor, ChatGPT & more
