# Cursor and VS Code

> Add the Korala MCP server to Cursor with a one-click link or to VS Code with a workspace file.

Source: https://docs.korala.ai/ai-agents/cursor-vscode

---

  Screenshots of Cursor and VS Code will be added after the public launch. The steps below follow Cursor's and VS Code's current documentation (checked 2026-09-18); menu names can change.

## Cursor

1. Open this link on the machine that runs Cursor:

   ```text
   cursor://anysphere.cursor-deeplink/mcp/install?name=korala&config=eyJ1cmwiOiJodHRwczovL2FwaS5rb3JhbGEuYWkvbWNwIn0=
   ```

   The `config` value is the base64 encoding of `{"url":"https://api.korala.ai/mcp"}`.

2. Confirm the install in Cursor.
3. Open the **Customize** page in Cursor's sidebar, where Cursor manages MCP servers, and sign in next to **korala**.
4. Approve the connection on Korala's consent page. See [Permissions and safety](https://docs.korala.ai/ai-agents/permissions).

To skip the link, add the server to `~/.cursor/mcp.json` and continue from step 3:

```json
{
  "mcpServers": {
    "korala": {
      "url": "https://api.korala.ai/mcp"
    }
  }
}
```

## VS Code

1. Create `.vscode/mcp.json` in your workspace:

   ```json
   {
     "servers": {
       "korala": {
         "type": "http",
         "url": "https://api.korala.ai/mcp"
       }
     }
   }
   ```

2. Use a Korala tool from chat. VS Code shows a trust prompt before it first starts the server. VS Code then asks you to sign in.
3. Approve the connection on Korala's consent page.

The file holds the address and no credentials, so you can commit it. Each teammate signs in with their own Korala account.
