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