A walkthrough of adding the GitHub MCP (Model Context Protocol) server to OpenCode, an AI coding CLI tool. Covers using the `opencode mcp add` command, configuring the settings.json file with the remote GitHub MCP URL, troubleshooting an OAuth incompatibility error, and authenticating via a GitHub personal access token added as a Bearer authorization header. Once connected, you can query GitHub repositories directly from within OpenCode.

2m watch time