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

Method connect

apps/cloud/worker-configuration.d.ts:11783–11783  ·  view source on GitHub ↗

* Connect directly to Hyperdrive as if it's your database, returning a TCP socket. * * Calling this method returns an identical socket to if you call * `connect("host:port")` using the `host` and `port` fields from this object. * Pick whichever approach works better with your preferred D

()

Source from the content-addressed store, hash-verified

11781 * using the information in this class's readonly fields.
11782 */
11783 connect(): Socket;
11784 /**
11785 * A valid DB connection string that can be passed straight into the typical
11786 * client library/driver/ORM. This will typically be the easiest way to use

Callers 15

handleMcpFunction · 0.65
worker.test.tsFile · 0.65
query.test.tsFile · 0.65
createFunction · 0.65
withClientFunction · 0.65
connectClientFunction · 0.65
handleMcpRequestFunction · 0.65
mainFunction · 0.65
openSessionFunction · 0.65

Implementers 1

Cdpe2e/desktop-packaged/linux-vm/repro.mj

Calls

no outgoing calls

Tested by 10

withClientFunction · 0.52
openSessionFunction · 0.52
runApprovalFunction · 0.52
connectClientFunction · 0.52
runFunction · 0.52
runOneClientFunction · 0.52
makeMcpFunction · 0.52
launchPackagedFunction · 0.52
reconnectPackagedPageFunction · 0.52
launchPackagedFunction · 0.52