Cursor Agent
Facilitates cost-efficient repository analysis and code editing within Claude Code by offloading heavy tasks to a CLI.
소개
The Cursor Agent provides a minimal, hardened Model Context Protocol (MCP) server that wraps the `cursor-agent` CLI. Its primary purpose is to significantly reduce token usage and cost when performing repository analysis and code edits within environments like Claude Code. By offloading complex, repo-aware tasks such as analysis, code search, and planning to the CLI, the server allows developers to scope work to specific files, utilize cost-effective AI models, and control output verbosity, thereby optimizing resource consumption and enabling more efficient, targeted interactions.
주요 기능
- Configurable via environment variables for default model, timeouts, and executable paths
- 1 GitHub stars
- Multi-tool surface for varied tasks (chat, edit, analyze, search, plan, raw)
- Optimized for Claude Code and other MCP hosts
- Safe process spawning with robust timeout handling
- Reduces token usage and cost by offloading heavy tasks to CLI
사용 사례
- Performing cost-efficient repository analysis within AI coding environments.
- Generating and applying code edits or patches to specific files.
- Planning complex development tasks with AI assistance.