在設定裡加幾行 JSON,AI 就能讀你的資料庫——這背後是 MCP 協定。本文拆解 Host/Client/Server 架構、stdio 與 Streamable HTTP 兩種 Transport,以及 OAuth 2.1 身份驗證的完整流程。