KosmoKrator

productivity

Vercel MCP Integration for Claude Agent SDK

Connect Vercel to Claude Agent SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 7 read 0 write API token auth

Connect Vercel to Claude Agent SDK

Give Claude Agent SDK workflows access to KosmoKrator integrations through a local MCP server.

Add a KosmoKrator stdio MCP server to the Claude Agent SDK options. The gateway is local, scoped to this integration, and starts with --write=deny so Claude Agent SDK can inspect read-capable tools without receiving write access by default.

Vercel MCP Config for Claude Agent SDK

Use a narrow integration list so the agent does not load unrelated tools.

{
  "mcpServers": {
    "kosmokrator-vercel": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=vercel",
        "--write=deny"
      ]
    }
  }
}

Run the Gateway Manually

kosmokrator mcp:serve --integration=vercel --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only Vercel instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

Vercel Tools Visible to Claude Agent SDK

Claude Agent SDK sees stable MCP tool names generated from the Vercel integration catalog.

MCP toolSource functionTypeDescription
integration__vercel__vercel_get_current_user vercel.vercel_get_current_user Read Get the currently authenticated Vercel user profile, including username, email, and plan.
integration__vercel__vercel_get_deployment vercel.vercel_get_deployment Read Get details for a specific Vercel deployment by ID, including status, URL, and build logs.
integration__vercel__vercel_get_project vercel.vercel_get_project Read Get details for a specific Vercel project by ID, including framework, domains, and settings.
integration__vercel__vercel_list_deployments vercel.vercel_list_deployments Read List deployments across your Vercel projects. Filter by project, state, or target.
integration__vercel__vercel_list_domains vercel.vercel_list_domains Read List all domains configured in Vercel, including verification and DNS status.
integration__vercel__vercel_list_projects vercel.vercel_list_projects Read List all Vercel projects. Returns project names, IDs, framework, and deployment status.
integration__vercel__vercel_list_teams vercel.vercel_list_teams Read List all Vercel teams you belong to, including membership roles and member counts.

Related Vercel Pages