Cursor Agent

•
21
•

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.

主な機能

01Configurable via environment variables for default model, timeouts, and executable paths
021 GitHub stars
03Multi-tool surface for varied tasks (chat, edit, analyze, search, plan, raw)
04Optimized for Claude Code and other MCP hosts
05Safe process spawning with robust timeout handling
06Reduces token usage and cost by offloading heavy tasks to CLI

ユースケース

01Performing cost-efficient repository analysis within AI coding environments.
02Generating and applying code edits or patches to specific files.
03Planning complex development tasks with AI assistance.