other
Cloudinary MCP Integration for Claude Agent SDK
Connect Cloudinary to Claude Agent SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Cloudinary 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.
Cloudinary MCP Config for Claude Agent SDK
Use a narrow integration list so the agent does not load unrelated tools.
{
"mcpServers": {
"kosmokrator-cloudinary": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=cloudinary",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=cloudinary --write=deny Why Use KosmoKrator Here
Expose only Cloudinary 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.
Cloudinary Tools Visible to Claude Agent SDK
Claude Agent SDK sees stable MCP tool names generated from the Cloudinary integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__cloudinary__cloudinary_upload | cloudinary.cloudinary_upload | Write | Upload an image to Cloudinary. Provide a file URL or base64 data URI, an optional public ID, and an optional folder path. Returns the uploaded asset details. |
integration__cloudinary__cloudinary_list_resources | cloudinary.cloudinary_list_resources | Read | List media resources in your Cloudinary cloud. Filter by resource type (image, video, raw) and prefix. Supports pagination with max_results and next_cursor. |
integration__cloudinary__cloudinary_get_resource | cloudinary.cloudinary_get_resource | Read | Get details of a specific Cloudinary resource by its type and public ID. Returns full asset metadata including dimensions, format, URL, tags, and derived resources. |
integration__cloudinary__cloudinary_delete_resource | cloudinary.cloudinary_delete_resource | Write | Delete a media resource from Cloudinary by its type and public ID. This permanently removes the asset and all its derived resources. |
integration__cloudinary__cloudinary_list_folders | cloudinary.cloudinary_list_folders | Read | List all folders in your Cloudinary cloud. Returns folder names and paths with pagination support. |
integration__cloudinary__cloudinary_get_current_user | cloudinary.cloudinary_get_current_user | Read | Get the currently authenticated Cloudinary user profile. Returns user name, email, and account details. Use this to verify that credentials are working. |