MCPcopy Index your code
hub / github.com/winfunc/opcode / getScopeDisplayName

Function getScopeDisplayName

src/components/MCPServerList.tsx:184–195  ·  view source on GitHub ↗
(scope: string)

Source from the content-addressed store, hash-verified

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

Callers 1

MCPServerListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected