25 lines
618 B
Markdown
25 lines
618 B
Markdown
---
|
||
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]]
|