Skip to main content
Coming Soon: Cursor CLI is not yet available in Blocks. This documentation is provided for reference. Stay tuned for updates on availability.

Overview

Cursor CLI is an AI-first code editor built on VS Code, trusted by Fortune 500 companies for its advanced capabilities. It features the proprietary Cursor 2.0 model alongside support for GPT-5, Claude 4.5 models, Gemini 3 Pro, and Grok Code. The Composer feature enables instant code generations with parallel agent support for complex tasks.

Latest Models

Cursor CLI provides access to cutting-edge models:
  • Cursor 2.0 - Proprietary model optimized for code editing
  • GPT-5 - OpenAI’s latest flagship model
  • Claude 4.5 Sonnet - Anthropic’s high-performance model
  • Claude 4.5 Opus - Anthropic’s most capable model
  • Gemini 3 Pro - Google’s advanced reasoning model
  • Grok Code - Specialized code generation model
Cursor’s Composer feature allows multiple agents to work in parallel, significantly speeding up complex multi-file changes.

Authentication

When available, Cursor CLI will require a Cursor API key:
Get your Cursor API key (when available)
  1. Sign up at Cursor
  2. Subscribe to Cursor Pro or Team plan
  3. Generate an API key in Cursor settings
  4. Set the environment variable: CURSOR_API_KEY=cursor-...
  5. In Blocks Dashboard, go to DashboardAgents
  6. Select Cursor CLI and paste your API key
Cursor API keys will be available with Cursor Pro ($20/month) or Team plans. The API will include access to all supported models.

Using Cursor CLI

When Cursor CLI becomes available, you will be able to use the /cursor slash command to invoke it:
@blocks /cursor refactor this component with parallel agents
@blocks /cursor implement this feature using Cursor 2.0
Cursor CLI is coming soon and is not yet available for use. When released, it will need to be explicitly invoked with the /cursor command and cannot be set as your default agent.

Best For

  • VS Code integration (familiar interface)
  • Parallel agent workflows (multiple agents working together)
  • Instant code generations with Composer
  • Fortune 500-grade reliability
  • Complex multi-file refactoring
  • Teams already using VS Code
  • Access to multiple premium models in one subscription

Cost

Cursor CLI uses your Cursor subscription:
  • Cursor Pro: $20/month (includes API access)
  • Cursor Team: Custom pricing for organizations
  • Check Cursor Pricing for details
  • All models included in subscription (no per-token billing)
  • Monitor usage in Cursor dashboard
Unlike pay-as-you-go API services, Cursor uses a subscription model with unlimited usage, making costs predictable.

Next Steps