Model Context Protocol

Model Context Protocol (MCP)는 AI 모델이 사용하는 컨텍스트 데이터를 관리하고 교환하기 위한 규칙과 표준을 정의하여 일관되고 신뢰할 수 있는 작동을 보장합니다.

Model Context Protocols (MCP)는 결정을 내리기 위해 외부 정보에 의존하는 AI 시스템에 매우 중요합니다. AI 모델이 필요로 하는 컨텍스트 데이터를 패키징, 전송 및 해석하는 표준화된 방법을 설정합니다. 여기에는 사용자 프로필, 환경 조건 및 기록 데이터와 같은 정보가 포함됩니다. 잘 정의된 MCP가 없으면 AI 모델이 컨텍스트를 잘못 해석하여 부정확한 출력과 신뢰할 수 없는 성능으로 이어질 수 있습니다.

MCP는 종종 데이터 직렬화 형식, 통신 프로토콜 및 액세스 제어 메커니즘을 포함합니다. 이는 AI 시스템의 서로 다른 구성 요소가 기본 구현에 관계없이 컨텍스트를 원활하게 공유하고 이해할 수 있도록 합니다. 이를 통해 상호 운용성이 향상되고 더 복잡하고 적응 가능한 AI 애플리케이션을 개발할 수 있습니다.

        graph LR
  Center["Model Context Protocol"]:::main
  Pre_cryptography["cryptography"]:::pre --> Center
  click Pre_cryptography "/terms/cryptography"
  Rel_api["api"]:::related -.-> Center
  click Rel_api "/terms/api"
  Rel_function_calling["function-calling"]:::related -.-> Center
  click Rel_function_calling "/terms/function-calling"
  Rel_machine_learning["machine-learning"]:::related -.-> Center
  click Rel_machine_learning "/terms/machine-learning"
  classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
  classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
  classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
  classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
  linkStyle default stroke:#4b5563,stroke-width:2px;

      

🧠 지식 테스트

1 / 3

🧒 5살도 이해할 수 있게 설명

🔌 Think of it like a **Universal USB port** for AI. Before, if you wanted an AI to read your files or use a calculator, you had to build a special 'plug' every time. MCP is the standard socket that lets any AI model connect to any tool or [database](/ko/terms/database) without extra work.

🤓 Expert Deep Dive

A Model Context Protocol (MCP) formalizes the interface between an AI model and its surrounding contextual information, enabling context-aware computing. From a systems perspective, an MCP defines data schemas, serialization formats (e.g., JSON, Protobuf), and communication patterns (e.g., RPC, message queues) for context propagation. It addresses challenges related to context representation, such as handling uncertainty, temporal dynamics, and multi-modality. For example, an MCP might specify schemas for user profiles, session states, environmental sensor readings, or knowledge graph embeddings. The protocol can also define mechanisms for context inference or retrieval, potentially involving separate context management services or databases. Architectural considerations include the scope of context managed (e.g., session-level, user-level, global), the latency requirements for context updates, and the integration with model serving frameworks. MCPs can facilitate model versioning and A/B testing by allowing context variations to be systematically controlled. Potential limitations arise when dealing with highly emergent or unpredictable contextual factors not anticipated by the protocol's design. The trade-off is between the robustness and interoperability gained through standardization and the flexibility required for cutting-edge AI applications.

🔗 관련 용어

선행 지식:

📚 출처