(slug: string, config: McpIntegrationConfigType)
| 1116 | ); |
| 1117 | |
| 1118 | const configureServer = (slug: string, config: McpIntegrationConfigType) => |
| 1119 | ctx.core.integrations.update(slugFrom(slug), { config }).pipe( |
| 1120 | Effect.withSpan("mcp.plugin.configure_server", { |
| 1121 | attributes: { "mcp.integration.slug": slug }, |
| 1122 | }), |
| 1123 | ); |
| 1124 | |
| 1125 | /** Merge-append auth methods onto the integration's existing |
| 1126 | * `authenticationTemplate` (custom-method-create flow), mirroring the |