《Cursor Docs》-Cloud Agent Builds
Builds prepare your Cloud Agent environment in the background. Each agent starts from a pre built machine with your repositories, tools, and dependencies ready.
Read More《Cursor Docs》-Best Practices
Use these recommendations to get more reliable Cloud Agent runs.
Read More《Cursor Docs》-Automations
Cursor Automations run cloud agents in the background, either on a schedule or in response to events from GitHub, GitLab, Slack, webhooks, Linear, and more.
Read More《Cursor Docs》-Webhooks
When you create an agent with a webhook URL, Cursor will send HTTP POST requests to notify you about status changes. Currently, only statusChange events are supported, specifically when an agent encounters an ERROR or FINISHED state.
Read More《Cursor Docs》-Cloud Agents API
The Cloud Agents API v1 is in public beta. APIs may change before general availability.
Read More《Cursor Docs》-Cloud Agents
Cloud agents use the same agent fundamentals but run in isolated VMs in the cloud with full development environments instead of on your local machine. The development environment is similar to the setup on your laptop: cloned repos, installed dependencies, secrets, startup commands, and network access.
Read More《Cursor Docs》-Using Agent in CLI
The CLI supports the same modes as the editor. Switch modes using slash commands or the mode flag.
Read More《Cursor Docs》-Shell Mode
Shell Mode runs shell commands directly from the CLI without leaving your conversation. Use it for quick, non interactive commands with safety checks and output displayed in the conversation.
Read More《Cursor Docs》-Terminal setup
Configure your terminal for the best Cursor CLI experience. This guide covers keybindings for multi line input, Vim mode, and theme synchronization.
Read More《Cursor Docs》-Slash commands
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 mode, show the current plan, or submit a prompt in Plan mode /ask Toggle Ask mode for read only questions /debug [prompt] Toggle Debug mode or submit a prompt in Debug mode /goal [objective] Give the agent a long lived objective to work towards until it's fully complete. Rolling out. /logs Show the debug log path and copy it to the clipboard /update Update Cursor Agent to the latest version /max mode Toggle Max Mode on legacy request based plans /rename <name Rename the current chat session /clear Start a new chat session. /new, /new chat, and /newchat are aliases. /resume Open recent chats and resume one /fork Fork the current chat into a new session /summarize Summarize the conversation to reduce context. /compress is an alias. /rewind Jump back to a previous message /vim Toggle Vim keys /line numbers Toggle line numbers in code blocks /show thinking Toggle thinking block display /status indicators Toggle terminal title status indicators /shell [command] Enter Shell Mode. /sh and /run are aliases. /about Show CLI version, system, and account info. Also copies it to the clipboard. /setup terminal Configure terminal newline keybindings. See Terminal setup. /help [command] Show help. Use /help <command for command details. /feedback <message Share feedback with the team /open Open the repository's Git root in Cursor. /cursor is an alias. /copy request id Copy the last request ID to the clipboard /copy conversation id Copy the current conversation ID to the clipboard /logout Sign out from Cursor /quit Exit /exit Exit /mcp [list\ list tools] [identifier] Manage MCP servers and list tools for a server /plugin [subcommand] Manage plugins and marketplaces /config Configure CLI settings interactively /copy Copy a previous user message to the clipboard /sandbox Configure sandbo
Read More《Cursor Docs》-Permissions
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).
Read More《Cursor Docs》-Output format
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 simplified text format for human readable output (text).
Read More《Cursor Docs》-Authentication
Cursor CLI supports two authentication methods: browser based login (recommended) and API keys.
Read More《Cursor Docs》-Cursor CLI
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 pipelines, the CLI provides powerful coding assistance right where you work.
Read More《Cursor Docs》-MCP
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 you've configured will work with both.
Read More《Cursor Docs》-Using Headless CLI
Use Cursor CLI in scripts and automation workflows for code analysis, generation, and refactoring tasks.
Read More《Cursor Docs》-GitHub Actions
Use Cursor CLI in GitHub Actions and other CI/CD systems to automate development tasks.
Read More《Cursor Docs》-CLI Changelog
The latest features, improvements, and fixes shipping to Cursor CLI. Run agent version to check your installed version, and agent update to upgrade in place.
Read More《Cursor Docs》-ACP
Cursor CLI supports ACP (Agent Client Protocol) for advanced integrations. You can run agent acp and connect a custom client over stdio using JSON RPC.
Read More《Cursor Docs》-Bugbot
Bugbot reviews pull requests and identifies bugs, security issues, and code quality problems.
Read More《Cursor Docs》-PR Routing & Approval
PR Routing & Approval routes pull requests to the right reviewers and can approve low risk changes.
Read More