/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: ef64a6ee46d7 */ import { Request as ExpressRequest, Response as ExpressResponse, } from "express"; import { toolNames } from "./tool-names.js"; // Cloudflare-specific wrapper export function landingPage(req: Request): Response { const origin = new URL(req.url).origin; return new Response(landingPageHTML(origin), { headers: { "Content-Type": "text/html" }, }); } // express wrapper export function landingPageExpress(req: ExpressRequest, res: ExpressResponse) { const proto = req.get("x-forwarded-proto")?.split(",")[0]?.trim() || req.protocol; const host = req.get("host"); if (!host) { res.status(400).send("Missing Host header"); return; } res.type("html").send(landingPageHTML(`${proto}://${host}`)); } export function landingPageHTML(origin: string): string { const o = origin; const mcpConfig = { "command": "npx", "args": [ "-y", "mcp-remote@0.1.25", `${o}/sse`, "--header", "api-key:${API_KEY}", "--header", "api-secret:${API_SECRET}", "--header", "cloud-name:${CLOUD_NAME}", ], "env": { "API_KEY": "YOUR_VALUE_HERE", "API_SECRET": "YOUR_VALUE_HERE", "CLOUD_NAME": "YOUR_VALUE_HERE", }, }; const codexConfig = `[mcp_servers.CloudinaryAssetMgmt] url = "${o}/sse" http_headers = { "api-key" = "YOUR_API_KEY", "api-secret" = "YOUR_API_SECRET", "cloud-name" = "YOUR_CLOUD_NAME" }`; return ` @cloudinary/asset-management-mcp MCP
@cloudinary/asset-management-mcp
MCP Server
View Docs

Install

Select a method below to install the server.
Cursor Cursor
Claude Code
Claude Desktop
VS Code
Gemini CLI
Codex CLI
Available Tools
${ (() => { const maxVisibleTools = 30; const visibleTools = toolNames.slice(0, maxVisibleTools); const remainingTools = toolNames.length - visibleTools.length; const toolBadges = visibleTools .map((tool: { name: string; description: string }) => `${tool.name}` ) .join("\n"); const remainingBadge = remainingTools > 0 ? `\nAND ${remainingTools} MORE` : ""; return `${toolBadges}${remainingBadge}`; })() }
Server URL
${o}/mcp
Raw Configuration
If you have a client that's not listed above, access the raw MCP configuration below.
${ JSON.stringify(mcpConfig, null, 2) }
`; }