(slug: string, config: McpIntegrationConfigType)
| 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 |