Auto-sync: 2026-04-27 08:02
This commit is contained in:
46
wiki/entities/Composer.md
Normal file
46
wiki/entities/Composer.md
Normal file
@@ -0,0 +1,46 @@
|
||||
---
|
||||
title: "Composer"
|
||||
type: entity
|
||||
tags: [cursor, ai-agent, tool]
|
||||
sources: [mcp在cursor中的集成与应用详解]
|
||||
last_updated: 2026-04-26
|
||||
---
|
||||
|
||||
## Overview
|
||||
Composer 是 Cursor IDE 中的一个**对话构建模块**,支持用户与 AI 模型进行对话,并在对话中调用各种工具和 MCP Server。
|
||||
|
||||
## Two Modes
|
||||
Composer 支持两种交互模式:
|
||||
|
||||
### Normal Mode
|
||||
- AI 给出建议和命令
|
||||
- 用户需要手动复制命令并在终端执行
|
||||
- 适合探索性和调试性任务
|
||||
- 安全性较高
|
||||
|
||||
### Agent Mode
|
||||
- AI 自动执行发出的命令
|
||||
- 自动处理工具调用
|
||||
- 大幅减少手动操作步骤
|
||||
- 适合已验证的自动化流程
|
||||
- 需注意 [[YoloMode]] 的风险
|
||||
|
||||
## MCP Integration
|
||||
在 Agent 模式下,Composer 可以:
|
||||
1. 自动发现已配置的 MCP Server 工具
|
||||
2. 根据用户需求调用 MCP 工具链
|
||||
3. 多工具协同工作(如 Sequential Thinking + 热点新闻服务)
|
||||
4. 返回处理后的精准结果
|
||||
|
||||
## How to Identify
|
||||
当前处于 Agent 模式时,对话界面下方会显示 **"agent"** 标识。
|
||||
|
||||
## Connections
|
||||
- [[Cursor]] ← 所在产品
|
||||
- [[YoloMode]] ← 相关安全设置
|
||||
- [[AgentMode]] ← 交互模式
|
||||
- [[Mcp在Cursor中的集成与应用详解]] ← 使用场景
|
||||
|
||||
## See Also
|
||||
- [[ModalContextProtocol]]
|
||||
- [[SequentialThinking]]
|
||||
Reference in New Issue
Block a user