(cwd: string, name: string)
| 281 | /** Remove a server from whichever scope it's configured in. Returns the scope |
| 282 | * it was removed from, or undefined if not found. */ |
| 283 | export function removeMcpServerAnyScope(cwd: string, name: string): McpScope | undefined { |
| 284 | const scope = findServerScope(cwd, name) |
| 285 | if (!scope) return undefined |
| 286 | removeMcpServer(cwd, name, scope) |
| 287 | return scope |
| 288 | } |
no test coverage detected