Skip to main content
Glama
gilberth

MCP Cloudflare DNS Server

prompts.js664 B
// List available prompts export async function listPrompts(client) { try { const response = await client.listPrompts(); return response; } catch (error) { throw new Error(`Failed to list prompts: ${error instanceof Error ? error.message : String(error)}`); } } // Get a prompt export async function getPrompt(client, name, args) { try { const response = await client.getPrompt({ name, arguments: args || {}, }); return response; } catch (error) { throw new Error(`Failed to get prompt: ${error instanceof Error ? error.message : String(error)}`); } }

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/gilberth/mcp-cloudflare'

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