← All connection guides

How to connect Codex to Vercel

Connect Codex to Vercel, authorize access, and verify the connection using the official setup.

Free guide · Updated

Based on official documentation · Checked

Ask your agent

Copy the prompt and paste it into your assistant.

Quick answer

Connect Codex to Vercel using the official Vercel setup described below, authorize the account, then check access with a read-only request.

Before you start

Install Codex and sign in to an account with access to the intended Vercel workspace or projects. Review the permissions requested during authorization; connecting a tool can expose account data or allow changes depending on the integration.

Add the connection

In a terminal, add the Vercel MCP server to the Codex configuration.

codex mcp add vercel --url https://mcp.vercel.com

Authorize the account

Authorize the connection when prompted. If needed, run codex mcp login vercel and complete the browser sign-in. The CLI and IDE extension share the MCP configuration.

Practice

Check the connection

  1. Ask Codex to list your Vercel projects and report the latest deployment for a named project.

Output: The result matches data visible in your Vercel account.

Troubleshooting and disconnecting

If tools are missing, check the server or plugin status in Codex, restart the session if necessary and confirm you authorized the correct Vercel account. If access is denied, check your workspace membership and permissions. To disconnect, remove or disable the server or plugin in the client and revoke its authorization in Vercel when appropriate. Avoid pasting access tokens into public files.

Sources

Read the primary material