Platform.sh is now Upsun. Click here to learn more
Upsun User Documentation

The Upsun MCP Server

Try Upsun for 15 days
After that, enjoy the same game-changing Upsun features for less with the First Project Incentive!¹ A monthly $19 perk!
Activate your 15-day trial
¹Terms and conditions apply

The Upsun Model Context Protocol (MCP) Server enables management of Upsun projects and environments through AI assistants such as Claude. It supports conversational commands to create, modify, and monitor infrastructure without using the terminal or console.

MCP projects

Key capabilities Anchor to this heading

Capability Description Use case
Natural Language Infrastructure Management Converts user instructions written in natural language to corresponding API operations. - “Show me all active environments in my project.”
- “Add Redis caching to my staging environment.”
CI/CD Integration Integrates with existing development workflows and interacts with CI/CD pipelines to trigger or respond to automated workflows. - Trigger deployments from the IDE.
- Monitor build progress from documentation tools or chat interfaces.
AI-Based Automation Supports AI-driven automation that adapts to real-world conditions by analyzing metrics, historical data, and usage patterns. - Resource allocation based on usage trends.
- Automated troubleshooting with suggested root causes.
- Adaptive backup scheduling.

Security Model Anchor to this heading

All MCP operations follow the existing Upsun security model. The MCP Server defaults to read-only operations for safety, with write operations available through explicit configuration.

To enable write operations, include the following header in your MCP configuration:

{
  "enable-write": "true"
}

Architecture Anchor to this heading

The Upsun MCP Server uses Streamable HTTP transport for communication and event streaming.

It uses HTTP POST for client-to-server messages with optional Server-Sent Events for streaming capabilities. This transport enables remote server communication and supports standard HTTP authentication methods including bearer tokens, API keys, and custom headers.

MCP Architecture

Installation Anchor to this heading

1. Generate an API Token Anchor to this heading

  • In the Upsun Console, open your account settings.
  • Generate a new API token with permissions appropriate for your projects.

2. Configure the MCP Client Anchor to this heading

  • Configure your MCP client to connect to mcp.upsun.com/mcp.

3. Connect and Use Anchor to this heading

  • Connect your AI assistant or any MCP-compatible client.
  • Begin managing Upsun resources using natural language commands.
Install in Cursor

Go to: Settings -> Cursor Settings -> MCP -> Add new global MCP server

Copying the following configuration into your Cursor ~/.cursor/mcp.json file is the recommended approach. You may also install in a specific project by creating .cursor/mcp.json in your project folder.

See the Cursor MCP docs for more info.

Cursor Remote Server Connection Anchor to this heading

{
  "mcpServers": {
    "upsun": {
      "url": "https://mcp.upsun.com/mcp",
      "headers": {
        "upsun-api-token": "YOUR_API_TOKEN",
        "enable-write": "false"
      }
    }
  }
}
Install in Claude Code

Run this command. See Claude Code MCP docs for more info.

Claude Code Remote Server Connection Anchor to this heading

claude mcp add --transport http upsun https://mcp.upsun.com/mcp --header "upsun-api-token: YOUR_API_TOKEN" --header "enable-write: false"
Install in Windsurf

Add this to your Windsurf MCP config file. See Windsurf MCP docs for more info.

Windsurf Remote Server Connection Anchor to this heading

{
  "mcpServers": {
    "upsun": {
      "serverUrl": "https://mcp.upsun.com/mcp",
      "headers": {
        "upsun-api-token": "YOUR_API_TOKEN",
        "enable-write": "false"
      }
    }
  }
}
Install in VS Code

Add this to your VS Code MCP config file. See VS Code MCP docs for more info.

VS Code Remote Server Connection Anchor to this heading

"mcp": {
  "servers": {
    "upsun": {
      "type": "http",
      "url": "https://mcp.upsun.com/mcp",
      "headers": {
        "upsun-api-token": "YOUR_API_TOKEN",
        "enable-write": "false"
      }
    }
  }
}
Install in Cline

You can easily configure the Upsun MCP server through Cline:

  1. Open Cline.
  2. Click the hamburger menu icon (☰) to enter the MCP Servers section.
  3. On the Remote Servers tab, click Edit Configuration.
  4. Add upsun to mcpServers:
{
  "mcpServers": {
    "upsun": {
      "url": "https://mcp.upsun.com/mcp",
      "type": "streamableHttp",
      "headers": {
        "upsun-api-token": "YOUR_API_TOKEN",
        "enable-write": "false"
      }
    }
  }
}
Install in Zed

Add this to your Zed settings.json. See Zed Context Server docs for more info.

{
  "context_servers": {
    "Upsun": {
      "settings": {
        "url": "https://mcp.upsun.com/mcp",
        "headers": {
          "upsun-api-token": "YOUR_API_TOKEN",
        "enable-write": "false"
        }
      }
    }
  }
}
Install in Augment Code

To configure the Upsun MCP server in Augment Code:

Manual Configuration

  1. Press Cmd/Ctrl+Shift+P or go to the hamburger menu in the Augment panel.
  2. Select Edit Settings
  3. Under Advanced, click Edit in settings.json
  4. Add the server configuration to the mcpServers array in the augment.advanced object
"augment.advanced": {
  "mcpServers": [
    {
      "name": "upsun",
      "url": "https://mcp.upsun.com/mcp",
      "headers": {
        "upsun-api-token": "YOUR_API_TOKEN",
        "enable-write": "false"
      }
    }
  ]
}

Once the MCP server is added, restart your editor. If you receive any errors, check the syntax to make sure closing brackets or commas are not missing.

Install in Roo Code

Add this to your Roo Code MCP configuration file. See Roo Code MCP docs for more info.

Roo Code Remote Server Connection Anchor to this heading

{
  "mcpServers": {
    "upsun": {
      "type": "streamable-http",
      "url": "https://mcp.upsun.com/mcp",
      "headers": {
        "upsun-api-token": "YOUR_API_TOKEN",
        "enable-write": "false"
      }
    }
  }
}
Install in Gemini CLI

See Gemini CLI Configuration for details.

  1. Open the Gemini CLI settings file. The location is ~/.gemini/settings.json (where ~ is your home directory).
  2. Add the following to the mcpServers object in your settings.json file:
{
  "mcpServers": {
    "upsun": {
      "httpUrl": "https://mcp.upsun.com/mcp",
      "headers": {
        "upsun-api-token": "YOUR_API_TOKEN",
        "enable-write": "false",
        "Accept": "application/json, text/event-stream"
      }
    }
  }
}

If the mcpServers object does not exist, create it.

Install in Claude Desktop

Remote Server Connection Anchor to this heading

Open Claude Desktop and navigate to Settings > Connectors > Add Custom Connector. Enter the name as Upsun and the remote MCP server URL as https://mcp.upsun.com/mcp.

Add your API token in the headers configuration:

{
  "upsun-api-token": "YOUR_API_TOKEN",
    "enable-write": "false"
}
Install in Opencode

Add this to your Opencode configuration file. See Opencode MCP docs for more info.

Opencode Remote Server Connection Anchor to this heading

"mcp": {
  "upsun": {
    "type": "remote",
    "url": "https://mcp.upsun.com/mcp",
    "headers": {
      "upsun-api-token": "YOUR_API_TOKEN",
    "enable-write": "false"
    },
    "enabled": true
  }
}
Install in JetBrains AI Assistant

See JetBrains AI Assistant Documentation for more details.

  1. In JetBrains IDEs, go to Settings -> Tools -> AI Assistant -> Model Context Protocol (MCP)
  2. Click + Add.
  3. Click Command in the top-left corner of the dialog and select As JSON from the list.
  4. Add this configuration and click OK
{
  "mcpServers": {
    "upsun": {
      "url": "https://mcp.upsun.com/mcp",
      "headers": {
        "upsun-api-token": "YOUR_API_TOKEN",
        "enable-write": "false"
      }
    }
  }
}
  1. Click Apply to save changes.
  2. Repeat these steps to add upsun for JetBrains Junie: Go to Settings -> Tools -> Junie -> MCP Settings.
Install in Kiro

See Kiro Model Context Protocol Documentation for details.

  1. Navigate Kiro > MCP Servers
  2. Add a new MCP server by clicking the + Add button.
  3. Paste the configuration given below:
{
  "mcpServers": {
    "Upsun": {
      "url": "https://mcp.upsun.com/mcp",
      "headers": {
        "upsun-api-token": "YOUR_API_TOKEN",
        "enable-write": "false"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}
  1. Click Save to apply the changes.
Install in Trae

Use the Add manually feature and populate the JSON configuration information for that MCP server. For more details, visit the Trae documentation.

Trae Remote Server Connection Anchor to this heading

{
  "mcpServers": {
    "upsun": {
      "url": "https://mcp.upsun.com/mcp",
      "headers": {
        "upsun-api-token": "YOUR_API_TOKEN",
        "enable-write": "false"
      }
    }
  }
}
Install in Amazon Q Developer CLI

Add this to your Amazon Q Developer CLI configuration file. See Amazon Q Developer CLI docs for more details.

{
  "mcpServers": {
    "upsun": {
      "url": "https://mcp.upsun.com/mcp",
      "headers": {
        "upsun-api-token": "YOUR_API_TOKEN",
        "enable-write": "false"
      }
    }
  }
}
Install in Warp

See Warp Model Context Protocol Documentation for details.

  1. Navigate Settings > AI > Manage MCP servers.
  2. Add a new MCP server by clicking the + Add button.
  3. Paste the configuration given below:
{
  "Upsun": {
    "url": "https://mcp.upsun.com/mcp",
    "headers": {
      "upsun-api-token": "YOUR_API_TOKEN",
    "enable-write": "false"
    },
    "start_on_launch": true
  }
}
  1. Click Save to apply the changes.
Install in Copilot Coding Agent

Using Upsun MCP with Copilot Coding Agent

Add the following configuration to the mcp section of your Copilot Coding Agent configuration file Repository->Settings->Copilot->Coding agent->MCP configuration:

{
  "mcpServers": {
    "upsun": {
      "type": "http",
      "url": "https://mcp.upsun.com/mcp",
      "headers": {
        "upsun-api-token": "YOUR_API_TOKEN",
        "enable-write": "false"
      }
    }
  }
}

For more information, see the official GitHub documentation.

Install in LM Studio

See LM Studio MCP Support for more information.

Manual set-up: Anchor to this heading

  1. Navigate to Program (right side) > Install > Edit mcp.json.
  2. Paste the configuration given below:
{
  "mcpServers": {
    "Upsun": {
      "url": "https://mcp.upsun.com/mcp",
      "headers": {
        "upsun-api-token": "YOUR_API_TOKEN",
        "enable-write": "false"
      }
    }
  }
}
  1. Click Save to apply the changes.
  2. Toggle the MCP server on/off from the right hand side, under Program, or by clicking the plug icon at the bottom of the chat box.
Install in Visual Studio 2022

You can configure the Upsun MCP server in Visual Studio 2022 by following the Visual Studio MCP Servers documentation.

Add this to your Visual Studio MCP config file (see the Visual Studio docs for details):

{
  "inputs": [],
  "servers": {
    "upsun": {
      "type": "http",
      "url": "https://mcp.upsun.com/mcp",
      "headers": {
        "upsun-api-token": "YOUR_API_TOKEN",
        "enable-write": "false"
      }
    }
  }
}

For more information and troubleshooting, refer to the Visual Studio MCP Servers documentation.

Install in Crush

Add this to your Crush configuration file. See Crush MCP docs for more info.

Crush Remote Server Connection (HTTP) Anchor to this heading

{
  "$schema": "https://charm.land/crush.json",
  "mcp": {
    "upsun": {
      "type": "http",
      "url": "https://mcp.upsun.com/mcp",
      "headers": {
        "upsun-api-token": "YOUR_API_TOKEN",
        "enable-write": "false"
      }
    }
  }
}
Install in BoltAI

Open the “Settings” page of the app, navigate to “Plugins,” and configure the Upsun MCP server:

{
  "mcpServers": {
    "upsun": {
      "url": "https://mcp.upsun.com/mcp",
      "headers": {
        "upsun-api-token": "YOUR_API_TOKEN",
        "enable-write": "false"
      }
    }
  }
}

More information is available on BoltAI’s Documentation site. For BoltAI on iOS, see this guide.

Install in Rovo Dev CLI

Edit your Rovo Dev CLI MCP config by running the following command:

acli rovodev mcp

Example config -

Remote Server Connection Anchor to this heading

{
  "mcpServers": {
    "upsun": {
      "url": "https://mcp.upsun.com/mcp",
      "headers": {
        "upsun-api-token": "YOUR_API_TOKEN",
        "enable-write": "false"
      }
    }
  }
}
Install in Zencoder

To configure the Upsun MCP server in Zencoder, follow these steps:

  1. Go to the Zencoder menu (…)
  2. From the dropdown menu, select Agent tools
  3. Click on the Add custom MCP
  4. Add the name and server configuration from below, and make sure to hit the Install button
{
  "url": "https://mcp.upsun.com/mcp",
  "headers": {
    "upsun-api-token": "YOUR_API_TOKEN",
    "enable-write": "false"
  }
}

Once the MCP server is added, you can easily continue using it.

Install in Qodo Gen

See Qodo Gen docs for more details.

  1. Open Qodo Gen chat panel in VSCode or IntelliJ.
  2. Click Connect more tools.
  3. Click + Add new MCP.
  4. Add the following configuration:

Qodo Gen Remote Server Connection Anchor to this heading

{
  "mcpServers": {
    "upsun": {
      "url": "https://mcp.upsun.com/mcp",
      "headers": {
        "upsun-api-token": "YOUR_API_TOKEN",
        "enable-write": "false"
      }
    }
  }
}
Install in Perplexity Desktop

See Local and Remote MCPs for Perplexity for more information.

  1. Navigate to Perplexity > Settings.
  2. Select Connectors.
  3. Click Add Connector.
  4. Select Advanced.
  5. Enter Server Name: Upsun
  6. Paste the following JSON in the text area:
{
  "url": "https://mcp.upsun.com/mcp",
  "headers": {
    "upsun-api-token": "YOUR_API_TOKEN",
    "enable-write": "false"
  }
}
  1. Click Save.

Upsun AI tutorials Anchor to this heading

Upsun AI documentation Anchor to this heading