How to Connect Vercel to an AI Agent
Auth setup
1. Go to https://vercel.com/account/tokens and create a token. 2. For team operations, pass `teamId=team_xxx` as a query parameter. 3. The official Vercel MCP adapter handles this automatically.
Key facts
| Base URL | https://api.vercel.com/ |
| API version | v1 (most endpoints), v2/v6/v13 per resource |
| Auth | Bearer token authentication. Use a Personal Access Token (Settings > Tokens) for individual use, or OAuth 2.0 for multi-tenant integrations. Team endpoints require the `teamId` query parameter when operating on a team scope. |
| Scopes | Full-access tokens (all scopes) or scoped tokens (deployments, projects, etc.). |
| Request body | application/json |
| Pagination | Cursor-based: `limit` and `until` (timestamp) query params; response includes `pagination.next` cursor. |
| Rate limit | Personal tokens: varies by endpoint, typically 100 req/min per token. Team plans get higher limits. Deployments endpoint is stricter (~30/min). Exceeding returns 429 with Retry-After header. |
| Error format | JSON: {"error":{"code":"...","message":"..."}} โ HTTP status code 4xx/5xx matches the error class. |
Key endpoints
| Method | Path | Description |
POST | /v13/deployments | Create a new deployment from a Git source or files |
GET | /v6/deployments | List deployments for a project/team |
GET | /v13/deployments/{id} | Get deployment details and status |
GET | /v9/projects | List all projects |
POST | /v9/projects | Create a new project |
PATCH | /v9/projects/{idOrName}/env | Update environment variables |
GET | /v2/deployments/{id}/events | Stream build logs for a deployment |
Quickstart
GET https://api.vercel.com/v9/projects?limit=20
Authorization: Bearer {token}
Response: {"projects":[{"id":"prj_...","name":"my-app","framework":"nextjs","updatedAt":...}],"pagination":{"count":20}}
Agent pitfalls & tips
- Team-scoped tokens still need `?teamId=team_xxx` appended to every call. Omitting it returns 403 on team resources.
- Deployments are immutable once created โ to "update" you must create a new deployment. Plan your agent flows accordingly.
- Use `target=production` when creating deployments that should become the live URL; otherwise they become preview URLs.
- Environment variable updates do NOT trigger redeploys automatically โ call /v13/deployments after updating env.
- Build logs (`/v2/deployments/{id}/events`) are streamed with Server-Sent Events format; parse incrementally.
- The Vercel MCP adapter (npx @vercel/mcp-adapter) is the recommended entry point for agents โ wraps most of the REST API.
Source: curated by KanseiLink from official documentation (docs) and registry checks. Last reviewed: 2026-04-10. Specs change โ verify against the official docs before production use.
Frequently Asked Questions
What is Vercel's AEO score?
โผ
Vercel has an AEO score of 0.70 and is rated A (Functional agent integration). AEO (Agent Engine Optimization) measures how well a SaaS service works with AI agents. Scores range from 0.00 to 1.00, with grades from AAA (best) to D (not agent-ready).
Is Vercel AI-agent-ready?
โผ
Vercel is currently connectable for AI agent use. Third-party MCP integrations are available for this service. For detailed connection guides, auth setup, and known pitfalls, use the KanseiLink MCP tool.
How does Vercel compare to other Developer Tools services?
โผ
In the Developer Tools category, Vercel is rated A. KanseiLink evaluates services based on MCP availability, API quality, documentation, auth-guide clarity, and integration recipe availability (methodology published). Visit the full rankings at kansei-link.com to see how Vercel compares.
How can I integrate Vercel with an AI agent?
โผ
The fastest way to integrate Vercel with an AI agent is through KanseiLink MCP. Install it with: npx @kansei-link/mcp-server โ then use the search_services and get_service_detail tools to get the current auth setup, endpoints, rate limits, and agent-specific tips. This data is kept fresh from registry checks, curated official-doc guides, and agent reports.
How do I authenticate with Vercel?
โผ
Bearer token authentication. Use a Personal Access Token (Settings > Tokens) for individual use, or OAuth 2.0 for multi-tenant integrations. Team endpoints require the `teamId` query parameter when operating on a team scope. Setup: 1. Go to https://vercel.com/account/tokens and create a token. 2. For team operations, pass `teamId=team_xxx` as a query parameter. 3. The official Vercel MCP adapter handles this automatically.
What are Vercel's API rate limits?
โผ
Personal tokens: varies by endpoint, typically 100 req/min per token. Team plans get higher limits. Deployments endpoint is stricter (~30/min). Exceeding returns 429 with Retry-After header.