Bring Cdn
to Mastra AI
Create your Vinkius account to connect KeyCDN (Content Delivery Network) to Mastra AI and start using all 10 AI tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code. No hosting, no server setup — just connect and start using.
Compatible with every major AI agent and IDE
What is the KeyCDN (Content Delivery Network) MCP Server?
Connect your KeyCDN account to any AI agent and take full control of your global edge caching and content delivery infrastructure through natural conversation.
What you can do
- Cache Orchestration — Purge the entire cache for a zone or perform granular invalidations for specific file URLs to ensure fresh content delivery instantly
- Zone Management — Create and configure new Pull Zones to connect your origin servers to KeyCDN's global edge locations directly from your agent
- Custom Domain Aliases — Bind and manage custom domain mappings (CNAMEs) to existing zones to maintain branded asset delivery URLs securely
- Traffic Analytics — Retrieve detailed bandwidth consumption reports over specific time periods to monitor your CDN spending and usage patterns
- Origin Audit — Inspect detailed caching rules, TLS settings, and origin server configurations assigned to your active zones
- Infrastructure Control — Enable, disable, or permanently delete distributed acceleration zones to manage your content delivery pipeline in real-time
How it works
- Subscribe to this server
- Enter your KeyCDN API Key
- Start managing your content delivery from Claude, Cursor, or any MCP-compatible client
Who is this for?
- Frontend Developers — verify asset delivery and purge specific URLs after code deployments without leaving your IDE
- SREs & DevOps — monitor CDN traffic and manage zone configurations across multiple production environments through natural conversation
- Site Administrators — audit custom domain aliases and verify SSL/TLS statuses for global asset delivery efficiently
Built-in capabilities (10)
Create a new KeyCDN pull zone
g. assets.company.com) to an existing KeyCDN zone. DNS CNAME records should be updated accordingly. Add a custom domain alias to a KeyCDN zone
Instantly revokes wildcard subdomains and drops proxy connections natively. Delete a specific KeyCDN zone
Delete a custom domain alias from a KeyCDN zone
Get details for a specific KeyCDN zone
List traffic bandwidth consumption reports
List custom domain aliases for all zones
Returns immutable `.kxcdn.com` endpoints and zone configurations. List all KeyCDN zones
g., `/app.css`), avoiding a full zone cache purge. Purge a specific cached URL in a KeyCDN zone
Purge the entire cache for a KeyCDN zone
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and KeyCDN (Content Delivery Network) tool infrastructure. Connect 10 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.
- —
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add KeyCDN (Content Delivery Network) without touching business code
- —
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
- —
TypeScript-native: full type inference for every KeyCDN (Content Delivery Network) tool response with IDE autocomplete and compile-time checks
- —
One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure
KeyCDN (Content Delivery Network) in Mastra AI
Why run KeyCDN (Content Delivery Network) with Vinkius?
The KeyCDN (Content Delivery Network) connection runs on our fully managed, secure cloud infrastructure. We handle the hosting, maintenance, and security so you don't have to deal with servers or code. All 10 tools are ready to work instantly without any complex setup.
You stay in complete control of your data. Your AI only accesses the information you approve, keeping your sensitive passwords and private details completely safe. Plus, with automatic optimizations, your AI works faster and more efficiently.

* Every connection is hosted and maintained by Vinkius. We handle the security, updates, and infrastructure so you don't have to write code or manage servers. See our infrastructure
Over 4,000 integrations ready for AI agents
Explore a vast library of pre-built integrations, optimized and ready to deploy.
Connect securely in under 30 seconds
Generate tokens to authenticate and link external services in a single step.
Complete visibility into every agent action
Audit live requests, latency, success rates, and active security compliance policies.
Optimize spending and track token ROI
Analyze real-time token consumption and cost metrics detailed by connection.




Explore our live AI Agents Analytics dashboard to see it all working
This dashboard is included when you connect KeyCDN (Content Delivery Network) using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.
KeyCDN (Content Delivery Network) and 4,000+ other AI tools. No hosting, no code, ready to use.
Professionals who connect KeyCDN (Content Delivery Network) to Mastra AI through Vinkius don't need to write code, manage servers, or worry about security. Everything is pre-configured, secure, and runs automatically in the background.
Raw MCP | Vinkius | |
|---|---|---|
| Ready-to-use MCPs | Find and configure each manually | 4,000+ MCPs ready to use |
| Connection Setup | Manual coding & server setup | 1-click instant connection |
| Server Hosting | You host it yourself (needs 24/7 uptime) | 100% hosted & managed by Vinkius |
| Security & Privacy | Stored in plaintext config files | Bank-grade encrypted vault |
| Activity Visibility | Blind execution (no logs or tracking) | Live dashboard with real-time logs |
| Cost Control | Runaway AI token spend risk | Automatic budget limits |
| Revoking Access | Must delete files or code to stop | 1-click disconnect button |
How Vinkius secures
KeyCDN (Content Delivery Network) for Mastra AI
Every request between Mastra AI and KeyCDN (Content Delivery Network) is protected by our secure gateway. We automatically keep your sensitive data private, prevent unauthorized access, and let you disconnect instantly at any time.
Frequently asked questions
Can I purge the entire cache for a specific zone using my agent?
Yes. Use the purge_zone_cache_all tool with your Zone ID. Your agent will instantly trigger a global invalidation across all Edge servers, forcing KeyCDN to re-fetch all assets from your origin upon the next request.
How do I invalidate a single file instead of purging the whole zone?
The purge_specific_url tool allows for granular cache invalidation. You just need to provide the Zone ID and the absolute URL of the resource (e.g. your CDN subdomain + path) to clear that specific file from the edge nodes.
Can my agent check how much traffic I've used this month?
Absolutely. Use the list_traffic_reports tool and provide a start and end timestamp. Your agent will retrieve the bandwidth consumption analytics for your account, helping you track CDN usage and spending in real-time.
How does Mastra AI connect to MCP servers?
Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.
Can Mastra agents use tools from multiple servers?
Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.
Does Mastra support workflow orchestration?
Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.
createMCPClient not exported
Install: npm install @mastra/mcp
Explore More MCP Servers
View all →
Rows
11 toolsAutomate spreadsheets via Rows.com — manage tables, data values, and folders with AI agents.

GrainSure
12 toolsAccess silo monitoring via GrainSure — track grain fill levels, usage rates, predicted days to empty, and manage deliveries from any AI agent.

QWeather / 和风天气
10 toolsLeading professional weather data service in China — retrieve forecasts, air quality, and life indices via AI.

IPGeolocation (IP Intelligence & Time)
3 toolsResolve IP addresses via IPGeolocation — get precise location, timezone details, and local astronomy data.
