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

Function use

packages/plugins/mcp/src/sdk/invoke.ts:267–268  ·  view source on GitHub ↗
(connection: McpConnection)

Source from the content-addressed store, hash-verified

265 Effect.gen(function* () {
266 const args = argsRecord(input.args);
267 const use = (connection: McpConnection) =>
268 useConnection(connection, input.toolName, args, input.elicit, input.onToolListChanged);
269
270 if (input.connectionPool && input.connectionPoolKey) {
271 return yield* input.connectionPool.withConnection(

Callers 3

invokeMcpToolFunction · 0.70
runFunction · 0.70
withServerFunction · 0.70

Calls 1

useConnectionFunction · 0.85

Tested by 1

withServerFunction · 0.56