(mcpName: string)
| 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). |