Cursor CLIintegrationsbuilt-in
/mcp
Browse, enable, and configure MCP servers. Subcommands: list, enable <name>, disable <name>.
Syntax
/mcp list | enable <name> | disable <name>Example
/mcp listWhen to use
- ▸Checking which MCP integrations are available
- ▸Enabling a specific MCP server for a task
- ▸Disabling an MCP server that's causing issues
More Cursor CLI commands
exploration
/ask
Switch to Ask mode for read-only exploration — the agent searches and answers questions without editing any files.
configuration
/auto-run
Toggle auto-run (default) or set explicitly on/off/status. Controls whether tools run without asking for confirmation.
setup
/commands
Create or edit custom slash commands for repetitive workflows.
context-management
/compress
Summarize conversation to free context window space while keeping a high-level record of what happened.