1.5 KiB
1.5 KiB
title, type, tags, sources, last_updated
| title | type | tags | sources | last_updated | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Cursor | entity |
|
|
2026-04-26 |
Overview
Cursor 是一款支持 MCP(Modal Context Protocol)集成的 AI 编程 IDE,基于 VS Code 定制,集成了多种大模型用于代码补全、对话和自动化任务执行。
MCP Integration
Cursor 是 MCP 协议的重要客户端实现,支持在 IDE 中直接接入 MCP Server:
接入方式:
- 下载支持 MCP 功能的 Cursor 最新版
- 在 Cursor 设置中新增 MCP Server
- 选择接入类型:
- SSE 服务方式:通过 HTTP SSE 连接远程 MCP Server
- Command 方式:通过本地执行命令连接本地 MCP Server
常见问题:
- 配置后出现 "no tools found" 错误 → 检查 MCP 服务路径或网络代理设置
- 建议直接填写 MCP 原始地址,绕过代理层
Composer Module
Cursor 的 Composer 模块支持两种交互模式:
- Normal 模式:需要用户手动复制 AI 给出的命令并执行
- Agent 模式:自动执行 AI 发出的命令,处理工具调用(需开启)
Version
- Cursor 2.0 及以上版本支持 MCP 集成
Connections
- Mcp在Cursor中的集成与应用详解 ← MCP 集成核心教程
- Cursor2.0初学者使用指南 ← 入门指南
- ModalContextProtocol ← 集成协议
- Composer ← 功能模块
- AgentMode ← 交互模式