Files
nexus/wiki/concepts/MCP.md

874 B
Raw Blame History

id, title, type, tags, sources, last_updated
id title type tags sources last_updated
mcp MCP concept
AI
protocol
tool-integration
LLM Terms Framework
2025-12-20

Definition

MCPModel Context Protocol模型上下文协议是一种标准化接口用于连接大模型与外部数据和工具。

Purpose

解决LLM无法访问实时数据和外部工具的问题

  • LLM给出执行步骤
  • 实际执行需要配合MCP
  • 实现智能体Agent功能

Architecture

  • Client运行在AI应用端
  • Server:运行在外部服务或本地

Use Cases

  • 文件系统访问
  • API调用
  • 数据库查询
  • 代码执行

Connection to Agent

Agent = LLM + MCP

  • LLM负责理解和规划
  • MCP负责执行具体操作

Connections