Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudflare/mcp
/ functions
Functions
369 in github.com/cloudflare/mcp
⨍
Functions
369
◇
Types & classes
469
Method
before
(content: string | ReadableStream | Response, options?: ContentOptions)
worker-configuration.d.ts:1576
Method
blob
()
worker-configuration.d.ts:2027
Method
blockConcurrencyWhile
(callback: () => Promise<T>)
worker-configuration.d.ts:562
Method
body
()
worker-configuration.d.ts:2021
Method
bodyUsed
()
worker-configuration.d.ts:2022
Method
btoa
(data: string)
worker-configuration.d.ts:340
Method
bytes
()
worker-configuration.d.ts:2024
Method
cancel
* The **`cancel()`** method of the ReadableStream interface returns a Promise that resolves when the stream is canceled. * * [MDN Reference]
worker-configuration.d.ts:2194
Method
clear
* The **`console.clear()`** static method clears the console if possible. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/con
worker-configuration.d.ts:156
Method
clearInterval
(timeoutId: number | null)
worker-configuration.d.ts:347
Method
clearTimeout
(timeoutId: number | null)
worker-configuration.d.ts:344
Method
clone
* The **`clone()`** method of the Response interface creates a clone of a response object, identical in every way, but stored in a different variable.
worker-configuration.d.ts:1706
Method
clone
* The **`clone()`** method of the Request interface creates a copy of the current `Request` object. * * [MDN Reference](https://developer.mo
worker-configuration.d.ts:1781
Method
close
* The **`WebSocket.close()`** method closes the already `CLOSED`, this method does nothing. * * [MDN Reference](https://developer.mozilla.or
worker-configuration.d.ts:3108
Method
closed
()
worker-configuration.d.ts:3170
Method
comments
(comment: Comment)
worker-configuration.d.ts:1525
Method
comments
(comment: Comment)
worker-configuration.d.ts:1530
Method
complete
(uploadedParts: R2UploadedPart[])
worker-configuration.d.ts:1999
Method
constructor
(message: string)
src/metrics.ts:63
Method
constructor
( private toolCall: { userId?: string toolName: string errorCode?: number } )
src/metrics.ts:140
Method
constructor
( private authUser: { userId?: string errorMessage?: string } )
src/metrics.ts:165
Method
constructor
( private wae: AnalyticsEngineDataset | undefined, private serverInfo: ServerInfo )
src/metrics.ts:190
Method
constructor
( code: string, description: string, statusCode = 400, headers: Record<string, string> = {}
src/auth/workers-oauth-utils.ts:48
Method
contentType
* The content type of the returned image
worker-configuration.d.ts:9872
Method
contentType
* Returns the MIME type of the transformed media. * @returns The content type string (e.g., 'image/jpeg', 'video/mp4')
worker-configuration.d.ts:9938
Method
count
* The **`console.count()`** static method logs the number of times that this particular call to `count()` has been called. * * [MDN Referenc
worker-configuration.d.ts:162
Method
countReset
* The **`console.countReset()`** static method resets counter used with console/count_static. * * [MDN Reference](https://developer.mozilla.
worker-configuration.d.ts:168
Method
databaseSize
()
worker-configuration.d.ts:3144
Method
debug
* The **`console.debug()`** static method outputs a message to the console at the 'debug' log level. * * [MDN Reference](https://developer.m
worker-configuration.d.ts:174
Method
delete
(key: string, options?: DurableObjectPutOptions)
worker-configuration.d.ts:579
Method
delete
(key: string, options?: DurableObjectPutOptions)
worker-configuration.d.ts:592
Method
delete
(key: string)
worker-configuration.d.ts:3328
Method
deleteAlarm
(options?: DurableObjectSetAlarmOptions)
worker-configuration.d.ts:584
Method
deleteAlarm
(options?: DurableObjectSetAlarmOptions)
worker-configuration.d.ts:598
Method
deleteAll
(options?: DurableObjectPutOptions)
worker-configuration.d.ts:594
Method
deserializeAttachment
()
worker-configuration.d.ts:3110
Method
destroy
(error?: any)
worker-configuration.d.ts:3249
Method
dir
* The **`console.dir()`** static method displays a list of the properties of the specified JavaScript object. * * [MDN Reference](https://de
worker-configuration.d.ts:180
Method
dirxml
* The **`console.dirxml()`** static method displays an interactive tree of the descendant elements of the specified XML/HTML element. * * [M
worker-configuration.d.ts:186
Method
doctype
(doctype: Doctype)
worker-configuration.d.ts:1529
Method
draw
* Draw an image on this transformer, returning a transform handle. * You can then apply more transformations, draw, or retrieve the output.
worker-configuration.d.ts:9853
Method
dup
()
worker-configuration.d.ts:10163
Method
element
(element: Element)
worker-configuration.d.ts:1524
Method
end
(end: DocumentEnd)
worker-configuration.d.ts:1532
Method
equals
(other: DurableObjectId)
worker-configuration.d.ts:532
Method
exec
(query: string, ...bindings: any[])
worker-configuration.d.ts:3143
Method
fetch
(input: RequestInfo | URL, init?: RequestInit<RequestInitCfProperties>)
worker-configuration.d.ts:351
Method
fetch
(request: Request)
src/tools/execute.ts:35
Method
forward
* Forward this email message to a verified destination address of the account. * @param rcptTo Verified destination address. * @param header
worker-configuration.d.ts:9637
Method
fromTrace
(item: TraceItem)
worker-configuration.d.ts:2747
Method
get
(key: string, options?: DurableObjectGetOptions)
worker-configuration.d.ts:574
Method
get
(key: string, options?: DurableObjectGetOptions)
worker-configuration.d.ts:587
Method
get
(key: string)
worker-configuration.d.ts:3322
Method
get
(name: string | null, getCode: () => WorkerLoaderWorkerCode | Promise<WorkerLoaderWorkerCode>)
worker-configuration.d.ts:3345
Method
get
* Retrieve the current stored value
worker-configuration.d.ts:9700
Method
get
* Get a secret from the Secrets Store, returning a string of the secret value * if it exists, or throws an error if it does not exist
worker-configuration.d.ts:10350
Method
get
* @param name Name of the Worker script. * @param args Arguments to Worker script. * @param options Options for Dynamic Dispatch invocation.
worker-configuration.d.ts:10868
Method
getAlarm
(options?: DurableObjectGetAlarmOptions)
worker-configuration.d.ts:582
Method
getAlarm
(options?: DurableObjectGetAlarmOptions)
worker-configuration.d.ts:596
Method
getAttribute
(name: string)
worker-configuration.d.ts:1544
Method
getBookmarkForTime
(timestamp: number | Date)
worker-configuration.d.ts:604
Method
getCurrentBookmark
()
worker-configuration.d.ts:603
Method
getHibernatableWebSocketEventTimeout
()
worker-configuration.d.ts:569
Method
getReader
* The **`getReader()`** method of the ReadableStream interface creates a reader and locks the stream to it. * * [MDN Reference](https://deve
worker-configuration.d.ts:2200
Method
getTags
(ws: WebSocket)
worker-configuration.d.ts:570
Method
getTcpPort
(port: number)
worker-configuration.d.ts:3251
Method
getUnredacted
()
worker-configuration.d.ts:2704
Method
getWebSocketAutoResponse
()
worker-configuration.d.ts:566
Method
getWebSocketAutoResponseTimestamp
(ws: WebSocket)
worker-configuration.d.ts:567
Method
getWebSockets
(tag?: string)
worker-configuration.d.ts:564
Method
getWithMetadata
(key: Key, options?: Partial<KVNamespaceGetOptions<undefined>>)
worker-configuration.d.ts:1889
Method
group
* The **`console.group()`** static method creates a new inline group in the Web console log, causing any subsequent console messages to be indented by
worker-configuration.d.ts:198
Method
groupCollapsed
* The **`console.groupCollapsed()`** static method creates a new inline group in the console. * * [MDN Reference](https://developer.mozilla.
worker-configuration.d.ts:204
Method
groupEnd
* The **`console.groupEnd()`** static method exits the current inline group in the console. * * [MDN Reference](https://developer.mozilla.or
worker-configuration.d.ts:210
Method
handleEvent
(event: EventType)
worker-configuration.d.ts:777
Method
hasAttribute
(name: string)
worker-configuration.d.ts:1545
Method
image
* The bytes of the response
worker-configuration.d.ts:9876
Method
info
* The **`console.info()`** static method outputs a message to the console at the 'info' log level. * * [MDN Reference](https://developer.moz
worker-configuration.d.ts:216
Method
info
* Get image metadata (type, width and height) * @throws {@link ImagesError} with code 9412 if input is not an image * @param stream The imag
worker-configuration.d.ts:9832
Method
input
* Begin applying a series of transformations to an image * @param stream The image bytes * @returns A transform handle
worker-configuration.d.ts:9838
Method
input
* Creates a media transformer from an input stream. * @param media - The input media bytes * @returns A MediaTransformer instance for applyi
worker-configuration.d.ts:9893
Method
limit
* Rate limit a request based on the provided options. * @see https://developers.cloudflare.com/workers/runtime-apis/bindings/rate-limit/ * @
worker-configuration.d.ts:10114
Method
list
(options?: DurableObjectListOptions)
worker-configuration.d.ts:576
Method
list
(options?: DurableObjectListOptions)
worker-configuration.d.ts:589
Method
list
(options?: SyncKvListOptions)
worker-configuration.d.ts:3323
Method
locked
* The **`locked`** read-only property of the ReadableStream interface returns whether or not the readable stream is locked to a reader. * *
worker-configuration.d.ts:2188
Function
mapBlobs
* Map a named blob object to a positional array. blob1/blob2 are reserved for * the MCP server name/version and are filled in here.
src/metrics.ts:93
Function
mapDoubles
(doubles: Doubles)
src/metrics.ts:119
Method
media
* Returns the transformed media as a readable stream of bytes. * @returns A stream containing the transformed media data
worker-configuration.d.ts:9928
Method
monitor
()
worker-configuration.d.ts:3248
Method
noRetry
()
worker-configuration.d.ts:2111
Method
onEndTag
(handler: (tag: EndTag) => void | Promise<void>)
worker-configuration.d.ts:1556
Method
onNextSessionRestoreBookmark
(bookmark: string)
worker-configuration.d.ts:605
Method
opened
()
worker-configuration.d.ts:3171
Method
output
* Retrieve the image that results from applying the transforms to the * provided input * @param options Options that apply to the output e.g
worker-configuration.d.ts:9859
Method
output
* Generates the final media output with specified options. * @param output - Configuration for the output format and parameters * @returns T
worker-configuration.d.ts:9917
Method
passThroughOnException
()
worker-configuration.d.ts:481
Method
pipeThrough
* The **`pipeThrough()`** method of the ReadableStream interface provides a chainable way of piping the current stream through a transform stream or a
worker-configuration.d.ts:2212
Method
pipeTo
* The **`pipeTo()`** method of the ReadableStream interface pipes the current `ReadableStream` to a given WritableStream and returns a Promise that fu
worker-configuration.d.ts:2218
Method
prepend
(content: string | ReadableStream | Response, options?: ContentOptions)
worker-configuration.d.ts:1550
← previous
next →
201–300 of 369, ranked by callers