(scope: string)
| 182 | * Gets scope display name |
| 183 | */ |
| 184 | const getScopeDisplayName = (scope: string) => { |
| 185 | switch (scope) { |
| 186 | case "local": |
| 187 | return "Local (Project-specific)"; |
| 188 | case "project": |
| 189 | return "Project (Shared via .mcp.json)"; |
| 190 | case "user": |
| 191 | return "User (All projects)"; |
| 192 | default: |
| 193 | return scope; |
| 194 | } |
| 195 | }; |
| 196 | |
| 197 | /** |
| 198 | * Renders a single server item |