Update mcp's list function to check for disablement. (#21148)

This commit is contained in:
David Pierce
2026-03-09 18:10:00 +00:00
committed by GitHub
parent 743d05b37f
commit e7b20c49ac
6 changed files with 193 additions and 24 deletions

View File

@@ -104,6 +104,10 @@ export enum MCPServerStatus {
CONNECTING = 'connecting',
/** Server is connected and ready to use */
CONNECTED = 'connected',
/** Server is blocked via configuration and cannot be used */
BLOCKED = 'blocked',
/** Server is disabled and cannot be used */
DISABLED = 'disabled',
}
/**