Home / Servers / Vercel API / create_deployment

Create a new deployment

An MCP tool from the Vercel API server, hosted on mcp.hjlabs.in.

Create a new deployment Creates a new deployment for the authenticated team or user. For non-git deployments, upload files first via the file upload API, then reference them here by SHA — or inline small files directly in… [POST /v13/deployments]

Name on the gateway: vercel_api__create_deployment · may change things.

Parameters

NameTypeDescription
forceNew0 | 1Forces a new deployment even if there is a previous similar deployment. Set to…
skipAutoDetectionConfirmation0 | 1Set to 1 to skip framework auto-detection and proceed without confirmation. By…
teamIdstringThe Team identifier to perform the request on behalf of.
slugstringThe Team slug to perform the request on behalf of.
buildMachineturboSelects a custom build machine for this deployment without changing project…
customEnvironmentSlugOrIdstringThe slug or ID of a custom environment to deploy to, overriding the default…
deploymentIdstringThe ID of an existing deployment to redeploy. All project settings and…
filesarrayThe files to include in the deployment. Each entry is either an inlined file…
gitAccessTokenstringAvailable only to Vercel platform accounts. A read-only GitHub access token…
gitMetadataobjectPopulates initial git metadata for different git providers.
gitSourceobjectDefines the Git Repository source to be deployed. This property can not be…
metaobjectAn object containing the deployment's metadata. Multiple key-value pairs can…
monorepoManagerstringThe monorepo manager that is being used for this deployment. When null is used…
name requiredstringA string with the project name used in the deployment URL
projectstringThe target project identifier in which the deployment will be created. When…
projectSettingsobjectProject settings that will be applied to the deployment. It is required for…
targetstringEither not defined, staging, production, or a custom environment identifier.…
withLatestCommitbooleanWhen true and deploymentId is passed in, the sha from the previous…

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "vercel_api__create_deployment",
  "arguments": {
    "name": "…"
  }
}

Or connect the Vercel API server directly, which lists 472 tools including this one:

Run in your terminal
claude mcp add --transport http hj-vercel-api https://mcp.hjlabs.in/mcp/vercel-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the create a new deployment tool with forceNew set to ….

More from Vercel API