(slug: string, config: McpIntegrationConfigType)
| 1214 | ); |
| 1215 | |
| 1216 | const configureServer = (slug: string, config: McpIntegrationConfigType) => |
| 1217 | ctx.core.integrations.update(slugFrom(slug), { config }).pipe( |
| 1218 | Effect.withSpan("mcp.plugin.configure_server", { |
| 1219 | attributes: { "mcp.integration.slug": slug }, |
| 1220 | }), |
| 1221 | ); |
| 1222 | |
| 1223 | /** Merge-append auth methods onto the integration's existing |
| 1224 | * `authenticationTemplate` (custom-method-create flow), mirroring the |