--- title: "system.opc.getServers" description: "Returns a list of server names." --- # system.opc.getServers > Returns a list of server names. This function is used in **Python Scripting**. ## Description ## Client Permission Restrictions This scripting function has no [Client Permission](projects\project-properties\project-properties.md#client---permissions) restrictions. ## Syntax `system.opc.getServers()` ### Parameters None ### Returns **List** - A list of server name strings. If no servers are found, returns an empty list. ### Scope All ## Code Examples ```python title="Code Snippet" # print a list of all server names found servers = system.opc.getServers() if not servers: print "No servers found" else: for server in servers: print server ```