- show help instead of crashing on `omp setup` with no args - show runtime-discovered MCP servers in `/mcp list` - remove deprecated Anthropic model entries from models.json - sort models by recency in model selector
This commit is contained in:
@@ -343,6 +343,15 @@ export class MCPManager {
|
||||
return Array.from(this.#connections.keys());
|
||||
}
|
||||
|
||||
/**
|
||||
* Get all known server names (connected, connecting, or discovered).
|
||||
*/
|
||||
getAllServerNames(): string[] {
|
||||
return Array.from(
|
||||
new Set([...this.#sources.keys(), ...this.#connections.keys(), ...this.#pendingConnections.keys()]),
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Disconnect from a specific server.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user