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

Function removeConnection

packages/plugins/toolkits/src/server.ts:473–478  ·  view source on GitHub ↗
(toolkitId: string, connectionId: string)

Source from the content-addressed store, hash-verified

471 });
472
473 const removeConnection = (toolkitId: string, connectionId: string) =>
474 Effect.gen(function* () {
475 const toolkit = yield* requireToolkit(toolkitId);
476 yield* requireConnection(toolkitId, connectionId, toolkit.owner);
477 yield* storage.connections.remove({ owner: toolkit.owner, key: connectionId });
478 });
479
480 const policyRulesForSlug = (
481 slug: string,

Callers

nothing calls this directly

Calls 3

requireToolkitFunction · 0.85
requireConnectionFunction · 0.85
removeMethod · 0.65

Tested by

no test coverage detected