> ## 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.

> ## Agent Instructions
> These are the docs for Sevalla, a platform for deploying applications, databases, static sites, object storage and load balancers. The dashboard is at https://app.sevalla.com.
> Bold text in steps is an exact dashboard label.
> To act on a Sevalla account, prefer the Sevalla MCP server (https://mcp.sevalla.com/mcp, see https://docs.sevalla.com/ai-agents/overview.md), then the Sevalla CLI (https://docs.sevalla.com/developer-tools/cli.md), then the REST API (https://api-docs.sevalla.com, OpenAPI spec at https://api.sevalla.com/v3/openapi.json).
> Every page index is at https://docs.sevalla.com/llms.txt.

# Cursor

> Connect Cursor to the Sevalla MCP server with an install link or mcp.json, sign in with OAuth or an API key, check the connection, and remove it.

Cursor connects to the [Sevalla MCP server](/ai-agents/overview) at `https://mcp.sevalla.com/mcp` as a remote server. Once connected, Cursor's agent can deploy, read logs and metrics, and manage your Sevalla services.

## Before you begin

* A Sevalla account and a company to work in.
* Cursor installed. See the [Cursor MCP docs](https://cursor.com/docs/context/mcp) for its own options.

## Add the server

<Steps>
  <Step title="Add Sevalla">
    Open this install link with Cursor running: [Add Sevalla to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=sevalla\&config=eyJ1cmwiOiJodHRwczovL21jcC5zZXZhbGxhLmNvbS9tY3AifQ==), and confirm the install in Cursor.

    Or add the server by hand to `~/.cursor/mcp.json` (all projects) or `.cursor/mcp.json` in a project (that project only):

    ```json ~/.cursor/mcp.json theme={null}
    {
      "mcpServers": {
        "sevalla": {
          "url": "https://mcp.sevalla.com/mcp"
        }
      }
    }
    ```
  </Step>

  <Step title="Sign in">
    When Cursor asks you to sign in to **sevalla**, continue. Your browser opens the Sevalla dashboard: pick the company and the permissions, then click **Authorize** ([what each choice means](/ai-agents/overview#sign-in-with-oauth)).
  </Step>
</Steps>

## Check the connection

In Cursor, open **Customize** in the sidebar: **sevalla** is listed and turned on, with its tools. Ask the agent "List my Sevalla services".

## Use an API key instead

To skip OAuth, send an [API key](/developer-tools/api-keys) in a header. `${env:SEVALLA_API_KEY}` reads the key from an environment variable, so `mcp.json` holds no secret:

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

Set `SEVALLA_API_KEY` in the environment Cursor starts from, then restart Cursor.

## Remove the server

Remove **sevalla** in **Customize**, or delete the `sevalla` entry from `~/.cursor/mcp.json` or `.cursor/mcp.json`. To keep the server but stop the agent from using it, turn it off in **Customize** instead.

Removing the server doesn't delete the API key that sign-in created. To revoke it, [delete the key](/developer-tools/api-keys#delete-an-api-key) under **Tools** > **API keys**.


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