Security Authentication - fleXRPL/github-mcp GitHub Wiki
Security: Authentication
This page details the security aspects of authentication in the GitHub MCP Server.
Secure Authentication
- Uses
githubauthlib
for token management - Tokens stored in system keychain
- No tokens in environment variables or files
- Encrypted at rest
- Access requires system authentication
Secure Authentication Flow
sequenceDiagram
participant User
participant Keychain
participant MCPServer
participant GitHub
User->>MCPServer: Start server
MCPServer->>Keychain: Securely request token
Keychain-->>MCPServer: Return encrypted token
MCPServer->>GitHub: Authenticate API requests
GitHub-->>MCPServer: API responses
MCPServer-->>User: Tool results