KosmoKrator

marketing

Beamer MCP Integration for Vercel AI SDK

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

6 functions 5 read 1 write API key auth

Connect Beamer 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.

Beamer MCP Config for Vercel AI SDK

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

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

Run the Gateway Manually

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

Why Use KosmoKrator Here

Scoped tools

Expose only Beamer 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.

Beamer Tools Visible to Vercel AI SDK

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

MCP toolSource functionTypeDescription
integration__beamer__beamer_list_posts beamer.beamer_list_posts Read List changelog posts and announcements from Beamer. Supports pagination with limit and page, and filtering by status (published, draft, scheduled).
integration__beamer__beamer_get_post beamer.beamer_get_post Read Retrieve a single Beamer changelog post by its ID. Returns the full post including title, content, date, category, and metadata.
integration__beamer__beamer_create_post beamer.beamer_create_post Write Create a new changelog post or announcement in Beamer. Provide a title and content (HTML supported). Optionally set a category and scheduled publication date.
integration__beamer__beamer_list_comments beamer.beamer_list_comments Read List all comments on a specific Beamer post. Returns comment text, author info, and timestamps.
integration__beamer__beamer_get_current_user beamer.beamer_get_current_user Read Get the profile of the currently authenticated Beamer user. Returns name, email, role, and account details. Useful for verifying credentials.
integration__beamer__beamer_list_categories beamer.beamer_list_categories Read List all post categories in your Beamer account. Returns category IDs and names for use when creating or filtering posts.

Related Beamer Pages