Update nexus wiki content

This commit is contained in:
2026-05-03 05:42:06 +08:00
parent 90f3811b83
commit 111bc65b7b
707 changed files with 32306 additions and 7289 deletions

View File

@@ -1,43 +1,18 @@
---
title: "Cursor"
type: entity
tags: [ai, ai-agent, ide, mcp]
sources: [mcp在cursor中的集成与应用详解, cursor-2-0初学者使用指南]
last_updated: 2026-04-26
tags: []
last_updated: 2026-04-29
---
## Overview
Cursor 是一款支持 MCPModal Context Protocol集成的 **AI 编程 IDE**,基于 VS Code 定制,集成了多种大模型用于代码补全、对话和自动化任务执行
Cursor 是基于 AI 的代码编辑器(基于 VS Code。The Agency 将 Agent 转换为 `.mdc` 规则文件Cursor 的原生配置格式),以项目级作用域安装
## MCP Integration
Cursor 是 MCP 协议的重要客户端实现,支持在 IDE 中直接接入 MCP Server
## Key Facts
- Agent 格式:`.mdc`Cursor 规则文件)
- 作用域Project-Scoped项目级
- 安装方式:从项目根目录运行 `./scripts/install.sh --tool cursor`
- 前置步骤:无需 convert直接转换
**接入方式:**
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]]
## Sources
- [[OpenCode Integration]]`Agent/agency-agents/integrations/README.md`