Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
mastra-deploy - Skill - OpenSmartRoute
Skillv1.0.0
mastra-deploy
Mastra Deployment and Server guide - server adapters, authentication, middleware, client SDK, cloud providers, and production deployment. Covers registerApiRoute custom endpoints, server middleware, C
Imported from artsmc/pi-dev-agents (skills/mastra-deploy/SKILL.md). Install upstream with npx skills add artsmc/pi-dev-agents --skill mastra-deploy. Copyright stays with the author.
Mastra Deployment and Server Configuration
Comprehensive guide for deploying Mastra applications. Covers MastraServer with adapter packages (@mastra/express, @mastra/hono, @mastra/fastify, @mastra/koa), authentication providers, custom API routes, middleware, MastraClient SDK, and cloud deployment (Vercel, Cloudflare, Netlify, AWS, Azure, Digital Ocean).
Usage
/mastra-deploy
Provides context for:
MastraServer from adapter packages (not createServer)
Copy one of these into your project. Installing also returns the manifest and these snippets.
# after Install: the listing is in your workspace's routing pool - a plan picks it for its slot
curl -s -X POST https://api.opensmartroute.ai/api/v1/route -H 'Authorization: Bearer $OSR_API_KEY' -H 'Content-Type: application/json' -d '{"text": "...", "plan": true}'
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.
artsmc-pi-dev-agents-mastra-deploy.ocm.jsonjson
{
"ocm": "1",
"id": "artsmc-pi-dev-agents-mastra-deploy",
"kind": "skill",
"name": "mastra-deploy",
"description": "Mastra Deployment and Server guide - server adapters, authentication, middleware, client SDK, cloud providers, and production deployment. Covers registerApiRoute custom endpoints, server middleware, CORS config, MastraClient calls from Next.js/React frontends, auth providers, and cloud/serverless targets (Vercel, Cloudflare, AWS, Azure).",
"publisher": "artsmc",
"version": "1.0.0",
"capabilities": {
"domains": [
"general"
],
"tags": [
"skill-md",
"github"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Mastra Deployment and Server guide - server adapters, authentication, middleware, client SDK, cloud providers, and production deployment. Covers registerApiRoute custom endpoints, server middleware, CORS config, MastraClient calls from Next.js/React frontends, auth providers, and cloud/serverless targets (Vercel, Cloudflare, AWS, Azure)."
],
"primary": false,
"metadata": {
"source": {
"provider": "github",
"repository": "https://github.com/artsmc/pi-dev-agents",
"path": "skills/mastra-deploy/SKILL.md",
"ref": "8537a1fdcb88a832636f168bfb6849058e5042cc",
"url": "https://github.com/artsmc/pi-dev-agents/blob/8537a1fdcb88a832636f168bfb6849058e5042cc/skills/mastra-deploy/SKILL.md",
"key": "artsmc/pi-dev-agents/skills/mastra-deploy/SKILL.md"
}
},
"instructions": "# Mastra Deployment and Server Configuration\n\nComprehensive guide for deploying Mastra applications. Covers MastraServer with adapter packages (@mastra/express, @mastra/hono, @mastra/fastify, @mastra/koa), authentication providers, custom API routes, middleware, MastraClient SDK, and cloud deployment (Vercel, Cloudflare, Netlify, AWS, Azure, Digital Ocean).\n\n## Usage\n\n```bash\n/mastra-deploy\n```\n\nProvides context for:\n- `MastraServer` from adapter packages (not `createServer`)\n- Server adapters: Express, Hono, Fastify, Koa\n- Auth: `MastraAuthBetterAuth`, `MastraAuthClerk`, `MastraAuthSupabase`\n",
"cost": {
"context_tokens": 204
}
}
Fetch it by URL: GET /api/v1/registry/artsmc-pi-dev-agents-mastra-deploy/manifest?version=1.0.0
Reviews
Star ratings from people who tried it. One review per account; edit yours any time.
No reviews yet. Install it, try it, and be the first to rate it.