(disable = false)
| 99 | } |
| 100 | |
| 101 | async disconnect(disable = false) { |
| 102 | this.abortController.abort(); |
| 103 | await this.client.close(); |
| 104 | await this.transport.close(); |
| 105 | this.status = disable ? "disabled" : "not-connected"; |
| 106 | } |
| 107 | |
| 108 | getStatus(): MCPServerStatus { |
| 109 | return { |
no test coverage detected