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

# Cursor

> Connect Strata with Cursor IDE in minutes and supercharge your AI coding experience

<img className="block dark:hidden" src="https://mintcdn.com/klavisai/2FN45VVIW760Qvl2/images/knowledge-base/cursor/Cursor.png?fit=max&auto=format&n=2FN45VVIW760Qvl2&q=85&s=733365682e7eb45c83e4e07b2285401d" alt="Cursor IDE" width="1200" height="800" data-path="images/knowledge-base/cursor/Cursor.png" />

<img className="hidden dark:block" src="https://mintcdn.com/klavisai/2FN45VVIW760Qvl2/images/knowledge-base/cursor/Cursor.png?fit=max&auto=format&n=2FN45VVIW760Qvl2&q=85&s=733365682e7eb45c83e4e07b2285401d" alt="Cursor IDE" width="1200" height="800" data-path="images/knowledge-base/cursor/Cursor.png" />

## Quick Setup Guide

<Steps>
  <Step title="Authorize MCP Servers to Use with Strata">
    Navigate to the [Klavis home page](https://www.klavis.ai/home) and click **"MCP Server"** in the left sidebar. You will see a list of MCP servers available in Klavis.

    <img src="https://mintcdn.com/klavisai/vhqVexJFELyoEztl/images/knowledge-base/cursor/step1.png?fit=max&auto=format&n=vhqVexJFELyoEztl&q=85&s=e45fbed81f3faad696a503ac43044675" alt="Klavis home page" width="1905" height="1072" data-path="images/knowledge-base/cursor/step1.png" />

    Click the **"Authorize"** button next to your chosen server. Once server is authorized, you will see **Green Checkmark** status.

    <img src="https://mintcdn.com/klavisai/vhqVexJFELyoEztl/images/knowledge-base/cursor/step2.png?fit=max&auto=format&n=vhqVexJFELyoEztl&q=85&s=a77319bd61f16690a5f9a0cba4d00ddb" alt="Authorize MCP Servers" width="1900" height="1069" data-path="images/knowledge-base/cursor/step2.png" />

    <Tip>
      You can authorize one or more servers to use with Strata
    </Tip>
  </Step>

  <Step title="Configure Cursor IDE with Strata">
    <Tabs>
      <Tab title="Via Dashboard">
        From Klavis Dashboard, click **Add to Cursor** and you will be redirected to Cursor.

        <img src="https://mintcdn.com/klavisai/vhqVexJFELyoEztl/images/knowledge-base/cursor/step3.png?fit=max&auto=format&n=vhqVexJFELyoEztl&q=85&s=2210128e908b227eee896679a208d4cb" alt="Copy Strata Server URL" width="1902" height="1070" data-path="images/knowledge-base/cursor/step3.png" />

        Cursor will automatically open the **MCP** dialog with Strata Server URL pre-filled. Click **Install** to save the configuration.

        <img src="https://mintcdn.com/klavisai/vhqVexJFELyoEztl/images/knowledge-base/cursor/step4.png?fit=max&auto=format&n=vhqVexJFELyoEztl&q=85&s=8863d354334de6e335e9a2fd7fe6051f" alt="Install Strata in Cursor" width="1050" height="1050" data-path="images/knowledge-base/cursor/step4.png" />
      </Tab>

      <Tab title="Via Code">
        Alternatively, you can configure **Strata** directly.

        1. Go to **Setting** -> **MCP & Tools**
        2. Click **Add Custom MCP**

        <img src="https://mintcdn.com/klavisai/vhqVexJFELyoEztl/images/knowledge-base/cursor/step5.png?fit=max&auto=format&n=vhqVexJFELyoEztl&q=85&s=dc2552ca4bd3213f9094d314094a7796" alt="MCP & Tools in Cursor Settings" width="1781" height="1002" data-path="images/knowledge-base/cursor/step5.png" />

        3. Paste the below code in **mcp.json** file (See Screenshot below)

        <img src="https://mintcdn.com/klavisai/vhqVexJFELyoEztl/images/knowledge-base/cursor/step6.png?fit=max&auto=format&n=vhqVexJFELyoEztl&q=85&s=a0b9e2eda8b46f521bf9171125fee298" alt="Paste Strata code in mcp.json" width="988" height="284" data-path="images/knowledge-base/cursor/step6.png" />
      </Tab>
    </Tabs>

    <Tip>
      You can add **Single** MCP Server URL directly here as well:

      1. Navigate to **Target Server** and click **Three Dots** next to your server
      2. Tap **Show Individual Server URL** and copy the URL
      3. Paste this URL in Cursor settings as described above
    </Tip>

    <Accordion title="🔐 OAuth Services (Most Common)">
      * Automatically redirected to OAuth authorization
      * Sign in to your account (GitHub, Google, Slack, etc.)
      * Grant necessary permissions
      * Redirected back to Klavis automatically
    </Accordion>

    <Accordion title="🔑 API Key Services">
      * Prompted to enter an API key
      * Follow service-specific instructions to generate key
      * Paste key in the provided field
      * Click **"Save"** to continue
    </Accordion>
  </Step>

  <Step title="Verify Tools Loading">
    In Cursor Settings, navigate to **Tools & MCP**. You will see **klavis-strata** listed under **Installed MCP Servers**.

    <img src="https://mintcdn.com/klavisai/vhqVexJFELyoEztl/images/knowledge-base/cursor/step7.png?fit=max&auto=format&n=vhqVexJFELyoEztl&q=85&s=12cac088233dc5da1aa087754457cf14" alt="Strata Configuration in Cursor" width="1080" height="607" data-path="images/knowledge-base/cursor/step7.png" />

    Tap on **klavis-strata** to view the list of tools loaded from Strata server.

    <img src="https://mintcdn.com/klavisai/vhqVexJFELyoEztl/images/knowledge-base/cursor/step8.png?fit=max&auto=format&n=vhqVexJFELyoEztl&q=85&s=f9f192aafa79e2226ede1fd0a4e1146c" alt="Strata Tools List in Cursor IDE" width="1080" height="608" data-path="images/knowledge-base/cursor/step8.png" />

    <Note>
      📋 **Reopen Cursor Settings** to apply the new configuration
    </Note>
  </Step>

  <Step title="Start Using in Cursor Chat">
    <img src="https://mintcdn.com/klavisai/vhqVexJFELyoEztl/images/knowledge-base/cursor/step9.jpg?fit=max&auto=format&n=vhqVexJFELyoEztl&q=85&s=155a4dc99cfd9519d22246e4d3ef5b21" alt="Using Strata in Cursor Chat" width="1613" height="1003" data-path="images/knowledge-base/cursor/step9.jpg" />

    Open Cursor Chat (`Cmd/Ctrl + L`) and start using natural language:

    <CodeGroup>
      ```text GitHub theme={null}
      "Create a new issue titled 'Add dark mode' with priority label"
      ```

      ```text Slack theme={null}
      "Send a message to #general: 'Standup meeting in 5 minutes!'"
      ```

      ```text Gmail theme={null}
      "Send email to john@company.com about project update"
      ```

      ```text Notion theme={null}
      "Create a new page called 'Meeting Notes' with today's date"
      ```
    </CodeGroup>

    <Tip>
      🎯 Cursor Chat automatically detects when to use **Strata** based on context - no need to specify explicitly!
    </Tip>
  </Step>

  <Step title="Happy Building! 🎉">
    You're all set! Your **Strata** is now integrated with Cursor IDE.
  </Step>
</Steps>

## Troubleshooting

<AccordionGroup>
  <Accordion title="🔧 Tools Not Appearing">
    * Double-check your Server URL for typos
    * Ensure stable internet connection
    * Verify authentication in Klavis dashboard
    * Check Cursor IDE logs for error messages
    * Try completely restarting Cursor IDE
  </Accordion>

  <Accordion title="🔐 Authentication Issues">
    * Re-authenticate in the Klavis dashboard
    * Check if your OAuth tokens have expired
    * Verify API key permissions (for API key services)
    * Ensure you've granted all necessary permissions
  </Accordion>

  <Accordion title="⚡ Performance Issues">
    * Limit the number of active MCP servers
    * Check your internet connection speed
    * Restart Cursor IDE periodically
    * Contact support if issues persist
  </Accordion>
</AccordionGroup>

## Need Help?

<CardGroup cols={2}>
  <Card title="Community" icon="discord">
    Join our Discord for community support and discussions
  </Card>

  <Card title="Support" icon="headphones">
    Contact our technical support team for assistance
  </Card>
</CardGroup>

***
