KosmoKrator

productivity

Vercel MCP Integration for LangChain

Connect Vercel to LangChain 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 LangChain

Bridge LangChain agents to local KosmoKrator integration tools through MCP or headless CLI calls.

Use the MCP gateway when the agent should discover tools, or wrap kosmo integrations:call for fixed chains. The gateway is local, scoped to this integration, and starts with --write=deny so LangChain can inspect read-capable tools without receiving write access by default.

Vercel MCP Config for LangChain

Keep the gateway scoped to the integration and operation class needed by the chain.

{
  "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 LangChain

LangChain 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