servers update
Update server name, description, branch, or build settings.
mcp-use servers update <id-or-slug> [flags]At least one flag is required:
| Flag | Description |
|---|---|
--name <name> | Rename the server. |
--description <text> | Update the description. |
--branch <name> | Change the production branch. |
--build-command <cmd> | Override the build command (pass "" to clear). |
--start-command <cmd> | Override the start command (pass "" to clear). |
--root-dir <path> | Repo subdirectory to build from (pass "" to reset to the repo root). |
--watch-paths <glob...> | Only auto-deploy when matching files change (monorepos; pass "" to clear the filter). |
--deploy-branches <glob...> | Branch globs (besides the production branch) allowed to auto-deploy (pass "" to allow all). |
--wait-for-ci / --no-wait-for-ci | Hold auto-deploys until other GitHub check runs pass. |
Changes that affect the running deployment take effect on the next deploy; use deploy or deployments restart.
Monorepo example
Scope an existing server so only its own subtree and shared code trigger auto-deploys:
mcp-use servers update my-app \
--watch-paths "apps/my-app/**" "packages/shared/**" \
--deploy-branches "release/*"