
                             S r SSKJr  SSKJr  SSKJr  SSS.r\R                  " \R                  R                  5      \R                  \R                   " S S	\R                  5      5       5       5       rg
)zCommand to List MCP Servers.    )utils)servers)basez{description}zS         To list all MCP Servers in a project, run:

          $ {command}
        )DESCRIPTIONEXAMPLESc                   2    \ rS rSrSr\r\S 5       rS r	Sr
g)List#   zList MCP Servers.c                 \    U R                   R                  S5        U R                  SSSS9  g )Njsonz--all
store_truez_If provided, list all the available (both enabled and non-enabled) MCP Servers for the project.)actionhelp)display_info	AddFormatadd_argument)parsers    ,lib/surface/api_registry/mcp/servers/list.pyArgs	List.Args+   s4    
!!&)
5      c                     [         R                  " 5       n[        R                  " 5       n[        R                  " 5       nSU SU 3nUR                  XQ5      $ )zRun the list command.z	projects/z/locations/)r   McpServersClientr   
GetProjectGetLocationr	   )selfargsclientprojectlocationparents         r   RunList.Run5   sR    %%'F G  "H
G9Kz2  ;;v$$r    N)__name__
__module____qualname____firstlineno____doc___DETAILED_HELPdetailed_helpstaticmethodr   r"   __static_attributes__r$   r   r   r	   r	   #   s#      - %r   r	   N)r)   #googlecloudsdk.api_lib.api_registryr   'googlecloudsdk.api_lib.api_registry.mcpr   googlecloudsdk.callioper   r*   ReleaseTracksReleaseTrackALPHADefaultUniverseOnlyHiddenListCommandr	   r$   r   r   <module>r7      sv     # 5 ; (
 				 D%%++,%4 %   -%r   