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

Function authFilePath

src/mcp/auth.ts:67–69  ·  view source on GitHub ↗

Path to a server's persistent OAuth store.

(serverName: string)

Source from the content-addressed store, hash-verified

65
66/** Path to a server's persistent OAuth store. */
67function authFilePath(serverName: string): string {
68 return path.join(authDir(), `${serverName}.json`)
69}
70
71/** Read a server's OAuth store (or undefined if none). */
72function readAuthStore(serverName: string): McpAuthStore | undefined {

Callers 2

readAuthStoreFunction · 0.85
writeAuthStoreFunction · 0.85

Calls 1

authDirFunction · 0.85

Tested by

no test coverage detected