Blog
In-depth articles on AI agents, LLM engineering, servers, Python and software development.
Command Description /model [filter] Select a model. Press Tab to edit. /run everything [on\ off\ status] Toggle Run Everything or show its status. /auto run is an alias. /plan [prompt] Switch to Plan
Configure what the agent is allowed to do using permission tokens in your CLI configuration. Permissions are set in /.cursor/cli config.json (global) or <project /.cursor/cli.json (project specific).
Global options
The Cursor Agent CLI provides multiple output formats with the output format option when combined with print. These formats include structured formats for programmatic use (json, stream json) and a si
Configure the Agent CLI using the cli config.json file.
Cursor CLI supports two authentication methods: browser based login (recommended) and API keys.
Cursor CLI lets you interact with AI agents directly from your terminal to write, review, and modify code. Whether you prefer an interactive terminal interface or print automation for scripts and CI p
The Cursor CLI supports Model Context Protocol (MCP) servers, allowing you to connect external tools and data sources to agent. MCP in the CLI uses the same configuration as the editor any MCP servers
Installation
Use Cursor CLI in scripts and automation workflows for code analysis, generation, and refactoring tasks.