> For the complete documentation index, see [llms.txt](https://docs.veedna.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.veedna.com/lineaje-mcp-server/connect-your-ide/cursor.md).

# Cursor

Add the Lineaje MCP server to Cursor.

## Prerequisites

* Cursor, latest version recommended.
* A Lineaje Portal account with an SBOM360 or UnifAI license.

## One-click install

Click the button below. Cursor opens and shows the server details. Click **Install**, then continue to [Sign in](#sign-in).

[![Add Lineaje MCP Server to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en/install-mcp?name=Lineaje-MCP-Server\&config=eyJ1cmwiOiJodHRwczovL21jcC52Mi5wcm9kLnZlZWRuYS5jb20vbWNwIn0%3D)

If the button doesn't open Cursor, use manual configuration instead.

## Manual configuration

1. In Cursor, click the settings gear at the top right and select **Cursor Settings**.
2. From the left navigation, select **Tools & MCP**.

<figure><img src="https://2983949833-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzRZpxg1UUX5iPuJAfelm%2Fuploads%2F1ZJU6xDhJ4b5sx4xUbUA%2Fimage.png?alt=media&#x26;token=cd322cf2-b289-47ce-b7d4-a7ca8640e4e4" alt="Cursor Settings"><figcaption></figcaption></figure>

3. Under **Installed MCP Servers**, click **Add Custom MCP**. Cursor opens your `mcp.json` file.

<figure><img src="https://2983949833-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzRZpxg1UUX5iPuJAfelm%2Fuploads%2F0mjgZt37ixJ0sACdfbKs%2Fimage.png?alt=media&#x26;token=275a0592-d19e-47ca-b827-0c1fd9d1259d" alt="Add Custom MCP in Cursor"><figcaption></figcaption></figure>

4. Add the following entry and save the file:

```json
{
  "mcpServers": {
    "Lineaje-MCP-Server": {
      "url": "https://mcp.v2.prod.veedna.com/mcp"
    }
  }
}
```

If the file already lists other servers, add the `Lineaje-MCP-Server` entry inside the existing `mcpServers` object.

{% hint style="info" %}
`~/.cursor/mcp.json` applies to all your projects. To share the server with your team, put the same entry in `.cursor/mcp.json` at the root of the repository.
{% endhint %}

## Sign in

1. Go to **Cursor Settings** > **Tools & MCP**.
2. Next to `Lineaje-MCP-Server`, click **Connect**. A browser window opens.
3. Click **Allow Access**.
4. Log in to the Lineaje Portal with your existing credentials.

## Verify the connection

In **Cursor Settings** > **Tools & MCP**, `Lineaje-MCP-Server` shows as enabled, with its tools listed.

## Try a test prompt

Open the Agent chat and enter:

```
Is any product I track affected by CVE-2021-44228?
```

With a UnifAI license, open a file and enter:

```
Scan <file name> using Lineaje
```

If the tools don't respond, see [Troubleshooting](https://docs.veedna.com/lineaje-mcp-server/troubleshooting.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.veedna.com/lineaje-mcp-server/connect-your-ide/cursor.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
