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

# Cursor

> Add the Nebuly MCP Server to Cursor with a JSON configuration

Cursor connects to Nebuly through a JSON configuration. Each person adds it in their own Cursor.

## Who does what

Each person adds Nebuly in their own Cursor. Team-level MCPs and Marketplace plugins are not supported, so there is nothing for an admin to set up once for everyone.

## Before you start

* A Nebuly account with MCP access.
* Cursor installed.
* Your MCP server URL, shown in the tabs below.

> [tab] SaaS
>
> Use this URL:
>
> ```text theme={null}
> https://mcp.nebuly.com/mcp
> ```
>
> > [!NOTE]
> >
> > If your SaaS account uses a custom authentication URL, ask your Nebuly representative for MCP access. Then use `https://<YOUR_AUTH_URL>/mcp`.

> [tab] Self-hosted
>
> Ask your Nebuly representative to enable MCP access for your deployment. Then use this URL:
>
> ```text theme={null}
> https://<YOUR_AUTH_URL>/mcp
> ```
>
> Replace `<YOUR_AUTH_URL>` with the address of your deployment.

## Set it up

**1. Open the MCP settings**

In Cursor, open Settings (the gear icon) → Tools & MCPs → New MCP Server.

![Cursor settings with Tools & MCPs and New MCP Server marked](https://mintcdn.com/nebulyai/RdWCbEsjlnbXWq8Y/images/mcp/cursor_settings_new_mcp_server.png?fit=max\&auto=format\&n=RdWCbEsjlnbXWq8Y\&q=85\&s=8e4485c27a92a53ef70f8018c169e2ba)

**2. Paste the configuration**

Paste this configuration. Replace `<NEBULY_MCP_URL>` with your URL from the tabs above.

```json theme={null}
{
  "mcpServers": {
    "nebuly-mcp": {
      "url": "<NEBULY_MCP_URL>"
    }
  }
}
```

![Cursor mcp.json with the nebuly-mcp server](https://mintcdn.com/nebulyai/RdWCbEsjlnbXWq8Y/images/mcp/cursor_mcp_json_config.png?fit=max\&auto=format\&n=RdWCbEsjlnbXWq8Y\&q=85\&s=1ec6dba69cc26e2dce1c2dc41a55e264)

**3. Connect and sign in**

Return to Settings, select Connect, then sign in with your Nebuly account.

![Cursor settings with the Connect button next to the Nebuly server](https://mintcdn.com/nebulyai/RdWCbEsjlnbXWq8Y/images/mcp/cursor_connect_server.png?fit=max\&auto=format\&n=RdWCbEsjlnbXWq8Y\&q=85\&s=7bd180a9ab0f82aca7032481ef80424a)

**4. Test the connection**

Ask Cursor this. It should answer with your Nebuly projects.

```text theme={null}
List the Nebuly projects I can access.
```

## Troubleshooting

* **`nebuly-mcp` doesn't connect.** Check that the URL in the configuration matches the one in the tabs above, with no extra spaces or characters.
* **The server isn't listed after you paste it.** Check that the JSON is valid and that the server name is `nebuly-mcp`.
* **Self-hosted server doesn't connect.** Check that MCP access is enabled for your deployment.

For more on managing MCP servers in Cursor, see the [Cursor documentation](https://cursor.com/docs/mcp).

> [card] [All MCP agents](https://docs.nebuly.com/documentation/nebuly-ai/mcp-server)
>
> Go back to the MCP Server overview and pick another agent.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.