# Cursor

In Cursor, MCP servers are declared in a `mcp.json` file:

- `~/.cursor/mcp.json` to use Labelcamp in every project;
- `.cursor/mcp.json` in a project to use it there only.

1. Open the file, or create it, and add Labelcamp under `mcpServers`:

   ```json
   {
     "mcpServers": {
       "labelcamp": {
         "url": "https://mcp.labelcamp.io/mcp"
       }
     }
   }
   ```

2. Save. Cursor detects the new server and asks you to sign in.
3. Your browser opens on Labelcamp: sign in, complete two-factor
   authentication and **authorize** Cursor.

There is no client ID or secret to add to the file: Cursor registers itself
with Labelcamp during sign-in.

The Labelcamp tools are then available to the Cursor agent in chat.
