oh-my-ag-mcp-integration
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chineseoh-my-ag MCP Integration
oh-my-ag 与 MCP 集成
When to use this skill
何时使用此技能
- You want to use through MCP in a ulw workflow
oh-my-ag - You need a reproducible installation/setup sequence
- You need bridge mode between stdio and HTTP/SSE
- You need quick verification for MCP readiness
- 你希望在ulw工作流中通过MCP使用
oh-my-ag - 你需要可复现的安装/设置流程
- 你需要在标准输入输出(stdio)与HTTP/SSE之间的桥接模式
- 你需要快速验证MCP是否就绪
Instructions
操作步骤
Step 1: Install prerequisites
步骤1:安装前置依赖
- Install
bun - Install
uv - Authenticate at least one CLI (,
gemini,claude, orcodex)qwen
- 安装
bun - 安装
uv - 至少认证一个CLI(、
gemini、claude或codex)qwen
Step 2: Install oh-my-ag in the target project
步骤2:在目标项目中安装oh-my-ag
bash
bunx oh-my-agThis installs , , and default config for the target workspace.
.agent/skills.agent/workflowsbash
bunx oh-my-ag此命令会在目标工作区中安装、及默认配置。
.agent/skills.agent/workflowsStep 3: Run setup workflow
步骤3:运行设置工作流
In your agent chat:
text
/setupSetup checks CLI availability and MCP connection status.
在你的Agent聊天界面中输入:
text
/setup设置流程会检查CLI可用性及MCP连接状态。
Step 4: Configure transport mode
步骤4:配置传输模式
Use one of:
- Command mode: MCP server runs per session
- SSE mode: MCP server shared via URL
If your IDE path requires bridging, run:
bash
bunx oh-my-ag bridge http://localhost:12341/sse选择以下模式之一:
- 命令模式:每个会话运行一个MCP服务器
- SSE模式:通过URL共享MCP服务器
如果你的IDE路径需要桥接,运行:
bash
bunx oh-my-ag bridge http://localhost:12341/sseStep 5: Verify health
步骤5:验证健康状态
bash
bunx oh-my-ag doctorPass criteria:
- Required CLI is detected
- MCP target is reachable/configured
- No critical setup warnings
bash
bunx oh-my-ag doctor通过标准:
- 检测到所需的CLI
- MCP目标可访问/已配置
- 无严重设置警告
Output format
输出格式
Provide:
- Installation commands executed
- Selected MCP mode (command or SSE)
- Verification result from
doctor - Any blocking issue and exact fix command
请提供:
- 已执行的安装命令
- 所选的MCP模式(命令模式或SSE模式)
- 命令的验证结果
doctor - 任何阻塞问题及具体的修复命令
Constraints
约束条件
MUST
必须遵循
- Run install from project root
- Use before execution workloads
/setup - Run after configuration
doctor
- 从项目根目录运行安装命令
- 在执行工作负载前使用
/setup - 配置完成后运行
doctor
MUST NOT
禁止操作
- Do not skip MCP verification
- Do not assume bridge mode is always required
- 不要跳过MCP验证步骤
- 不要假设始终需要桥接模式
References
参考资料
- README: https://github.com/first-fluke/oh-my-ag
oh-my-ag - Integration guide: https://github.com/first-fluke/oh-my-ag/blob/main/web/content/en/guide/integration.md