返回 Skill 列表
extension
分类: 开发与工程无需 API Key

cursor-explorer-mcp

用于需要多文件分析的耗令牌操作 - 代码库探索、广泛搜索、架构理解、跟踪流程、查找跨文件的实现。使用MCP光标代理服务器(公司付费)并提供干净的异步接口。请勿用于单文件分析、解释当前上下文中已有的代码或纯推理任务。

person作者: jakexiaohubgithub

Cursor Explorer (MCP)

Trigger immediately when you see:

  • "Find where X is..." → cursor-agent
  • "How does X work?" (multi-file) → cursor-agent
  • "Trace the flow of..." → cursor-agent
  • Manual approach needs 3+ file reads → cursor-agent

Skip for: single file, pure reasoning, code in context, 1-2 line answers

Workflow

# 1. Start query (batch multiple questions)
start = mcp__cursor_agent__cursor_agent_start({
  "query": "Find where X is. Give file:line, code snippets, purpose."
})
query_id = json.loads(start)["query_id"]

# 2. Get result (blocks until done)
result = mcp__cursor_agent__cursor_agent_result({
  "query_id": query_id,
  "wait": True  # Blocks automatically, no manual monitoring needed
})
output = json.loads(result)

# 3. If completed, present findings. If failed, fall back to Read/Grep.

Never retry on failure - just fall back to manual tools.

Query Tips

  • Request file:line refs
  • Ask for code snippets
  • Batch related questions
  • Be specific about format needed