Telbase

v0.14.0-beta.2
ai.telbase/deploy Checked 4 hours ago Published 9 months ago

Deploy any web project with one command.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

deploy

Deploy an application to production. Auto-detects framework (Next.js, Vite, Django, etc.) and database (Prisma, Drizzle). Auto-selects optimal infrastructure: Vercel for frontend/Node/Python, GCP Cloud Run for Docker/Django/Go. Database auto-provisioned: PostgreSQL on Neon/Cloud SQL, SQLite on Turso. Returns JSON with url, status, and detection context (ormType, confidence, databaseProvider). On build failure, returns suggestions[] array — each has type: cli_retry (call deploy again with suggested parameters), code_change (modify source file then redeploy), or user_action (tell user what to…

ParameterTypeDescription
auth_emailsnull | arrayEmail addresses to protect app with (Email OTP login).
branchstringGit branch to deploy. Default main.
database_providerstringForce database provider: neon or turso. Auto-detected from ORM if omitted.
directorystringPath to project directory. Defaults to current working directory.
no_authbooleanDisable authentication.
no_databasebooleanDeploy without database provisioning or detection. Use when project has no database.
no_storagebooleanSkip file storage provisioning.
providerstringForce compute provider: vercel or gcp. Auto-detected if omitted.
repostringGitHub repository URL (e.g. https://github.com/user/repo). Omit for local file deploy.
root_dirstringSubdirectory for monorepos containing the app.
storagebooleanProvision file storage (R2) for uploads.
waitnull | booleanWait for deploy to complete and return final status. Default true.

get_deploy_logs

Get build or application logs for a deploy. Use log_type=build for build output (compilation errors, dependency issues), log_type=container for runtime logs (crashes, request errors). Build logs are most useful for diagnosing deploy failures.

ParameterTypeDescription
deploy_id *stringThe deploy ID to get logs for.
log_typestringLog type: build or container. Default build.

get_deploy_status

Get current status of a deploy. Returns status (building, live, failed, cancelled), url, detection context, and on failure: errorCode, errorMessage, extractedErrors[] with actionable suggestions, and buildLogs. If status is not terminal (building), poll again after a few seconds.

ParameterTypeDescription
deploy_id *stringThe deploy ID to check status for.

list_projects

List all projects in the current organization. Returns array of projects with id, name, slug, status, url, provider, and databaseProvider. Use to find project IDs for other tools.

set_env_vars

Set environment variables on a project. Use before deploying if the app needs DATABASE_URL, API keys, or external service config. Variables persist across deploys. For secrets, values are encrypted at rest.

ParameterTypeDescription
project_id *stringThe project ID to set variables on.
vars *objectKey-value pairs of environment variables to set.