Files
nexus/wiki/entities/MCP.md

46 lines
1.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
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/)