Skip to main content
Glama

mcp-server-cloudflare

Official
by cloudflare
cloudflare-mock.ts463 B
import { vi } from 'vitest' import type { Account } from 'cloudflare/resources/accounts/accounts.mjs' /** * Creates a mocked implementation of the Cloudflare client */ export const cloudflareClientMockImplementation = () => { return { accounts: { list: vi.fn(async () => { return { success: true, result: [ { id: 'mock-account-id', name: 'mock-account-name', }, ] satisfies Account[], } }), }, } }

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

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