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

Function authDir

src/mcp/auth.ts:62–64  ·  view source on GitHub ↗

Directory holding per-server OAuth state files.

()

Source from the content-addressed store, hash-verified

60
61/** Directory holding per-server OAuth state files. */
62function authDir(): string {
63 return path.join(getConfigDir(), "mcp-auth")
64}
65
66/** Path to a server's persistent OAuth store. */
67function authFilePath(serverName: string): string {

Callers 2

authFilePathFunction · 0.85
writeAuthStoreFunction · 0.85

Calls 1

getConfigDirFunction · 0.85

Tested by

no test coverage detected