> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qontext.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Cursor

> Connect Qontext to Cursor

Connect Qontext to Cursor via MCP to give your coding agent access to your context repository.

With Qontext + Cursor, you can:

* Retrieve curated, up-to-date company context while coding
* Access product, customer, process, and project knowledge directly from Cursor
* Keep governance and permissions in Qontext

***

## Installation

Qontext connects to Cursor as a remote MCP server. For Cursor's official MCP documentation, see [Cursor Docs](https://cursor.com/docs/mcp).

<Steps>
  <Step title="Open Customize in Cursor">
    In Cursor, open the **Customize** page from the sidebar.
  </Step>

  <Step title="Open MCPs">
    Go to **MCPs** and click **New MCP Server**. Cursor opens your `mcp.json` configuration file.
  </Step>

  <Step title="Add the Qontext MCP server">
    Add Qontext to the `mcpServers` object with the following configuration, then **save** the file:

    ```json theme={null}
    {
      "mcpServers": {
        "qontext": {
          "url": "https://api.qontext.ai/mcp"
        }
      }
    }
    ```
  </Step>

  <Step title="Authenticate and log in to Qontext">
    Cursor lists the Qontext server with a login prompt. Click **Authenticate** and log in to Qontext to allow access.
  </Step>
</Steps>

<div className="qontext-tip-check-wrapper">
  <Check>
    From now on, Cursor will use your context repository to retrieve context when you invoke Qontext.
  </Check>
</div>

***

## Using Qontext in Cursor

Once the server is connected, using Qontext is simple:

<Steps>
  <Step title="Start a new chat">
    Open a new conversation in Cursor's Agent.
  </Step>

  <Step title="Invoke Qontext">
    Add **Use Qontext** to your question or task and send the message. Cursor then retrieves the context needed to give you the best answer.
  </Step>

  <Step title="Get context-aware responses">
    Cursor automatically retrieves relevant context from your context repository to complete the task.
  </Step>
</Steps>

### Example prompts

```text theme={null}
Use Qontext and create a technical handover document for this feature.
```

```text theme={null}
Use Qontext to check our API guidelines before refactoring this module.
```

```text theme={null}
Use Qontext and update the project file with the implementation status.
```

***

## Need help?

If you encounter issues with the Cursor integration, reach out at [support@qontext.ai](mailto:support@qontext.ai).
