One-click container deploy of a Naftiko Framework capability that wraps the Youtube API. Backed by mocks at mocks.naftiko.net — no upstream credentials required.
The Cloudflare button gives you the full three-protocol surface (MCP + REST + SKILL) via the bundled Worker proxy. The other four buttons expose the MCP server on port 3001 directly. See Per-platform behavior below.
| Adapter | Path | Namespace | Tools / resources |
|---|---|---|---|
| MCP | POST /mcp |
youtube-sandbox-tools |
3 starter tools |
| REST | /api/... |
youtube-sandbox-api |
3 REST resources mirroring the MCP tools |
| SKILL | /skill |
youtube-sandbox-skills |
One skill group bundling the starter tools |
Backed by:
- Youtube API at
mocks.naftiko.net/rest/youtube-analytics-api/2.0.0— hosted innaftiko/sandboxes - 1 additional OpenAPI(s) hosted in
naftiko/sandboxesbut not yet wired into this capability
The MCP server requires a bearer token. The deploy ships a dummy sk-mcp-YYYYYYYYYYYY so you can wire it into a client immediately. Real deployments swap before redeploying.
This capability bootstraps 3 representative GET operations from the primary OpenAPI (youtube-analytics-api). To expose more operations, edit capability/shared/youtube-analytics-api-consumes.yml and capability/youtube-sandbox.naftiko.yml — add a resource per OpenAPI path and a tool per operation.
| Path | What it is |
|---|---|
capability/youtube-sandbox.naftiko.yml |
The Naftiko Framework capability YAML |
capability/shared/youtube-analytics-api-consumes.yml |
Imported consumes block — points at the central Microcks mock |
capability/shared/secrets.yaml |
Dummy MCP server bearer token |
Dockerfile |
Builds on ghcr.io/naftiko/framework:latest, copies capability/ into /app/ — read by every platform |
wrangler.toml |
Cloudflare-only — Durable Object–backed YoutubeSandboxContainer |
src/index.ts |
Cloudflare-only — Worker proxy fronting the three engine ports |
render.yaml |
Render-only — Blueprint that pins PORT=3001 to the Dockerfile |
Cloud Run, Railway, and Replit auto-detect the Dockerfile and need no extra config in the repo.
| Button | Public surface | Notes |
|---|---|---|
| Cloudflare | /mcp + /api/... + /skill + landing page on / |
Worker proxies three ports through one hostname. |
| Render | MCP only on PORT=3001 |
Free tier with cold-starts. |
| Google Cloud Run | MCP only on PORT=3001 |
Scales to zero. |
| Railway | MCP only on the assigned hostname | Auto-detects Dockerfile. |
| Replit | MCP only inside the Replit container | Best for "kick the tires" exploration. |
npm install
npm run dev- OpenAPI source: https://github.com/naftiko/sandboxes/blob/main/specs/youtube-analytics-openapi-original.yml
- Naftiko Framework: https://github.com/naftiko/framework
- Mock host: https://mocks.naftiko.net