Skip to main content

3 docs tagged with "cloud-run"

View All Tags

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 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.