Back to timeline

New CLI Features and Improved CLI Performance

Cursor Changelog·

This release introduces new CLI controls for models, MCP management, rules and commands, alongside major hooks performance improvements and bug fixes.

Model list and selection

Use the new **`agent models`** command, **`--list-models`** flag, or **`/models`** slash command to list all available models and quickly switch between them.

<figure><video src="https://ptht05hbb1ssoooe.public.blob.vercel-storage.com/assets/uploads/models-final.mp4" controls preload="metadata" loop></video></figure>

Rules generation and management

Create new rules and edit existing ones directly from the CLI with the **`/rules`** command.

<figure><video src="https://ptht05hbb1ssoooe.public.blob.vercel-storage.com/assets/uploads/rules-clean-2.mov" controls preload="metadata" loop></video></figure>

Enabling MCP servers

Enable and disable MCP servers on the fly with **`/mcp enable`** and **`/mcp disable`** commands.

<figure><video src="https://ptht05hbb1ssoooe.public.blob.vercel-storage.com/assets/uploads/enable-mcp.mov" controls preload="metadata" loop></video></figure>

New Features (7)

  • Tabs are now automatically named based on chats.
  • New **`agent`** command is now the primary CLI entrypoint. **`cursor-agent`** remains as a backward-compatible alias.
  • Added **`agent models`** command, **`-list-models`** flag, and **`/models`** slash command to list all available models.
  • Added **`/mcp enable`**, **`/mcp disable`** commands to manage MCP servers.
  • Added **`/rules`** to create new rules and edit existing rules.
  • Added **`/commands`** to create new commands and edit existing commands.
  • Executed subcommands are now recorded in command history.
  • MCP server names with spaces are now supported in all **`/mcp`** commands.

Hooks (3)

  • Hooks now execute in parallel with merged responses, improving performance for projects with multiple hook scripts.
  • Hooks execution latency reduced by 10x.
  • **`afterFileEdit`** hook now correctly provides **`old_string`** with the file's previous content for proper diff capture.

Improvements & Bug Fixes (7)

  • **`Ctrl+D`** now follows standard shell behavior, requiring a double-press to exit.
  • **`Shift+Enter`** now inserts a newline instead of submitting, making it easier to write multi-line prompts.
  • Fixed ghost line rendering bug where deleted lines would leave visual artifacts on screen.
  • Fixed race condition where conversation state could be overwritten during turn completion.
  • Fixed "Cannot find module" error related to node-pty on some platforms.
  • Fixed chat name generation.
  • Fixed several bugs with follow-up messages.