Files
nexus/wiki/entities/Cursor.md
2026-04-22 16:03:25 +08:00

44 lines
1.8 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, ide, code-editor]
last_updated: 2026-04-22
---
## Overview
Cursor是基于VS Code的AI增强代码编辑器集成了AI模型辅助代码生成及多任务代理操作。可免费使用支持付费升级获取更多生成额度。
## Aliases
- Cursor 2.0
- Cursor IDE
## Key Features
- 基于VS Code构建继承VS Code的完整功能
- 集成AI模型辅助代码生成Composer模型比同类快4倍
- 支持多AI代理并行操作
- 支持MCPModel Context Protocol扩展
- 提供Diff功能审查AI生成的代码改动
- 支持项目规则自定义(如强制生成文档注释)
## Agent Modes
- **Plan规划模式**让AI拆解步骤形成清晰的开发路线图
- **Agent执行模式**AI代理执行计划任务逐步生成代码会修改文件
- **Ask咨询模式**:仅返回文本答案,不改动代码,安全性最高
## Connections
- [[VS Code]] — Cursor基于VS Code构建
- [[Composer]] — Cursor自研AI模型
- [[MCPModel Context Protocol]] — Cursor支持的扩展协议
- [[Vibe Coding]] — Cursor是Vibe Coding的典型工具
- [[Claude Code]] — 类似产品AI代码编辑工具
## Sources
- [[cursor-2-0初学者使用指南]]
- [[mcp在cursor中的集成与应用详解]]
## New Insights (from MCP in Cursor Integration)
- Composer 支持 Agent 模式和 Normal 模式两种交互方式Agent 模式可自动执行 MCP 工具链
- MCP Server 在 Cursor 中有两种接入方式SSE 服务端模式和本地 Command 命令行方式
- Agent 模式下的 Yolo Mode 会无确认执行所有命令,存在误操作风险(默认关闭)
- 典型 MCP 工具热点新闻服务smisery 提供九个新闻来源、Sequential Thinking 逻辑推理工具