(slug: string, config: McpIntegrationConfigType)
| 1343 | ); |
| 1344 | |
| 1345 | const configureServer = (slug: string, config: McpIntegrationConfigType) => |
| 1346 | ctx.core.integrations.update(slugFrom(slug), { config }).pipe( |
| 1347 | Effect.withSpan("mcp.plugin.configure_server", { |
| 1348 | attributes: { "mcp.integration.slug": slug }, |
| 1349 | }), |
| 1350 | ); |
| 1351 | |
| 1352 | /** Merge-append auth methods onto the integration's existing |
| 1353 | * `authenticationTemplate` (custom-method-create flow), mirroring the |