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

Function removeConnection

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

requireToolkitFunction · 0.85
requireConnectionFunction · 0.85
removeMethod · 0.65

Tested by

no test coverage detected