vercel-api
БесплатноБез исполняемых скриптовНе проверенVercel app and REST API expert guidance. Use when the agent needs live access to Vercel projects, deployments, environment variables, domains, logs, or…
от openai★ 8 494 звезды на GitHubОб этом скилле
Vercel API — Connected App & REST API
You are an expert in the Vercel platform APIs. This plugin uses the connected Vercel app for live, authenticated access to Vercel resources, and this skill also covers the direct REST API when connector coverage is not enough.
Connected Vercel App
The plugin's .app.json points Codex at the connected Vercel app. The linked Vercel documentation still describes the underlying MCP server and REST API, and this skill uses that documentation where it helps explain capabilities and fallback paths.
Connection
URL: https://mcp.vercel.com
Transport: Streamable HTTP
Auth: OAuth 2.1 (automatic — agent is prompted to authorize on first use)
On first connection the agent will open a browser-based OAuth flow to grant read access to your Vercel account. Subsequent sessions reuse the stored token.
Available MCP Tools
The connected Vercel app exposes these tool categories:
| Category | Capabilities |
|---|---|
| Documentation | Search and navigate Vercel docs, Next.js docs, AI SDK docs |
| Projects | List projects, get project details, view project settings |
| Deployments | List deployments, inspect deployment details, view build output |
| Logs | Query deployment logs, function invocation logs, build logs |
| Domains | List domains, check domain configuration and DNS status |
| Environment Variables | List env vars per project and environment |
| Teams | List teams, view team members and settings |
Usage Patterns
Diagnose a failed deployment
1. List recent deployments → find the failed one
2. Inspect deployment → get error summary
3. Query build logs → identify root cause
4. Cross-reference with vercel-functions skill for runtime fixes
Audit project configuration
1. Get project details → check framework, build settings, root directory
2. List environment variables → verify required vars are set per environment
3. List domains → confirm production domain is correctly assigned
4. Check deployment logs → look for runtime warnings
Search documentation
1. Search Vercel docs for a topic → get relevant pages
2. Read specific doc page → extract configuration examples
3. Cross-reference with bundled skills for deeper guidance
Debug function performance
1. Query function logs → find slow invocations
2. Inspect deployment → check function region, runtime, memory
3. Cross-reference with vercel-functions skill for optimization patterns
Deploying Your Own MCP Server
Use the mcp-handler package (renamed from @vercel/mcp-adapter) to build and deploy custom MCP servers on Vercel with Next.js, Nuxt, or SvelteKit:
npm install mcp-handler
MCP servers deployed on Vercel use Streamable HTTP transport (replaced SSE in March 2025 MCP spec) — cuts CPU usage vs SSE with no persistent connections required. Used in production by Zapier, Composio, Vapi, and Solana.
See Deploy MCP servers to Vercel and GitHub: mcp-handler.
REST API (Direct Access)
When the MCP server doesn't cover a use case (or for write operations), use the Vercel REST API directly with @vercel/sdk or curl.
Authentication
# Bearer token auth (personal token or team token)
curl -H "Authorization: Bearer $VERCEL_TOKEN" https://api.vercel.com/v9/projects
// @vercel/sdk
import { Vercel } from '@vercel/sdk';
const vercel = new Vercel({ bearerToken: process.env.VERCEL_TOKEN });
Key Endpoints
| Endpoint | Method | Purpose |
|---|---|---|
/v9/projects |
GET | List all projects |
/v9/projects/:id |
GET | Get project details |
/v13/deployments |
GET | List deployments |
/v13/deployments |
POST | Create a deployment |
/v13/deployments/:id |
GET | Get deployment details |
/v9/projects/:id/env |
GET | List environment variables |
/v9/projects/:id/env |
POST | Create environment variable |
/v6/domains |
GET | List domains |
/v6/domains |
POST | Add a domain |
/v1/edge-config |
GET | List Edge Configs |
/v1/firewall |
GET | List firewall rules |
/v1/drains |
GET | List all drains |
/v1/drains |
POST | Create a drain |
/v1/drains/:id/test |
POST | Test a drain |
/v1/drains/:id |
PATCH | Update a drain |
/v1/drains/:id |
DELETE | Delete a drain |
/v3/deployments/:id/events |
GET | Stream runtime logs |
SDK Examples
List deployments
import { Vercel } from '@vercel/sdk';
const vercel = new Vercel({ bearerToken: process.env.VERCEL_TOKEN });
const { deployments } = await vercel.deployments.list({
projectId: 'prj_xxxxx',
limit: 10,
});
for (const d of deployments) {
console.log(`${d.url} — ${d.state} — ${d.created}`);
}
Manage environment variables
// List env vars
const { envs } = await vercel.p
Установить vercel-api в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл vercel-api?
Vercel app and REST API expert guidance. Use when the agent needs live access to Vercel projects, deployments, environment variables, domains, logs, or documentation through the connected Vercel app or REST API.
Как установить скилл vercel-api?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл vercel-api запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic