新增wiki命令文件

This commit is contained in:
2026-04-14 16:02:50 +08:00
parent 65803c911d
commit c6e3d3c5db
485 changed files with 12578 additions and 396 deletions

24
wiki/concepts/MCP.md Normal file
View File

@@ -0,0 +1,24 @@
---
title: "MCP"
type: concept
tags: [AI, 协议, 集成]
sources: [mcp-in-cursor]
last_updated: 2026-04-14
---
## Definition
Modal Context Protocol基于Client-Server架构的协议用于AI大模型与外围工具的集成交互。
## 核心接口
| 接口 | 类型 | 功能 |
|------|------|------|
| 资源获取 | GET | 获取外部资源 |
| 工具调用 | POST | 执行外部工具 |
| Promise提示词 | - | 多样化交互 |
## Cursor接入方式
- **SSE方式**通过Server-Sent Events接入
- **Command方式**:通过本地执行命令接入
## Connections
- [[Cursor]] ← 集成 ← [[MCP]]