CU

Agent profile

Cursor CLI

Built by Cursor

Cursor CLI brings Cursor’s coding agent to the terminal for interactive repository work and non-interactive scripts or CI jobs.[1]

CategoryCoding Agent
LifecycleVerified
Official agent docsVisit source ↗

Developer snapshot

Key characteristics

Verified Jul 18, 2026

Primary use
Software engineering[1]
Interface
Terminal[1]
Automation
Print mode with structured output[1]
Extensions
MCP and project rules[1]

Technical profile

What developers should know

01

Interactive and scripted work

The official CLI supports interactive sessions, resumable threads, repository editing, shell tools, and non-interactive print mode for scripts and CI.[1] [2]

02

Controls and project context

Cursor documents command approval, MCP integrations, .cursor/rules, AGENTS.md, and CLAUDE.md context. Non-interactive mode has write and shell access, so it should run with explicit repository and credential boundaries.[2]

Choose the interface

Official interfaces

Use the documented interface that matches the deployment boundary, then pin the agent, model, permissions, and extension configuration before comparing results.[1] [2]