(slug: string)
| 1109 | ); |
| 1110 | |
| 1111 | const getServer = (slug: string) => |
| 1112 | ctx.core.integrations.get(slugFrom(slug)).pipe( |
| 1113 | Effect.withSpan("mcp.plugin.get_server", { |
| 1114 | attributes: { "mcp.integration.slug": slug }, |
| 1115 | }), |
| 1116 | ); |
| 1117 | |
| 1118 | const configureServer = (slug: string, config: McpIntegrationConfigType) => |
| 1119 | ctx.core.integrations.update(slugFrom(slug), { config }).pipe( |