Skip to main content
Glama

Create Source Deployment

nexusai_deploy_source
Destructive

Deploy from a Git repository, optionally a sub-folder (rootDir), to NEXUS AI managed infrastructure or a connected AWS, Google Cloud or Azure account. Can add or attach a database and sidecar services. Returns the deployment ID and status.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
regionNo
envVarsNoNon-secret configuration only. Configure passwords, API keys, tokens, and credential-bearing URLs in the authenticated NEXUS AI dashboard, never in chat.
repoUrlYesGit repository URL without embedded credentials. For private repositories, configure access in NEXUS AI and pass repoSecretName.
rootDirNoFolder inside the repo to deploy, e.g. "backend" or "apps/api". Use it for repos with separate frontend and backend apps; deploy each folder as its own deployment. Defaults to automatic detection from the repo root.
createDbNoProvision a managed cloud database paired with the deploy provider (Cloud Run→Cloud SQL, App Runner→RDS, Container Apps→Azure Database) and inject its connection env. Requires a cloud provider.
dbRegionNoCloud region for createDb (defaults to the deploy region).
memoryMbNoContainer RAM in MB for the NEXUS AI Docker provider. Defaults to 512. Values above 512 require the Pro plan or higher (up to 4096). Use it for apps that build or run in a memory-heavy way.
providerNodocker|gcp_cloud_run|aws_app_runner|azure_container_apps
servicesNoServices to attach at deploy time, matching the CLI's --services flag (e.g. ["postgresql","redis"]). On the docker provider these run as Docker sidecar containers with connection env (DATABASE_URL, REDIS_URL, etc.) auto-injected. On a cloud provider, a postgres/mysql entry is provisioned as a managed database instead (same as createDb); redis/mongodb are not supported on cloud providers.
frameworkNo
outputDirNo
requestIdNo
dockerfileNoDockerfile to use: raw contents, a repo-relative path (read after clone), or a GitHub file URL
repoBranchNo
environmentNoDeployment environment. Defaults to DEVELOPMENT.
managedDbIdNoAttach an existing managed database by ID instead of creating one. Its connection env (DATABASE_URL, etc.) is injected into the first deploy.
buildCommandNo
startCommandNo
installCommandNo
repoSecretNameNoOptional secret name containing private repo token.
dbEngineVersionNoEngine version for createDb (default: postgres 17 / mysql 8.0).
autoDestroyHoursNo
healthCheckEnabledNoSet to false to disable health checks. Defaults to true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / provider / description
      Previous value: -"docker|gcp_cloud_run|aws_ecs_fargate|azure_container_apps"New value: +"docker|gcp_cloud_run|aws_app_runner|azure_container_apps"
  2. Changed2 schema fields changed
    • addedInput schema / properties / envVars / description
      Added value: +"Non-secret configuration only. Configure passwords, API keys, tokens, and credential-bearing URLs in the authenticated NEXUS AI dashboard, never in chat."
    • changedInput schema / properties / repoUrl / description
      Previous value: -"Git repository URL."New value: +"Git repository URL without embedded credentials. For private repositories, configure access in NEXUS AI and pass repoSecretName."
  3. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.