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

Function removeAuth

packages/arctic/src/mcp/index.ts:557–562  ·  view source on GitHub ↗
(mcpName: string)

Source from the content-addressed store, hash-verified

555 * Remove OAuth credentials for an MCP server.
556 */
557 export async function removeAuth(mcpName: string): Promise<void> {
558 await McpAuth.remove(mcpName)
559 McpOAuthCallback.cancelPending(mcpName)
560 pendingOAuthTransports.delete(mcpName)
561 log.info("removed oauth credentials", { mcpName })
562 }
563
564 /**
565 * Check if an MCP server supports OAuth (remote servers support OAuth by default unless explicitly disabled).

Callers

nothing calls this directly

Calls 2

removeMethod · 0.45
deleteMethod · 0.45

Tested by

no test coverage detected