Deloc

by delocdev

4 stars
139 downloads
Not rated
GitHub Website

About

Deploy static sites and dashboards from your AI tool with one command. Get a shareable URL in seconds.

Details

Author
delocdev
GitHub stars
4
Downloads
139
Categories
Cloud Service, Infrastructure, Developer Tools

- Works with any static site (React, Vue, Svelte, plain HTML)
- JSX/TSX files deploy directly with no build step
- Instant URLs — deploy and share in seconds
- Password protection with a single parameter
- Custom OG previews for Slack/X link cards
- Edge auth restricts apps to allowed email domains

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Deloc
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

From your terminal, run npx @deloc/cli deploy — the CLI builds, uploads, and returns a live URL. For AI agents, add the MCP server by running claude mcp add deloc --scope user -- npx -y @deloc/mcp@latest (Claude Code) or by adding the same command to .cursor/mcp.json (Cursor). The first run opens your browser to sign in.

setup_deloc

Set up Deloc — sign in to start deploying. Ask the user which sign-in method they prefer: Google, Microsoft, or if they already have an API token. If they don't have Google or Microsoft, tell them to register at https://deloc.dev and generate an API token from their dashboard, then call this tool with the token.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "deloc": {
            "deloc": {
                "command": "npx",
                "args": [
                    "-y",
                    "@deloc/mcp@latest"
                ]
            }
        }
    }
}

McpServers

{
    "deloc": {
        "command": "npx",
        "args": [
            "-y",
            "@deloc/mcp@latest"
        ]
    }
}

Deloc

Deploy static web apps to a shareable URL in seconds — from your terminal or your AI coding agent.

@deloc/cli
@deloc/mcp
License: MIT

Deloc is the fastest way to ship a static web app and share it with your team. This repo contains the open-source clients that talk to the Deloc hosting service:

- @deloc/clinpx @deloc/cli deploy from any terminal
- @deloc/mcp — MCP server so Claude Code, Cursor, and other agents can deploy on your behalf

Quickstart

From your terminal

npx @deloc/cli deploy

That's it. The CLI builds your project (if needed), uploads the output, and prints a live URL. First run opens your browser to sign in.

Full CLI docs →

From your AI coding agent

Claude Code:

claude mcp add deloc --scope user -- npx -y @deloc/mcp@latest

Cursor — add to .cursor/mcp.json:

{
  "mcpServers": {
    "deloc": {
      "command": "npx",
      "args": ["-y", "@deloc/mcp@latest"]
    }
  }
}

Then say "deploy this to Deloc" and get a live URL back in your chat.

Full MCP docs →

What you get

- Works with any static site — React, Vue, Svelte, plain HTML, or anything with an index.html
- JSX/TSX files deploy directly — single or multi-file React projects work with no build step
- Instant URLs — deploy in seconds, share immediately
- Password protection — restrict access with a single parameter
- OG previews — set custom images and descriptions for Slack/X link previews
- Auth at the edge — Deloc's Cloudflare Worker can lock published apps to a list of allowed email domains. Publishers never write auth code.

Free tier

Three live apps, 100MB total storage, 30-day auto-expiry, 1GB bandwidth per app per month. Password protection included. No credit card.

Need more? See deloc.dev/pricing for Pro ($10/mo), Pro Unlimited ($25/mo), Team ($35/publisher/mo), and Enterprise.

How it works

your project → @deloc/cli or @deloc/mcp → api.deloc.dev → Cloudflare R2
                                                            ↓
                                                  Cloudflare Worker (edge)
                                                            ↓
                                                    *.deloc.app URL

The CLI and MCP are thin clients around a single HTTP API. They zip your build output, upload it, and return a URL. All hosting, CDN, auth, and abuse prevention happens server-side on Deloc's infrastructure.

Repository layout

packages/
  cli/      @deloc/cli      CLI entry point and commands
  mcp/      @deloc/mcp      MCP server + tools exposed to AI agents
  shared/   @deloc/shared   shared types, constants, build/upload helpers
                            (bundled into cli and mcp at build time)

Development

See CONTRIBUTING.md for local dev setup, conventions, and how to run against a local API.

Quick start:

pnpm install
pnpm -r build
pnpm -r test

Security

If you find a security issue, please email security@deloc.dev rather than opening a public issue. See SECURITY.md.

License

MIT — see LICENSE.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.