วันพฤหัสบดีที่ 2 กรกฎาคม พ.ศ. 2569

MCP

 MCP stands for Model Context Protocol. It is an open-source standard created by Anthropic that allows AI assistants (like Claude) to seamlessly connect to external data sources, APIs, and tools. It allows AI models to dynamically discover tools, read resources (like files or database records), and interact with them in real time.

MCP separatesthe AI application from the underlying external services using a client-server architecture over JSON-RPC 2.0 messages:  

  • MCPHost: The LLM-powered application (such as an IDE, desktop assistant like Claude desktop, or agent runtime) that coordinates model calls and user interactions.  
  • MCP Client: A connector inside the host that maintains a dedicated session with a specific MCP server, discovers available capabilities, and translates schemas for the model.  
  • MCP Server: A local process or remote service that wraps an external system (like GitHub, Figma, or a local databases, repositories, SaaS APIs, filesystems) and exposes its capabilities.