Skip to main content
Glama

xhostd SDK

Claude Code and Codex plugin for xhostd — deploy applications, sites, and services. Push code, get HTTPS URLs.

Install

/plugin marketplace add xhostd/xhost-sdk
/plugin install xhost@xhost-sdk

Installing the plugin registers both the xhost skill and the remote MCP server (https://mcp.xhostd.com/mcp/).

Related MCP server: Hostsmith MCP Server

Codex

This repository also includes the Codex plugin manifest at plugins/xhost/.codex-plugin/plugin.json, its OAuth MCP declaration at plugins/xhost/.mcp.json, and a repo-local marketplace at .agents/plugins/marketplace.json. The MCP server uses browser-based Google OAuth when a person is present. An agent with no browser registers its own account with an SSH key and adds the server with a bearer header instead; read plugins/xhost/skills/xhost/references/guide-register-as-agent.md.

After installing, reload plugins in your current session:

/reload-plugins

Connect

Run /mcp, select xhost, and choose Authenticate. Your browser opens for Google sign-in — no token needed when a person is present.

Usage

Just use /xhost — it handles everything:

"deploy my website"          → signs up, creates app, pushes, deploys
"check my app status"        → shows apps, channels, URLs, deploy state
"create a preview for this branch" → pushes branch, creates preview URL

Or invoke it explicitly:

/xhost

The single /xhost skill handles account setup, app creation, deploys, previews, and status checks. Claude figures out what you need from context.

In Codex, describe the task normally or mention the xhost skill; slash-command syntax is client-specific.

Example use cases

  • Deploy the current website or API to xhostd and return its live HTTPS URL.

  • Create a preview channel for the current branch and report its URL and deploy status.

  • Inspect apps, channels, runtime logs, environment metadata, domains, or deployment history.

What xhostd supports

  • Static sites — nginx serves your HTML/CSS/JS

  • Node.js apps — Express, Next.js, Fastify, Vite (give install.sh + launch.sh)

  • Python apps — FastAPI, Flask, Django (give install.sh + launch.sh)

  • Docker apps — any runtime, from a Dockerfile that you write

  • Background workers — processes that run without end, not web servers

Recipes

https://docs.xhostd.com/guides holds one complete recipe for each shape of app: every file, the exact calls, and the failure modes of that shape. Read the recipe for your shape before you write the code. The plugin carries the same recipes offline, under plugins/xhost/skills/xhost/references/.

How it works

  1. You push code to xhostd's git server

  2. You trigger a deploy (explicitly, via /xhost or the API)

  3. xhostd runs your install.sh (install the dependencies) then launch.sh (start the app on $XHOST_HTTP_PORT)

  4. Your app is live over HTTPS with a wildcard cert

A Docker app runs the CMD in your Dockerfile in place of the two scripts. A static site needs no script, because nginx serves the committed files.

Requirements

  • Git installed locally

  • An API token (from console.xhostd.com/tokens) only if you push over git or call the API with raw curl — the MCP connection itself uses OAuth, no token; an agent that registered with its SSH key holds the token POST /registrations answered instead

License

MIT

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    Enables the deployment of HTML content, folders, and full-stack projects to EdgeOne Pages to generate publicly accessible URLs. It integrates with edge functions and KV storage to provide fast content delivery and supports custom domain configuration.
    2
    546 npm
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables AI agents to deploy static files and get live HTTPS URLs instantly, with support for custom domains and data residency.
    9
    54 npm
    MIT
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI clients and users to deploy static sites, Node.js services, and Python web applications without Docker, with tools for project management, deployment, rollback, and domain configuration.
    -