Connecting to Cursor IDE

Cursor is a deeply integrated AI code editor. By giving Cursor access to Libro via MCP, Cursor will remember your architectural decisions, code patterns, and project rules across all your different workspaces.

Step 1: Open Cursor Settings

  1. Open Cursor Settings.
  2. Navigate to Features > MCP Servers.
  3. Click the + Add New MCP Server button.

Step 2: Configure the Server

We will run the server locally using npx.

  1. Name: libro
  2. Type: Select command
  3. Command: npx -y libro-mcp-server@latest
  4. Environment Variables: Add the following (found on your dashboard):
    • LIBRO_API_KEY: YOUR_API_KEY
    • LIBRO_USER_ID: YOUR_USER_ID
    • LIBRO_BASE_URL: https://www.libro.co.in

Step 3: Verify

Click Save. You should see a green dot indicating the server is connected. Cursor can now automatically access your centralized developer memory!