Files
nexus/wiki/entities/Cursor.md
2026-04-27 08:02:55 +08:00

44 lines
1.5 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: "Cursor"
type: entity
tags: [ai, ai-agent, ide, mcp]
sources: [mcp在cursor中的集成与应用详解, cursor-2-0初学者使用指南]
last_updated: 2026-04-26
---
## Overview
Cursor 是一款支持 MCPModal Context Protocol集成的 **AI 编程 IDE**,基于 VS Code 定制,集成了多种大模型用于代码补全、对话和自动化任务执行。
## MCP Integration
Cursor 是 MCP 协议的重要客户端实现,支持在 IDE 中直接接入 MCP Server
**接入方式:**
1. 下载支持 MCP 功能的 Cursor 最新版
2. 在 Cursor 设置中新增 MCP Server
3. 选择接入类型:
- **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]] ← 交互模式
## See Also
- [[OpenCode]]
- [[Trae]]