KosmoKrator

data

Builder.io MCP Integration for LangChain

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

Builder.io MCP Config for LangChain

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

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

LangChain 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