Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Latitude.Sh Server

FreeNot checked

Enables natural language management of Latitude.sh infrastructure, allowing users to list, create, and delete servers, projects, and SSH keys through MCP-compat

GitHubEmbed

About

Enables natural language management of Latitude.sh infrastructure, allowing users to list, create, and delete servers, projects, and SSH keys through MCP-compatible clients.

README

Model Context Protocol (MCP) server for the Latitude.sh API

Overview

The Latitude.sh MCP Server exposes your Latitude.sh REST API as an AI-ready interface, allowing developer tools and assistants to list, create, and manage your infrastructure resources programmatically.

Use natural language to:

  • 🔎 List and inspect servers, projects, and SSH keys
  • ⚙️ Create or delete bare-metal instances
  • 📡 Manage networking and automation directly from chat-based IDEs

Installation

🪶 Prerequisite: You’ll need a Latitude.sh API Key.

DXT (Desktop Extension)

Install the MCP server as a Desktop Extension using the pre-built mcp-server.dxt file:

Simply drag and drop the mcp-server.dxt file onto Claude Desktop to install the extension.

The DXT package includes the MCP server and all necessary configuration. Once installed, the server will be available without additional setup.

[!NOTE] DXT (Desktop Extensions) provide a streamlined way to package and distribute MCP servers. Learn more about Desktop Extensions.

Cursor
  1. Open Cursor Settings
  2. Select Tools and Integrations
  3. Select New MCP Server
  4. Paste the following JSON into the MCP Server Configuration:
{
  "mcpServers": {
    "Latitudesh": {
      "command": "npx",
      "args": [
        "latitudesh",
        "start",
        "--bearer",
        "<YOUR_API_KEY>"
      ]
    }
  }
}

Note: Replace YOUR_LATITUDE_API_TOKEN with your actual Latitude.sh bearer token.

Claude Code CLI
claude mcp add latitudesh npx latitudesh start -- --bearer YOUR_LATITUDE_API_TOKEN

Note: Replace YOUR_LATITUDE_API_TOKEN with your actual Latitude.sh bearer token.

Codex

Add the MCP server with the Codex CLI:

codex mcp add Latitudesh -- npx latitudesh start --bearer YOUR_LATITUDE_API_TOKEN

Or add it directly to ~/.codex/config.toml:

[mcp_servers.Latitudesh]
command = "npx"
args = ["latitudesh", "start", "--bearer", "YOUR_LATITUDE_API_TOKEN"]

Verify it is configured:

codex mcp list

Note: Replace YOUR_LATITUDE_API_TOKEN with your actual Latitude.sh bearer token.

Windsurf

Refer to Official Windsurf documentation for latest information

  1. Open Windsurf Settings
  2. Select Cascade on left side menu
  3. Click on Manage MCPs. (To Manage MCPs you should be signed in with a Windsurf Account)
  4. Click on View raw config to open up the mcp configuration file.
  5. If the configuration file is empty paste the full json
{
  "mcpServers": {
    "Latitudesh": {
      "command": "npx",
      "args": [
        "latitudesh",
        "start",
        "--bearer",
        "<YOUR_API_KEY>"
      ]
    }
  }
}
VS Code

Refer to Official VS Code documentation for latest information

  1. Open Command Palette
  2. Search and open MCP: Open User Configuration. This should open mcp.json file
  3. If the configuration file is empty paste the full json
{
  "mcpServers": {
    "Latitudesh": {
      "command": "npx",
      "args": [
        "latitudesh",
        "start",
        "--bearer",
        "<YOUR_API_KEY>"
      ]
    }
  }
}
Claude Desktop Claude Desktop doesn't yet support SSE/remote MCP servers.

You need to do the following

  1. Open claude Desktop
  2. Open left hand side pane, then click on your Username
  3. Go to Settings
  4. Go to Developer tab (on the left hand side)
  5. Click on Edit Config Paste the following config in the configuration
{
  "mcpServers": {
    "Latitudesh": {
      "command": "npx",
      "args": [
        "latitudesh",
        "start",
        "--bearer",
        "<YOUR_API_KEY>"
      ]
    }
  }
}

Note: Replace YOUR_LATITUDE_API_TOKEN with your actual Latitude.sh bearer token.

VS Code

Refer to Official VS Code documentation for latest information

  1. Open Command Palette (Cmd+Shift+P / Ctrl+Shift+P)
  2. Search and open MCP: Open User Configuration to open the mcp.json file
  3. Add the configuration:
{
  "servers": {
    "Latitudesh": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "latitudesh",
        "start",
        "--bearer",
        "YOUR_LATITUDE_API_TOKEN"
      ]
    }
  }
}
  1. Save the file and restart VS Code
  2. Open Copilot Chat (Cmd+Alt+I / Ctrl+Alt+I) and enable Agent mode
  3. The Latitudesh tools will be available automatically

Note: Replace YOUR_LATITUDE_API_TOKEN with your actual Latitude.sh bearer token.

Tips for using with VS Code:

  • Be explicit in your prompts: "List my servers from Latitude.sh" instead of just "list servers"
  • Mention "Latitude.sh" or "MCP" to avoid Copilot searching local files
Claude Desktop
  1. Open Claude Desktop
  2. Click on your Username in the left sidebar
  3. Go to SettingsDeveloper tab
  4. Click Edit Config
  5. Add the configuration:
{
  "mcpServers": {
    "Latitudesh": {
      "command": "npx",
      "args": [
        "latitudesh",
        "start",
        "--bearer",
        "YOUR_LATITUDE_API_TOKEN"
      ]
    }
  }
}
  1. Save and restart Claude Desktop

Note: Replace YOUR_LATITUDE_API_TOKEN with your actual Latitude.sh bearer token.

Standalone CLI Usage

To start the MCP server directly:

npx latitudesh start --bearer YOUR_LATITUDE_API_TOKEN

Optional flags:

  • --server-index <0|1> - Select server (0=https://api.latitude.sh, 1=http://api.latitude.sh) [default: 0]
  • --latitude-api-key <key> - API key for URL templating
  • --log-level <level> - Log level (debug|warning|info|error) [default: info]

For a full list of server arguments:

npx latitudesh --help

Development

Run locally without a published npm package:

  1. Clone this repository
  2. Run npm install
  3. Run npm run build
  4. Run node ./bin/mcp-server.js start --bearer <YOUR_API_KEY>

To use this local version with MCP Clients, you'll need to add the following config:

{
  "mcpServers": {
    "Latitudesh": {
      "command": "node",
      "args": [
        "/absolute/path/to/latitudesh-mcp/bin/mcp-server.js",
        "start",
        "--bearer",
        "<YOUR_API_KEY>"
      ]
    }
  }
}

Debug locally

Use the official MCP Inspector:

npx @modelcontextprotocol/inspector node ./bin/mcp-server.js start --bearer <YOUR_API_KEY>

This opens an interactive UI at http://localhost:6274.

🤝 Contributions

While we welcome contributions, most of this code is auto-generated. Manual edits to generated files will be overwritten on regeneration.

If you'd like to suggest improvements:

  • Open an Issue or PR with your proof of concept
  • We'll review and include it in future releases when possible

Summary

Latitude.sh API: The Latitude.sh API is a RESTful API to manage your Latitude.sh account. It allows you to perform the same actions as the Latitude.sh dashboard.

Table of Contents

Installation

Deployed at https://mcp.latitude.sh

Claude Desktop

Install the MCP server as a Desktop Extension using the pre-built mcp-server.mcpb file:

Simply drag and drop the mcp-server.mcpb file onto Claude Desktop to install the extension.

The MCP bundle package includes the MCP server and all necessary configuration. Once installed, the server will be available without additional setup.

[!NOTE] MCP bundles provide a streamlined way to package and distribute MCP servers. Learn more about Desktop Extensions.

Cursor

Install MCP Server

Or manually:

  1. Open Cursor Settings
  2. Select Tools and Integrations
  3. Select New MCP Server
  4. If the configuration file is empty paste the following JSON into the MCP Server Configuration:
{
  "command": "npx",
  "args": [
    "latitudesh",
    "start",
    "--server-index",
    "0",
    "--latitude-api-key",
    "<insert your api key here>",
    "--bearer",
    ""
  ]
}
Claude Code CLI
claude mcp add Latitudesh -- npx -y latitudesh start --server-index 0 --latitude-api-key <insert your api key here> --bearer 
Gemini
gemini mcp add Latitudesh -- npx -y latitudesh start --server-index 0 --latitude-api-key <insert your api key here> --bearer 
Windsurf

Refer to Official Windsurf documentation for latest information

  1. Open Windsurf Settings
  2. Select Cascade on left side menu
  3. Click on Manage MCPs. (To Manage MCPs you should be signed in with a Windsurf Account)
  4. Click on View raw config to open up the mcp configuration file.
  5. If the configuration file is empty paste the full json
{
  "command": "npx",
  "args": [
    "latitudesh",
    "start",
    "--server-index",
    "0",
    "--latitude-api-key",
    "<insert your api key here>",
    "--bearer",
    ""
  ]
}
VS Code

Install in VS Code

Or manually:

Refer to Official VS Code documentation for latest information

  1. Open Command Palette
  2. Search and open MCP: Open User Configuration. This should open mcp.json file
  3. If the configuration file is empty paste the full json
{
  "command": "npx",
  "args": [
    "latitudesh",
    "start",
    "--server-index",
    "0",
    "--latitude-api-key",
    "<insert your api key here>",
    "--bearer",
    ""
  ]
}
Stdio installation via npm To start the MCP server, run:
npx latitudesh start --server-index 0 --latitude-api-key <insert your api key here> --bearer 

For a full list of server arguments, run:

npx latitudesh --help

Progressive Discovery

MCP servers with many tools can bloat LLM context windows, leading to increased token usage and tool confusion. Dynamic mode solves this by exposing only a small set of meta-tools that let agents progressively discover and invoke tools on demand.

To enable dynamic mode, pass the --mode dynamic flag when starting your server:

{
  "mcpServers": {
    "Latitudesh": {
      "command": "npx",
      "args": ["latitudesh", "start", "--mode", "dynamic"],
      // ... other server arguments
    }
  }
}

In dynamic mode, the server registers only the following meta-tools instead of every individual tool:

  • list_tools: Lists all available tools with their names and descriptions.
  • describe_tool_input: Returns the input schema for one or more tools by name.
  • execute_tool: Executes a tool by name with its arguments.

This approach significantly reduces the number of tokens sent to the LLM on each request, which is especially useful for servers with a large number of tools.

from github.com/latitudesh/latitudesh-mcp

Install Latitude.Sh Server in Claude Desktop, Claude Code & Cursor

Recommended · one command, every IDE
unyly install latitude-sh-mcp-server

Installs into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.

First time? Get the CLI: curl -fsSL https://unyly.org/install | sh

Or configure manually

Run in your terminal:

claude mcp add latitude-sh-mcp-server -- npx -y latitudesh

FAQ

Is Latitude.Sh Server MCP free?

Yes, Latitude.Sh Server MCP is free — one-click install via Unyly at no cost.

Does Latitude.Sh Server need an API key?

No, Latitude.Sh Server runs without API keys or environment variables.

Is Latitude.Sh Server hosted or self-hosted?

A hosted option is available: Unyly runs the server in the cloud, no local setup required.

How do I install Latitude.Sh Server in Claude Desktop, Claude Code or Cursor?

Open Latitude.Sh Server on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Latitude.Sh Server with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All development MCPs