MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / makeCloudflarePlugins

Function makeCloudflarePlugins

apps/host-cloudflare/src/plugins.ts:20–32  ·  view source on GitHub ↗
(
  secretKey: string,
  options: { readonly activeToolkitSlug?: string; readonly allowLocalNetwork?: boolean } = {},
)

Source from the content-addressed store, hash-verified

18// ---------------------------------------------------------------------------
19
20export const makeCloudflarePlugins = (
21 secretKey: string,
22 options: { readonly activeToolkitSlug?: string; readonly allowLocalNetwork?: boolean } = {},
23) =>
24 [
25 openApiHttpPlugin(),
26 googleHttpPlugin(),
27 microsoftHttpPlugin({ allowUnsafeUrlOverrides: options.allowLocalNetwork === true }),
28 mcpHttpPlugin({ dangerouslyAllowStdioMCP: false }),
29 graphqlHttpPlugin(),
30 toolkitsPlugin({ activeToolkitSlug: options.activeToolkitSlug }),
31 encryptedSecretsPlugin({ key: secretKey }),
32 ] as const;
33
34export type CloudflarePlugins = ReturnType<typeof makeCloudflarePlugins>;

Callers 2

makeCloudflareAppFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected