KosmoKrator

media

Abyssale MCP Integration for Claude Agent SDK

Connect Abyssale to Claude Agent 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 Claude Agent SDK

Give Claude Agent SDK workflows access to KosmoKrator integrations through a local MCP server.

Add a KosmoKrator stdio MCP server to the Claude Agent SDK options. The gateway is local, scoped to this integration, and starts with --write=deny so Claude Agent SDK can inspect read-capable tools without receiving write access by default.

Abyssale MCP Config for Claude Agent SDK

Use a narrow integration list so the agent does not load unrelated tools.

{
  "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 Claude Agent SDK

Claude Agent 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