Cofounder Docs

Deploy and Operate

Work on the company's product: import and clone the repo, deploy, and operate its Supabase and Vercel infrastructure.

Once your company has a repository and a deploy target, this is the surface your agent builds on — branches, deploys, migrations, secrets, functions.

The repository

MCPCLIAPI
company_repository_import_startcofounder company repository-import start --repository-full-name owner/repoPOST /cofounder-cli/v1/company/repository/import
company_repository_statuscofounder repo statusGET /cofounder-cli/v1/company/repository/status
company_repository_push_tokencofounder repo push-tokenPOST /cofounder-cli/v1/company/repository/push-token

For a repo you already have, the friendlier spelling is repo import owner/repo — it takes the repo as a positional argument. repo import status tracks the import, repo import continue finishes it after a provider hand-off, and repo import cancel backs it out.

cofounder repo clone                        # clone the bound repo locally
cofounder repo status                       # production branch, open PRs, agent work in flight

Make repo status your first call before starting work — it tells you what other agents already have in flight. repo handoff and repo disconnect cover hand-offs and unbinding.

Deploy

Deploys run against the bound hosting provider — deploy starts one, readiness tells you whether it actually came up, and the deployments list keeps the history:

MCPCLIAPI
company_repository_deploycofounder company repository deployPOST /cofounder-cli/v1/company/repository/deploy
company_repository_deployment_readinesscofounder company repository deployment-readinessGET /cofounder-cli/v1/company/repository/deployments/{deployment_id}/readiness
hosting_deployments_listcofounder hosting deployments listGET /cofounder-cli/v1/company/hosting/deployments
hosting_deployments_getcofounder hosting deployments getGET /cofounder-cli/v1/company/hosting/deployments/{deployment_id}
hosting_deployments_eventscofounder hosting deployments eventsGET /cofounder-cli/v1/company/hosting/deployments/{deployment_id}/events
—cofounder deploy status—

Supabase

The managed Supabase project is a first-class surface — migrations, functions, secrets, and queries all run through your Cofounder login:

MCPCLIAPI
supabase_migrations_listcofounder supabase migration listGET /cofounder-cli/v1/company/database/migrations
supabase_migrations_upcofounder supabase migration upPOST /cofounder-cli/v1/company/database/migrations/up
supabase_functions_deploycofounder supabase functions deployPOST /cofounder-cli/v1/company/database/functions/deploy
supabase_secrets_setcofounder supabase secrets setPOST /cofounder-cli/v1/company/database/secrets

The supabase subtree also covers refs, db query, branches, and storage. Provider credentials stay on the backend, so day-to-day database work needs nothing extra on your machine.

Secrets

App secrets ship to the deploy target without ever touching a local env file:

MCPCLIAPI
secrets_setcofounder secrets set KEYPOST /cofounder-cli/v1/secrets
secrets_listcofounder secrets listGET /cofounder-cli/v1/secrets
secrets_deletecofounder secrets delete KEYDELETE /cofounder-cli/v1/secrets/{key}

Deploy-time secrets and dev-time env files are different things — the distinction and the full mechanics are in Secrets and Environment Files.

Provider credentials

Sometimes you need the provider's own credentials — running vercel by hand, or a CI job. Cofounder mints them:

MCPCLIAPI
hosting_credentials_createcofounder vercel credentialsPOST /cofounder-cli/v1/company/hosting/credentials
—cofounder gh credentialsPOST /cofounder-cli/v1/company/repository/gh-credentials

Next steps

Infrastructure running? Time to reach people: Communicate and Sell.