Open a project in Cursor
Use an existing project or clone our example:- Ensure git is installed
- Clone the example project:
Autocomplete with Tab
Tab is the autocomplete model we’ve trained in-house. It’s a great way to ease into AI assisted coding if you’re not used to it. With Tab, you can:- Autocomplete multiple lines and blocks of code
- Jump in and across files to the next autocomplete suggestion
- Start typing the beginning of a function:
- Tab suggestions appear automatically
- Press Tab to accept the suggestion
- Cursor suggests parameters and function bodies
Inline Edit a selection
- Select the function you just created
- Press Ctrl+K
- Type “make this function calculate fibonacci numbers”
- Press Enter to apply the changes
- Cursor adds imports and documentation
Chat with Agent
- Open the Chat panel (Ctrl+I)
- Ask: “Add tests for this function and run them”
- Agent will create a test file, write test cases, and run them for you
Bonus
Advanced features:Handoff work to Background Agent
Handoff work to Background Agent
- Open the Background Agent control panel (Ctrl+E)
- Ask: “Find and fix a bug in this project”
- Background Agent will:
- Create a remote Virtual Machine (VM)
- Explore your project
- Detect bugs
- Propose fixes
Write a rule
Write a rule
- Open the command palette (Ctrl+Shift+P) 2. Search: “New Cursor
Rule” 3. Name it (e.g.,
style-guide
) 4. Select Rule Type “Always” 5. Define your style:Prefer using camelCase for variable names
Set up an MCP server
Set up an MCP server
- Visit our MCP directory
- Choose a tool
- Click “Install”
- Open Cursor Settings (Ctrl+Shift+J)
- Go to “Tools & Integrations”
- Click “New MCP Server”
Next steps
Explore these guides to learn more:Working with Context
Provide effective context for better results
Selecting Models
Choose the right model for your task