other
Cloudinary MCP Integration for OpenAI Agents SDK
Connect Cloudinary to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Cloudinary to OpenAI Agents SDK
Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.
Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with
--write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.
Cloudinary MCP Config for OpenAI Agents SDK
Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
{
"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 OpenAI Agents
OpenAI Agents 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. |