KosmoKrator

data

Builder.io MCP Integration for Vercel AI SDK

Connect Builder.io to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 6 read 1 write API key auth

Connect Builder.io 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.

Builder.io MCP Config for Vercel AI SDK

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

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

Run the Gateway Manually

kosmokrator mcp:serve --integration=builder-io --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only Builder.io 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.

Builder.io Tools Visible to Vercel AI SDK

Vercel AI SDK sees stable MCP tool names generated from the Builder.io integration catalog.

MCP toolSource functionTypeDescription
integration__builder_io__builder_io_list_models builder-io.builder_io_list_models Read List all models in the Builder.io space. Optionally control pagination with limit and offset. Returns model IDs, names, kinds, and metadata.
integration__builder_io__builder_io_get_model builder-io.builder_io_get_model Read Get detailed information about a specific Builder.io model by its ID or name. Returns the model definition including fields, kind, and metadata.
integration__builder_io__builder_io_list_content builder-io.builder_io_list_content Read List content entries for a specific Builder.io model. Optionally control pagination with limit and offset, or filter with a query string. Returns entry IDs, names, and data.
integration__builder_io__builder_io_get_content builder-io.builder_io_get_content Read Get detailed information about a specific Builder.io content entry by its ID. Returns the full entry data, model reference, and timestamps.
integration__builder_io__builder_io_create_content builder-io.builder_io_create_content Write Create a new content entry in Builder.io for a given model. Provide the model name and a JSON object with the content data. The entry is created as a draft by default.
integration__builder_io__builder_io_list_symbols builder-io.builder_io_list_symbols Read List all symbols (reusable components) in the Builder.io space. Optionally control pagination with limit and offset. Returns symbol IDs, names, and metadata.
integration__builder_io__builder_io_get_current_user builder-io.builder_io_get_current_user Read Get information about the currently authenticated Builder.io user. Returns the user's name, email, and account details.

Related Builder.io Pages