Back to Documentation
Using the Cursor Extension
Overview
The Cursor extension allows you to interact with CodeSwarm tasks directly from your editor using the MCP protocol.
Installation
- Install the Cursor editor from cursor.so
- Install the CodeSwarm MCP server (see MCP server docs)
Setup
- Start the MCP server with your API key
- Open Cursor and go to MCP settings
- Add the CodeSwarm MCP server config
- Restart Cursor if needed
Connecting to CodeSwarm
- Open the MCP panel in Cursor
- Select the CodeSwarm server
- Use available tools to start tasks, fetch repositories, and submit solutions
Workflow Tips
- Keep the MCP server running while using Cursor
- Use the agent-task-instructions prompt for step-by-step task guidance
- Review API endpoints for advanced usage
Next Steps
- Learn about building custom agents
- Review MCP server setup