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

# Cursor

> Learn how to give Cursor full access to the Sevalla PaaS API.

[Cursor](https://cursor.com/) is an AI-powered coding assistant designed to help developers write, edit, and understand code more efficiently. It integrates directly with your development environment and uses natural language prompts to streamline coding tasks.

Use this guide to connect Cursor to the Sevalla MCP server at `https://mcp.sevalla.com/mcp`.

After setup, Cursor Agent can use Sevalla MCP tools like `search` and `execute`.

## Quick setup (Cursor UI + OAuth)

OAuth is the recommended authentication method.

<a href="https://cursor.com/en/install-mcp?name=Sevalla&config=eyJ1cmwiOiJodHRwczovL21jcC5zZXZhbGxhLmNvbS9tY3AifQ==" target="_blank">
  <img className="hidden dark:block" src="https://cursor.com/deeplink/mcp-install-light.png" alt="Add Sevalla MCP server to Cursor" style={{ width: 126 }} noZoom />

  <img className="max-w-[140px]! block dark:hidden" src="https://cursor.com/deeplink/mcp-install-dark.png" alt="Add Sevalla MCP server to Cursor" style={{ width: 126 }} noZoom />
</a>

1. Click the install button above and allow Cursor to open, or go to MCP configuration.
2. Complete the MCP server install flow in Cursor.
3. If prompted, confirm the server values:
   * Name: `sevalla`
   * URL: `https://mcp.sevalla.com/mcp`
4. Complete the OAuth browser flow when prompted.
5. Confirm the server is enabled in your MCP tools list.

## Manual configuration (`mcp.json`)

Cursor supports both project and global MCP config files:

* Project scope: `.cursor/mcp.json`
* Global scope: `~/.cursor/mcp.json`

```json theme={null}
{
  "mcpServers": {
    "sevalla": {
      "url": "https://mcp.sevalla.com/mcp"
    }
  }
}
```

If you need API key auth instead of OAuth, add headers:

```json theme={null}
{
  "mcpServers": {
    "sevalla": {
      "url": "https://mcp.sevalla.com/mcp",
      "headers": {
        "Authorization": "Bearer ${env:SEVALLA_API_KEY}"
      }
    }
  }
}
```

## Configuration scope

* Use `.cursor/mcp.json` when the server config should live with the project.
* Use `~/.cursor/mcp.json` when you want the server available across all projects.

When both are present, keep shared project defaults in `.cursor/mcp.json` and personal overrides in `~/.cursor/mcp.json`.

## Uninstall

1. Delete the `sevalla` entry from either `.cursor/mcp.json` (project) or `~/.cursor/mcp.json` (global).
2. Clear cached OAuth tokens, run:

```json theme={null}
rm -rf ~/.mcp-auth
```

## Reference

* Sevalla MCP endpoint: `https://mcp.sevalla.com/mcp`
* Sevalla MCP repository: [github.com/sevalla-hosting/mcp](https://github.com/sevalla-hosting/mcp)
