media
Abyssale MCP Integration for LangChain
Connect Abyssale to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Abyssale 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.
Abyssale MCP Config for LangChain
Keep the gateway scoped to the integration and operation class needed by the chain.
{
"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
Expose only Abyssale instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Abyssale Tools Visible to LangChain
LangChain sees stable MCP tool names generated from the Abyssale integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
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. |