Tools available to agents for searching, editing, and running code
A list of all tools available to modes within the Agent, which you can enable or disable when building your own custom modes.
Tools used to search your codebase and the web to find relevant information.
Read File
Reads up to 250 lines (750 in max mode) of a file.
List Directory
Read the structure of a directory without reading file contents.
Codebase
Perform semantic searches within your indexed codebase.
Grep
Search for exact keywords or patterns within files.
Search Files
Find files by name using fuzzy matching.
Web
Generate search queries and perform web searches.
Fetch Rules
Retrieve specific rules based on type and description.
Tools used to make specific edits to your files and codebase.
Edit & Reapply
Suggest edits to files and apply them automatically.
Delete File
Delete files autonomously (can be disabled in settings).
Chat can interact with your terminal.
Terminal
Execute terminal commands and monitor output.
By default, Cursor uses the first terminal profile available.
To set your preferred terminal profile:
Cmd/Ctrl+Shift+P
)Chat can use configured MCP servers to interact with external services, such as databases or 3rd party APIs.
Toggle MCP Servers
Toggle available MCP servers. Respects auto-run configuration.
Learn more about Model Context Protocol and explore available servers in the MCP directory.
Auto-apply Edits
Automatically apply edits without manual confirmation.
Auto-run
Automatically execute terminal commands and accept edits. Useful for running test suites and verifying changes.
Guardrails
Configure allow lists to specify which tools can execute automatically. Allow lists provide better security by explicitly defining permitted operations.
Auto-fix Errors
Automatically resolve linter errors and warnings when encountered by Agent.