MCPcopy Index your code

hub / github.com/cloudflare/workers-mcp / functions

Functions42 in github.com/cloudflare/workers-mcp

↓ 10 callersFunctionlog
(...args: any[])
src/scripts/local-proxy.ts:10
↓ 3 callersFunctiongenerateSecret
()
src/scripts/secret.ts:19
↓ 3 callersFunctionrunCommand
(command: string, args: string[])
src/scripts/utils.ts:3
↓ 2 callersFunctionProxy
( request: Request, secret: string, sendRPC: (method: string, args: any[]) => Promise<any>, )
src/lib/Proxy.ts:4
↓ 2 callersMethodfetch
* @ignore
examples/02-image-generation/src/index.ts:30
↓ 2 callersMethodfetch
* @ignore
examples/01-hello-world/src/index.ts:18
↓ 2 callersFunctiongenerateDocs
(filename: string)
src/scripts/generate-docs.ts:42
↓ 2 callersFunctioninstallClaude
(claude_name: string, workers_url: string)
src/scripts/install-claude.ts:7
↓ 2 callersFunctionlog
(...args: any[])
src/cli.ts:10
↓ 2 callersFunctionrangeWithin
(inner: [number, number] | undefined, outer: [number, number])
src/scripts/generate-docs.ts:246
↓ 2 callersFunctionreadSharedSecret
()
src/scripts/secret.ts:8
↓ 2 callersFunctionuploadSecret
(secret: string)
src/scripts/secret.ts:37
↓ 1 callersFunctionaddDocgen
(index_script: string)
src/scripts/setup.ts:45
↓ 1 callersFunctiondetermineIndexScript
()
src/scripts/setup.ts:35
↓ 1 callersFunctiondoDeploy
(index_script: string, script_name?: string)
src/scripts/setup.ts:203
↓ 1 callersFunctiongenerateAndUploadSecret
()
src/scripts/setup.ts:118
↓ 1 callersFunctionguidedInstallation
()
src/scripts/setup.ts:13
↓ 1 callersMethodhandleMessage
* Handle a client message, regardless of how it arrived. This can be used to inform the server of messages that arrive via a means different than HTTP
src/lib/sseEdge.ts:104
↓ 1 callersMethodhandlePostMessage
* Handles incoming Requests
src/lib/sseEdge.ts:73
↓ 1 callersFunctionhelp
()
src/scripts/help.ts:4
↓ 1 callersFunctioninstall
(url: string)
src/scripts/setup.ts:226
↓ 1 callersFunctionisDirectory
(configPath: string)
src/scripts/install-claude.ts:59
↓ 1 callersFunctionlocalProxy
(claude_name: string, workers_url: string, workers_dir: string = process.cwd())
src/scripts/local-proxy.ts:20
↓ 1 callersFunctionreencodeImage
(original: string)
src/scripts/local-proxy.ts:15
↓ 1 callersFunctionreplaceSource
(index_script: string)
src/scripts/setup.ts:171
↓ 1 callersFunctionrunWithStdin
(command: string, args: string[], stdin: string)
src/scripts/utils.ts:31
↓ 1 callersFunctionsecret
(command: string)
src/scripts/secret.ts:41
Function_init
(props: T)
src/modules/MCPEntrypoint.ts:18
Methodclose
()
src/lib/sseEdge.ts:116
Methodconstructor
( readonly env: T, readonly namespace_key: keyof T, readonly index_strategy: IndexStrategy, )
src/modules/ProxyToDO.ts:13
Methodconstructor
(readonly worker: WorkerEntrypoint<T>)
src/modules/ProxyToSelf.ts:7
Methodconstructor
* Creates a new EdgeSSETransport, which will direct the MPC client to POST messages to messageUrl
src/lib/sseEdge.ts:23
Methodfetch
(request: Request)
src/modules/ProxyToDO.ts:19
Methodfetch
(request: Request)
src/modules/ProxyToSelf.ts:14
MethodgenerateImage
* Generate an image using the `flux-1-schnell` model. Works best with 8 steps. * * @param {string} prompt - A text description of the image you wa
examples/02-image-generation/src/index.ts:11
Functionmount
( path: string, { binding = 'MCP_OBJECT', corsOptions, }: { binding?: string
src/modules/MCPEntrypoint.ts:39
FunctiononMessage
(request: Request)
src/modules/MCPEntrypoint.ts:35
FunctiononSSE
(request: Request)
src/modules/MCPEntrypoint.ts:26
MethodsayHello
* A warm, friendly greeting from your new Workers MCP server. * @param name {string} the name of the person we are greeting. * @return {string}
examples/01-hello-world/src/index.ts:11
Methodsend
(message: JSONRPCMessage)
src/lib/sseEdge.ts:125
MethodsseResponse
()
src/lib/sseEdge.ts:54
Methodstart
()
src/lib/sseEdge.ts:39