update README

This commit is contained in:
Ed Zynda
2025-06-25 15:02:23 +03:00
parent a2346721cb
commit b25bda58ab
2 changed files with 27 additions and 0 deletions
+13
View File
@@ -111,6 +111,19 @@ MCPHost includes a powerful script system for automation and reusable workflows.
- **Edge Cases**: Empty defaults, complex values, mixed required/optional variables
- **Backward Compatibility**: Ensures existing scripts continue working unchanged
## Authentication System
MCPHost includes optional OAuth authentication for Anthropic Claude as an alternative to API keys.
### Authentication Commands
- **Location**: `cmd/auth.go` (main implementation)
- **Purpose**: Manage Anthropic OAuth credentials (alternative to API keys)
- **Commands**: `login anthropic`, `logout anthropic`, `status`
### OAuth Implementation
- **Location**: `internal/auth/oauth.go` (OAuth client), `internal/auth/credentials.go` (credential management)
- **Features**: PKCE security, automatic token refresh, encrypted storage, browser-based flow
- **Priority**: OAuth credentials > API keys (environment variables/flags)
## Recent Bug Fixes
### Legacy MCP Server Configuration Fix