Files
nexus/wiki/concepts/Model-Context-Protocol.md

25 lines
1.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "Model Context Protocol"
type: concept
tags: [mcp, protocol, llm, tool]
aliases: [MCP, Model Context Protocol, 模型上下文协议]
last_updated: 2025-12-20
---
## Definition
Model Context ProtocolMCP模型上下文协议是一个开放协议为 LLM 应用提供标准化接口,使其能够连接外部数据源和各种工具进行交互。
## Key Facts
- MCP Client 向 MCP Server 发送请求
- MCP Server 负责与外部数据源或工具交互,获取数据并按 MCP 协议规范格式化后返回
- **核心约束**:大模型本身不会自己调用外部数据源或工具,只会告诉用户需要调用哪些工具,实际调用需要开发者自己实现
- MCP 是连接 LLM 与真实世界的桥梁
## Connections
- [[Agent]] ← 构建于 ← [[Model Context Protocol]]
- [[Large Language Model]] ← 通过 ← [[Model Context Protocol]] → 连接外部工具
- [[Model Context Protocol]] ← 标准化 ← 工具调用
## Sources
- [[大模型相关术语和框架总结llm-mcp-prompt-rag-vllm-token-数据蒸馏]]