(slug: string, config: McpIntegrationConfigType)
| 1383 | ); |
| 1384 | |
| 1385 | const configureServer = (slug: string, config: McpIntegrationConfigType) => |
| 1386 | ctx.core.integrations.update(slugFrom(slug), { config }).pipe( |
| 1387 | Effect.withSpan("mcp.plugin.configure_server", { |
| 1388 | attributes: { "mcp.integration.slug": slug }, |
| 1389 | }), |
| 1390 | ); |
| 1391 | |
| 1392 | /** Merge-append auth methods onto the integration's existing |
| 1393 | * `authenticationTemplate` (custom-method-create flow), mirroring the |