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

Function configureServer

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

Source from the content-addressed store, hash-verified

1146 );
1147
1148 const configureServer = (slug: string, config: McpIntegrationConfigType) =>
1149 ctx.core.integrations.update(slugFrom(slug), { config }).pipe(
1150 Effect.withSpan("mcp.plugin.configure_server", {
1151 attributes: { "mcp.integration.slug": slug },
1152 }),
1153 );
1154
1155 /** Merge-append auth methods onto the integration's existing
1156 * `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