AgentSkillsCN

Vercel Deployment & CDN

借助Vercel MCP部署前端应用、管理CDN缓存,并实现自动化部署流程。

SKILL.md
--- frontmatter
name: Vercel Deployment & CDN
description: Deploy frontend, manage CDN caching, and automate deployments via Vercel MCP

Vercel MCP Integration

Manage deployments, CDN caching, and serverless functions through the Vercel MCP server.

Configuration ✅

Status: Configured via mcp-remote https://mcp.vercel.com

First use will prompt for Vercel authentication.

Capabilities

FeatureUse Case
DeploymentsDeploy, rollback, promote previews
CDNCache invalidation, edge config
ProjectsCreate, configure, manage
DomainsAdd, verify, configure DNS
FunctionsNode.js serverless functions

Common Operations

Deploy Frontend

code
Deploy the Next.js frontend to production

Invalidate CDN Cache

code
Purge CDN cache for /api/* endpoints

Check Deployment Status

code
Get status of latest deployment

CDN Best Practices

From Vercel CDN docs:

  • Use Cache-Control headers for static assets
  • Leverage edge caching for API responses
  • Use stale-while-revalidate for dynamic content

Integration with Trading Platform

ComponentVercel Feature
Frontend (Next.js)Automatic deployments
API routesServerless functions
Market dataCDN edge caching
Static assetsGlobal CDN distribution