fix(#1283): respect plugin ownership of MCP servers (#1296)

This commit is contained in:
m57
2026-09-26 21:44:41 +03:00
committed by GitHub
parent ee487e0087
commit c34de55dd9
6 changed files with 341 additions and 25 deletions
@@ -20,7 +20,12 @@ data class McpServer(
val error: String? = null,
val auth: String? = null,
val tools: List<String>? = null,
)
val source: String = "config",
val plugin: String? = null,
) {
// #1283: plugin-provided servers are managed by their owning plugin.
val isPluginOwned: Boolean get() = source == "plugin"
}
@Serializable
data class McpServerTestResponse(