Deploy a Mastra TypeScript Agent to CloudBase Run
Write an agent and tools with Mastra 1.x, use mastra build to produce a Hono server, write a multi-stage Dockerfile, and deploy to CloudBase Run with tcb cloudrun deploy — including OpenAI key injection and CloudBase database tool integration.
Deploy a Next.js 14+ App Router Application to CloudBase Run
Use standalone output + a multi-stage Dockerfile + tcb cloudrun deploy to deploy a Next.js application to CloudBase Run in one shot, with SSR, streaming, custom domains, and environment variables.
Deploy a React SPA to CloudBase Hosting
Run vite build to generate dist, upload to CloudBase static website Hosting via tcb hosting deploy, get automatic CDN acceleration + HTTPS; configure index.html as the error page fallback in the Console to resolve React Router refresh 404s.
Deploy a Vue SPA to CloudBase Hosting
Run vite build to generate dist, upload to CloudBase static website Hosting via tcb hosting deploy, get automatic CDN acceleration + HTTPS; configure index.html as the error page fallback for Vue Router history mode.
Deploy an MCP Server to CloudBase Run
Write an MCP Server with @modelcontextprotocol/sdk + Hono that supports Streamable HTTP transport, package it with a multi-stage Dockerfile, deploy it to CloudBase Run via tcb cloudrun deploy, and connect Cursor / Claude Code / Windsurf directly via URL.