Vercel capability
Inspect a Vercel deployment
Look up a deployment by ID or URL to check its state and metadata. Use the CLI or the Vercel MCP tool when you want those details in your terminal or agent.
Documentation reviewed
Ways to do it
API
GET /v13/deployments/{idOrUrl}
Return deployment metadata, including its state, using the deployment’s ID or hostname.
- Requirements
- Vercel API access token and the deployment ID or hostname. Supply team scope when needed.
- Limitations
- Each request returns the current state. A deployment can change state after the response.
CLI
vercel inspect <deployment>
Show the deployment’s state and details. Add --wait to wait for completion.
- Requirements
- Vercel CLI authenticated with access to the deployment and its ID or URL.
- Limitations
- With --wait, the CLI stops waiting at its timeout if the deployment is still in progress.
Example
vercel inspect "$DEPLOYMENT_URL"MCP
get_deployment
Retrieve deployment details in an agent tool call.
- Requirements
- An authenticated Vercel MCP client with access to the deployment. Provide its ID or URL.
- Limitations
- One call retrieves one deployment. The selected team affects which deployment the tool can access.