整理文件路径:Technical→AI/
This commit is contained in:
45
wiki/entities/MCP.md
Normal file
45
wiki/entities/MCP.md
Normal file
@@ -0,0 +1,45 @@
|
||||
---
|
||||
title: "MCP"
|
||||
type: entity
|
||||
tags: [mcp, protocol, integration]
|
||||
last_updated: 2026-04-14
|
||||
---
|
||||
|
||||
# MCP
|
||||
|
||||
Modal Context Protocol(模态上下文协议),AI大模型与外围服务集成的协议。
|
||||
|
||||
## 基本信息
|
||||
- **全称**:Modal Context Protocol
|
||||
- **类型**:Client-Server架构协议
|
||||
- **用途**:实现大模型与外围工具服务的高效集成
|
||||
|
||||
## 核心功能
|
||||
|
||||
### 三种接口
|
||||
MCP Server提供三种功能接口:
|
||||
1. **资源获取**(Resource/GET):类似HTTP GET请求
|
||||
2. **工具调用**(Tool/POST):类似POST请求
|
||||
3. **Promise提示词**:用于多样化交互与扩展
|
||||
|
||||
### 客户端
|
||||
- [[Cursor]]:AI代码编辑器
|
||||
- Claude Desktop
|
||||
- 其他支持MCP的客户端
|
||||
|
||||
### 服务端
|
||||
- 热点新闻MCP Server
|
||||
- Sequential Thinking工具
|
||||
- [[n8n-mcp]]:N8N的MCP实现
|
||||
|
||||
## 接入方式
|
||||
1. **SSE服务方式**:通过Server-Sent Events接入
|
||||
2. **本地Command方式**:通过本地执行命令接入
|
||||
|
||||
## 使用场景
|
||||
|
||||
详见:
|
||||
- [[MCP在Cursor中的集成与应用]]
|
||||
|
||||
## 相关链接
|
||||
- [MCP协议文档](https://modelcontextprotocol.io/)
|
||||
Reference in New Issue
Block a user