Skip to main content
Glama
dnshtm9

kenari-media-mcp

by dnshtm9

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
KENARI_API_KEYYesYour Kenari API key (format: kn-...). Required for everything except list_media_models.
KENARI_BASE_URLNoBase URL for the Kenari API. Trailing slashes are trimmed.https://kenari.id/v1
KENARI_OUTPUT_DIRNoDirectory where generated media files are saved (created recursively). Absolute file paths are returned../kenari-output
KENARI_ALLOW_VIDEONoSet to '0' or 'false' to disable all video tools with a clear error.allow
KENARI_MAX_IMAGE_NNoPreflight cap for the 'n' parameter in image generation.4
KENARI_MAX_VIDEO_DURATIONNoPreflight cap for the 'duration' parameter (seconds) in video generation.15
KENARI_MAX_COST_IDR_PER_CALLNoOptional per-call IDR ceiling for image tools (best-effort catalog lookup).

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_media_modelsA

List Kenari media-capable models (image/video). Public, no key needed.

generate_imageA

Generate image(s) via POST /v1/images/generations. Saves PNG/JPG to KENARI_OUTPUT_DIR and returns absolute path(s). Costs IDR per image — check list_media_models first.

edit_imageA

Edit a local image via POST /v1/images/edits (multipart: image, mask?, prompt, model, n?, size?, background?). background=transparent is rejected (use generate_image instead).

create_videoA

Start a Kenari video job via POST /v1/videos/generations. Returns job id; poll with get_video_status/wait_for_video. Costs money.

extend_videoA

Extend a finished video via POST /v1/videos/extensions {model, video:{url}, prompt?, duration?}. source is a job id or https URL — local paths are rejected before any HTTP call.

get_video_statusA

GET /v1/videos/{id}. Reports queued/rendering/done/failed/expired. Auto-downloads to KENARI_OUTPUT_DIR when done.

wait_for_videoA

Poll GET /v1/videos/{id} every 5s (backoff cap 15s) until done/failed/expired or timeout (default 20 min). Auto-downloads when done. Timeout returns still_rendering with isError=false.

download_videoA

Download finished video bytes via GET /v1/videos/{id}/content to KENARI_OUTPUT_DIR. Errors with still_rendering while the job renders.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dnshtm9/kenari-media-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server