MCPcopy Create free account

hub / github.com/domdomegg/computer-use-mcp / functions

Functions16 in github.com/domdomegg/computer-use-mcp

↓ 29 callersFunctiontoKeys
(xdotoolString: string)
src/xdotoolStringToKeys.ts:215
↓ 10 callersFunctionjsonResult
(data: T)
src/utils/response.ts:3
↓ 3 callersFunctioncreateServer
()
src/index.ts:5
↓ 3 callersFunctiongetApiToLogicalScale
* Get the scale factor from API image coordinates to logical screen coordinates. * This is the inverse of the downsampling we apply to fit API limits
src/tools/computer.ts:118
↓ 2 callersFunctiongetSizeToApiScale
* Calculate the scale factor to downsample an image to fit API limits. * Returns a value <= 1 representing how much to shrink the image.
src/tools/computer.ts:104
↓ 2 callersFunctionsetupSignalHandlers
(cleanup: () => Promise<void>)
src/main.ts:22
↓ 1 callersFunctioncreateClient
()
src/e2e.test.ts:104
↓ 1 callersFunctioncreateProcessBasedClient
* Creates an MCP client that communicates with a spawned process via stdin/stdout
src/e2e.test.ts:25
↓ 1 callersFunctiongrabScreen
* Grab the screen, falling back to the macOS `screencapture` CLI if nut-js fails * (e.g. on macOS 26+ where CGDisplayCreateImageForRect was removed).
src/tools/computer.ts:25
↓ 1 callersFunctionhasXdotool
()
src/tools/computer.ts:55
↓ 1 callersFunctionregisterAll
(server: McpServer)
src/tools/index.ts:4
↓ 1 callersFunctionregisterComputer
(server: McpServer)
src/tools/computer.ts:175
↓ 1 callersFunctionxdotoolType
* Type text using xdotool, which correctly respects the X11 keyboard layout. * * nut-js's keyboard.type() uses libnut's typeString which maps charac
src/tools/computer.ts:77
Functionclose
()
src/e2e.test.ts:82
Methodconstructor
(key: string)
src/xdotoolStringToKeys.ts:209
FunctionsendRequest
(message: JSONRPCRequest)
src/e2e.test.ts:55