MCPcopy Create free account
hub / github.com/arctic-cli/interface / updateTokens

Function updateTokens

packages/arctic/src/mcp/auth.ts:57–61  ·  view source on GitHub ↗
(mcpName: string, tokens: Tokens)

Source from the content-addressed store, hash-verified

55 }
56
57 export async function updateTokens(mcpName: string, tokens: Tokens): Promise<void> {
58 const entry = (await get(mcpName)) ?? {}
59 entry.tokens = tokens
60 await set(mcpName, entry)
61 }
62
63 export async function updateClientInfo(mcpName: string, clientInfo: ClientInfo): Promise<void> {
64 const entry = (await get(mcpName)) ?? {}

Callers

nothing calls this directly

Calls 2

getFunction · 0.70
setFunction · 0.70

Tested by

no test coverage detected