( commands: Command[], serverName: string, )
| 127 | * @returns Commands not belonging to the specified server |
| 128 | */ |
| 129 | export function excludeCommandsByServer( |
| 130 | commands: Command[], |
| 131 | serverName: string, |
| 132 | ): Command[] { |
| 133 | return commands.filter(c => !commandBelongsToServer(c, serverName)) |
| 134 | } |
| 135 | |
| 136 | /** |
| 137 | * Removes resources belonging to a specific MCP server |
no test coverage detected