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

Function connect

e2e/scenarios/tool-descriptions.test.ts:289–301  ·  view source on GitHub ↗
(slug: string)

Source from the content-addressed store, hash-verified

287 ] as const;
288
289 const connect = (slug: string) =>
290 Effect.gen(function* () {
291 const providers = yield* apiClient.providers.list();
292 yield* apiClient.connections.create({
293 payload: {
294 owner: "org",
295 name: ConnectionName.make("main"),
296 integration: IntegrationSlug.make(slug),
297 template: AuthTemplateSlug.make("apiKey"),
298 from: { provider: providers[0]!, id: ProviderItemId.make(randomUUID()) },
299 },
300 });
301 });
302
303 const cleanup = (slug: string) =>
304 Effect.gen(function* () {

Callers 2

isListeningFunction · 0.85

Calls 1

listMethod · 0.65

Tested by

no test coverage detected