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

Function removeConnection

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

Source from the content-addressed store, hash-verified

516 });
517
518 const removeConnection = (toolkitId: string, connectionId: string) =>
519 Effect.gen(function* () {
520 const toolkit = yield* requireToolkit(toolkitId);
521 yield* requireConnection(toolkitId, connectionId, toolkit.owner);
522 yield* storage.connections.remove({ owner: toolkit.owner, key: connectionId });
523 });
524
525 const policyRulesForSlug = (
526 slug: string,

Callers

nothing calls this directly

Calls 3

requireToolkitFunction · 0.85
requireConnectionFunction · 0.85
removeMethod · 0.65

Tested by

no test coverage detected