MetorialDocs

Set up Vercel in Metorial for Claude, ChatGPT and Cursor

Share Vercel with your team in Claude, ChatGPT and Cursor through Metorial: OAuth or access token sign-in, 18 tools (5 read-only).

To give your team Vercel in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Vercel integration in a Metorial portal, and each person signs in to Vercel with their own account. Agents can manage web application deployments, projects, and infrastructure on Vercel's cloud platform. The integration has 18 tools, 5 read-only, 11 write and 2 destructive, plus 3 triggers.

What you'll learn

  • How an admin shares Vercel in a portal and how each person connects
  • The 4 OAuth scopes Vercel can request, and what each one allows
  • How to keep the 5 read-only tools and reject the other 13

Before you start

Sign-in methods

MethodTypeWhat a person provides
Access TokenAPI tokentoken
Vercel OAuth (default)OAuthSigns in to Vercel

The portal and metorial setup use Vercel OAuth unless someone picks another method.

Access Token

To connect, a person enters:

  • token: Vercel Access Token (Bearer token)

Vercel OAuth

People sign in to Vercel and approve the scopes you allow. The integration can request:

ScopeNameWhat it allows
openidOpenIDRequired for user identification via ID Token
emailEmailAccess to the user's email address
profileProfileAccess to the user's basic profile information
offline_accessOffline AccessIssue a refresh token for long-lived access

Setup settings

Whichever method you pick, setup also asks for:

  • teamId (optional): Vercel Team ID. When provided, all API requests will be scoped to this team.

Use your own Vercel OAuth app

With your own OAuth app, people see your company's name on the Vercel consent screen, and the client ID and secret belong to you.

Start the credentials in Metorial

In the dashboard, select Settings, then Organization Settings. Under Integrations and MCP, select Provider Auth, then Create Auth Credentials. Choose Vercel and copy the Redirect URI.

Register the app with Vercel

Create an OAuth app or client in Vercel and add the redirect URI from Metorial as its redirect or callback URL.

Finish in Metorial

Copy the app's client ID and client secret. Back in Metorial, enter a Name, the Client ID and the Client Secret, review Scopes, and select Create. Then pick these credentials for the Vercel integration.

Admin: share Vercel in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose Vercel. Under Auth Method, keep Vercel OAuth or pick another. For how members connect, choose Each person connects, so everyone signs in to Vercel as themselves.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Vercel.

Choose who gets it

Add the access groups that should see Vercel. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user Vercel integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search vercel

Employee: connect Vercel

In the portal

Open Vercel in the catalog

Sign in to your portal and open Vercel. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. A Vercel sign-in tab opens. Sign in and approve the permissions listed.

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search vercel
metorial setup <catalog-item-id>

catalog search prints the catalog item ID. metorial setup uses Vercel OAuth. To connect with Access Token instead, find its ID with metorial catalog get <catalog-item-id> and add --auth-method <auth-method-id>.

Add it to your AI client

metorial install adds your Vercel connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list vercel
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 5 read-only tools, such as get_project and list_projects, and lose the 11 write tools, such as manage_dns or manage_teams, and the 2 destructive tools, such as delete_project or cancel_deployment.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list vercel
metorial tools <integration-id>
metorial call <integration-id> list_projects -d '{}'

metorial tools lists the 18 tools, minus any you rejected. list_projects takes no input. It lists Vercel projects for the authenticated user or team.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (5)

  • get_deployment: Retrieve detailed information about a specific deployment by its ID or URL. Needs deploymentIdOrUrl.
  • list_projects: List Vercel projects for the authenticated user or team.
  • get_project: Retrieve detailed information about a Vercel project by its ID or name. Needs projectIdOrName.
  • list_deployments: List deployments for the authenticated user or team.
  • get_deployment_events: Retrieve deployment build events and logs for a Vercel deployment. Needs deploymentIdOrUrl.

Write tools (11)

  • update_project: Update settings for an existing Vercel project. Needs projectIdOrName.
  • manage_edge_config: Create, list, and manage Vercel Edge Config stores and their items. Needs action.
  • manage_domains: List, add, or remove domains from your Vercel account or a specific project. Needs action.
  • manage_dns: List, create, update, or delete DNS records for a domain managed in Vercel. Needs action and domain.
  • manage_teams: List teams, get team details, and manage team members. Needs action.
  • manage_env_vars: List, create, update, or delete environment variables for a Vercel project. Needs action and projectIdOrName.
  • promote_deployment: Promote a deployment to production by pointing all production domains to it. Needs projectIdOrName and deploymentId.
  • create_project: Create a new Vercel project. Needs name.
  • create_deployment: Trigger a new deployment for a Vercel project. Needs name.
  • manage_aliases: List, retrieve, assign, or delete Vercel deployment aliases. Needs action.
  • manage_deploy_hooks: List, create, or delete Vercel Deploy Hooks for a Git-connected project. Needs action and projectIdOrName.

Destructive tools (2)

  • delete_project: Permanently delete a Vercel project and all its deployments. Needs projectIdOrName.
  • cancel_deployment: Cancel an in-progress deployment that is currently building. Needs deploymentId.

Triggers

Vercel has 3 triggers, which fire on events in Vercel:

  • deployment_events: Fires when deployment lifecycle events occur: created, ready, succeeded, promoted, error, canceled, or cleanup.
  • domain_events: Fires when account-level domain events occur: creation, DNS changes, certificate lifecycle, renewal, and transfer events.
  • project_events: Fires when project lifecycle events occur: created, removed, renamed, domain changes, and environment variable changes.

Next steps