KosmoKrator

media

Abyssale MCP Integration for Vercel AI SDK

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

7 functions 6 read 1 write Bearer token auth

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

Abyssale MCP Config for Vercel AI SDK

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

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

Run the Gateway Manually

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

Why Use KosmoKrator Here

Scoped tools

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

Abyssale Tools Visible to Vercel AI SDK

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

MCP toolSource functionTypeDescription
integration__abyssale__abyssale_list_generations abyssale.abyssale_list_generations Read List image generation jobs from Abyssale. Returns a paginated list of generations, optionally filtered by status (e.g., "finished", "processing", "failed").
integration__abyssale__abyssale_get_generation abyssale.abyssale_get_generation Read Get details of a specific image generation from Abyssale, including its status, output URLs, and applied modifications.
integration__abyssale__abyssale_create_generation abyssale.abyssale_create_generation Write Generate images from an Abyssale template. Specify the template, one or more output format IDs, and element modifications (text, images, colors) to customize the output.
integration__abyssale__abyssale_list_templates abyssale.abyssale_list_templates Read List available design templates from Abyssale. Returns a paginated list of templates with their IDs and names.
integration__abyssale__abyssale_get_template abyssale.abyssale_get_template Read Get details of a specific Abyssale template, including its available formats, elements, and layers that can be modified.
integration__abyssale__abyssale_list_formats abyssale.abyssale_list_formats Read List available output formats from Abyssale. Formats define the size and dimensions of generated images (e.g., 1200x628 Facebook post, 1080x1080 Instagram square).
integration__abyssale__abyssale_get_current_user abyssale.abyssale_get_current_user Read Get the profile of the currently authenticated Abyssale user. Useful for verifying API credentials and retrieving account information.

Related Abyssale Pages