MCPcopy Create free account
hub / github.com/MatterAIOrg/OrbCode / getConfigPath

Method getConfigPath

src/mcp/manager.ts:285–289  ·  view source on GitHub ↗

The file path where a server's config lives (for the TUI detail view).

(name: string)

Source from the content-addressed store, hash-verified

283
284 /** The file path where a server's config lives (for the TUI detail view). */
285 getConfigPath(name: string): string | undefined {
286 const cfg = this.configs.get(name)
287 if (!cfg) return undefined
288 return configPathForScope(this.cwd, cfg.scope)
289 }
290
291 /** True if a server uses OAuth (explicitly configured or auto-detected from
292 * a 401/needs-auth state). Remote servers in needs-auth state are treated

Callers 2

deleteSelectedFunction · 0.80
DetailPanelFunction · 0.80

Calls 1

configPathForScopeFunction · 0.85

Tested by

no test coverage detected