(slug: string)
| 1139 | ); |
| 1140 | |
| 1141 | const getServer = (slug: string) => |
| 1142 | ctx.core.integrations.get(slugFrom(slug)).pipe( |
| 1143 | Effect.withSpan("mcp.plugin.get_server", { |
| 1144 | attributes: { "mcp.integration.slug": slug }, |
| 1145 | }), |
| 1146 | ); |
| 1147 | |
| 1148 | const configureServer = (slug: string, config: McpIntegrationConfigType) => |
| 1149 | ctx.core.integrations.update(slugFrom(slug), { config }).pipe( |