MCP (Model Context Protocol) คือมาตรฐานแบบเปิด ที่นำเสนอโดย Anthropic ที่ให้ แอปพลิเคชัน AI เชื่อมต่อกับเครื่องมือและข้อมูลภายนอกผ่านอินเทอร์เฟซที่เป็นหนึ่งเดียว — แทนที่จะเขียนการรวมประสานแบบกำหนดเองสำหรับแต่ละแอปพลิเคชัน ลองคิดมันเป็นตัวแปลงสากลระหว่างโมเดลและโลกภายนอก
ไคลเอนต์และเซิร์ฟเวอร์
MCP SERVER → exposes capabilities to the model:
- TOOLS → actions the model can call (send_email, create_issue, search_files)
- RESOURCES → data the model can read (a file, a Drive doc, a DB row)
- PROMPTS → reusable prompt templates the server offers
MCP CLIENT → the AI app (Claude Desktop, Claude Code, an IDE) that connects to servers
TRANSPORT → stdio (local process) or HTTP (remote), speaking JSON-RPC both ways
