KosmoKrator

productivity

Vercel MCP Integration for Vercel AI SDK

Connect Vercel to Vercel AI 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 Vercel AI SDK

Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts.

Create an MCP client that starts or connects to the KosmoKrator gateway for the selected integration. The gateway is local, scoped to this integration, and starts with --write=deny so Vercel AI SDK can inspect read-capable tools without receiving write access by default.

Vercel MCP Config for Vercel AI SDK

Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.

{
  "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 Vercel AI SDK

Vercel AI 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