Beget Hosting

v0.2.0
io.github.badigit/beget-mcp Checked 11 hours ago Published 2 months ago

Beget hosting: sites, domains, DNS, MySQL, FTP, cron, backups, mail — 73 tools

Values you need

VariableWhat it is
BEGET_API_LOGINrequired Beget account login
BEGET_API_PASSWORDrequired secret Beget account password (API access must be enabled in the panel)
MCP_TRANSPORTrequired Transport: stdio for local clients, sse for a shared HTTP deployment. The image defaults to sse, so stdio clients must set this. Default: stdio

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add beget-mcp -e 'BEGET_API_LOGIN=<BEGET_API_LOGIN>' -e 'BEGET_API_PASSWORD=<BEGET_API_PASSWORD>' -e MCP_TRANSPORT=stdio -- uvx beget-mcp==0.2.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "beget-mcp": {
      "args": [
        "beget-mcp==0.2.0"
      ],
      "command": "uvx",
      "env": {
        "BEGET_API_LOGIN": "<BEGET_API_LOGIN>",
        "BEGET_API_PASSWORD": "<BEGET_API_PASSWORD>",
        "MCP_TRANSPORT": "stdio"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "beget-mcp": {
      "args": [
        "beget-mcp==0.2.0"
      ],
      "command": "uvx",
      "env": {
        "BEGET_API_LOGIN": "<BEGET_API_LOGIN>",
        "BEGET_API_PASSWORD": "<BEGET_API_PASSWORD>",
        "MCP_TRANSPORT": "stdio"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "BEGET_API_LOGIN",
      "id": "beget-api-login",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "BEGET_API_PASSWORD",
      "id": "beget-api-password",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "MCP_TRANSPORT",
      "id": "mcp-transport",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "beget-mcp": {
      "args": [
        "beget-mcp==0.2.0"
      ],
      "command": "uvx",
      "env": {
        "BEGET_API_LOGIN": "${input:beget-api-login}",
        "BEGET_API_PASSWORD": "${input:beget-api-password}",
        "MCP_TRANSPORT": "${input:mcp-transport}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.beget-mcp]
command = "uvx"
args = ["beget-mcp==0.2.0"]
env = { "BEGET_API_LOGIN" = "<BEGET_API_LOGIN>", "BEGET_API_PASSWORD" = "<BEGET_API_PASSWORD>", "MCP_TRANSPORT" = "stdio" }

Docker

Requires Docker

Run in a terminal
claude mcp add beget-mcp -e 'BEGET_API_LOGIN=<BEGET_API_LOGIN>' -e 'BEGET_API_PASSWORD=<BEGET_API_PASSWORD>' -e MCP_TRANSPORT=stdio -- docker run -i --rm -e BEGET_API_LOGIN -e BEGET_API_PASSWORD -e MCP_TRANSPORT ghcr.io/badigit/beget-mcp:0.2.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "beget-mcp": {
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "BEGET_API_LOGIN",
        "-e",
        "BEGET_API_PASSWORD",
        "-e",
        "MCP_TRANSPORT",
        "ghcr.io/badigit/beget-mcp:0.2.0"
      ],
      "command": "docker",
      "env": {
        "BEGET_API_LOGIN": "<BEGET_API_LOGIN>",
        "BEGET_API_PASSWORD": "<BEGET_API_PASSWORD>",
        "MCP_TRANSPORT": "stdio"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "beget-mcp": {
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "BEGET_API_LOGIN",
        "-e",
        "BEGET_API_PASSWORD",
        "-e",
        "MCP_TRANSPORT",
        "ghcr.io/badigit/beget-mcp:0.2.0"
      ],
      "command": "docker",
      "env": {
        "BEGET_API_LOGIN": "<BEGET_API_LOGIN>",
        "BEGET_API_PASSWORD": "<BEGET_API_PASSWORD>",
        "MCP_TRANSPORT": "stdio"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "BEGET_API_LOGIN",
      "id": "beget-api-login",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "BEGET_API_PASSWORD",
      "id": "beget-api-password",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "MCP_TRANSPORT",
      "id": "mcp-transport",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "beget-mcp": {
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "BEGET_API_LOGIN",
        "-e",
        "BEGET_API_PASSWORD",
        "-e",
        "MCP_TRANSPORT",
        "ghcr.io/badigit/beget-mcp:0.2.0"
      ],
      "command": "docker",
      "env": {
        "BEGET_API_LOGIN": "${input:beget-api-login}",
        "BEGET_API_PASSWORD": "${input:beget-api-password}",
        "MCP_TRANSPORT": "${input:mcp-transport}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.beget-mcp]
command = "docker"
args = ["run", "-i", "--rm", "-e", "BEGET_API_LOGIN", "-e", "BEGET_API_PASSWORD", "-e", "MCP_TRANSPORT", "ghcr.io/badigit/beget-mcp:0.2.0"]
env = { "BEGET_API_LOGIN" = "<BEGET_API_LOGIN>", "BEGET_API_PASSWORD" = "<BEGET_API_PASSWORD>", "MCP_TRANSPORT" = "stdio" }

For AI agents

  1. Ask the user for: BEGET_API_LOGIN, BEGET_API_PASSWORD, MCP_TRANSPORT. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: account_info, toggle_ssh, stat_site_list_load, stat_db_list_load, stat_site_load, stat_db_load, backup_files_list, backup_mysql_list, ….
  5. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json