Auto-sync: 2026-04-22 16:03
This commit is contained in:
@@ -30,3 +30,15 @@ MCP(Model Context Protocol,模型上下文协议)是一种支持将外部
|
||||
|
||||
## Sources
|
||||
- [[cursor-2-0初学者使用指南]]
|
||||
- [[mcp在cursor中的集成与应用详解]]
|
||||
|
||||
## Protocol Architecture (detailed from MCP in Cursor Integration)
|
||||
- **Client-Server 架构**:MCP 由 MCP Server(服务提供方)和 MCP Client(调用方,如 Cursor)组成
|
||||
- **三种功能接口**:
|
||||
- 资源获取(GET,类似 HTTP GET):用于读取外部数据源
|
||||
- 工具调用(POST,类似 HTTP POST):用于触发外部工具执行
|
||||
- Promise 提示词:用于异步交互和状态管理
|
||||
- **接入方式**:
|
||||
- SSE(Server-Sent Events):服务端推送模式,适合在线 MCP 服务
|
||||
- Command(命令行):本地执行命令方式,适合本地 MCP 服务
|
||||
- **典型 MCP Server**:smisery 热点新闻服务(9个新闻来源)、Sequential Thinking 逻辑推理工具
|
||||
|
||||
Reference in New Issue
Block a user