vercel-api

Inspect and manage Vercel projects, deployments, and environment variables via MCP and REST API.

Updated Jul 31, 2026
One-click install
npx skills add https://github.com/AarnavBaddam/skills --skill vercel-api-aarnavbaddam
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-api
Source: https://github.com/AarnavBaddam/skills/tree/main/vercel-api
Command: npx skills add https://github.com/AarnavBaddam/skills --skill vercel-api-aarnavbaddam

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @vercel/sdk, mcp-handler.

What problem does it solve? Agents often need live access to Vercel account state—projects, deployments, logs, domains, and environment variables—but lack a structured way to authenticate and query these resources without manual token handling. ## Core Features & Use Cases - Connected Vercel App via MCP: OAuth-authenticated access to documentation search, projects, deployments, logs, domains, environment variables, and teams through the Vercel MCP server. - Direct REST API Access: Use @vercel/sdk, curl, or the vercel api CLI command for write operations and endpoints not covered by the MCP server, including drains and Edge Config. - Use Case: Diagnose a failed production deployment by listing recent deployments, inspecting the failure, querying build logs, and verifying environment variables across environments. ## Quick Start Ask the agent to list your recent Vercel deployments and inspect the logs of the most recent failed one.

Frequently Asked Questions about vercel-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I access Vercel deployments and logs from an AI agent?

Connect to the Vercel MCP server at mcp.vercel.com using Streamable HTTP transport. The agent completes an OAuth 2.1 browser flow on first use, then gains structured tools to list deployments, inspect details, and query build and runtime logs.

When should I use the Vercel MCP server vs the REST API?

Use the MCP server for read operations like inspecting projects, deployments, and logs since it handles OAuth automatically. Use the REST API via @vercel/sdk, curl, or the vercel api CLI command for write operations like creating deployments or environment variables.

How do I call the Vercel REST API from the command line?

Use the vercel api CLI command, which reuses the CLI's existing authentication. For example, run vercel api GET /v9/projects to list projects or vercel api POST with a --body flag to create resources, with no token setup required.

Does the Vercel MCP server support write operations?

No, the connected Vercel MCP server is read-only, covering projects, deployments, logs, domains, environment variables, and docs search. For mutations, use the Vercel CLI, the vercel api command, or the REST API directly with a bearer token.

How do I manage Vercel log drains programmatically?

Manage drains through the /v1/drains REST endpoints or the logDrains methods in @vercel/sdk, since no CLI commands exist for drains. You can list, create, test, update, and delete drains that forward logs and analytics to external endpoints.