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

Function configureServer

packages/plugins/mcp/src/sdk/plugin.ts:1103–1108  ·  view source on GitHub ↗
(slug: string, config: McpIntegrationConfigType)

Source from the content-addressed store, hash-verified

1101 );
1102
1103 const configureServer = (slug: string, config: McpIntegrationConfigType) =>
1104 ctx.core.integrations.update(slugFrom(slug), { config }).pipe(
1105 Effect.withSpan("mcp.plugin.configure_server", {
1106 attributes: { "mcp.integration.slug": slug },
1107 }),
1108 );
1109
1110 /** Merge-append auth methods onto the integration's existing
1111 * `authenticationTemplate` (custom-method-create flow), mirroring the

Callers

nothing calls this directly

Calls 2

slugFromFunction · 0.85
updateMethod · 0.65

Tested by

no test coverage detected