# Deloc

> Open-source CLI and MCP for Deloc — deploy static apps from your terminal or AI coding agent

- **Type:** MCP server
- **Install:** `agentstack add mcp-delocdev-deloc`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [delocdev](https://agentstack.voostack.com/s/delocdev)
- **Installs:** 0
- **Category:** [Integrations](https://agentstack.voostack.com/c/integrations)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [delocdev](https://github.com/delocdev)
- **Source:** https://github.com/delocdev/deloc
- **Website:** https://deloc.dev

## Install

```sh
agentstack add mcp-delocdev-deloc
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Deloc

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

[](https://www.npmjs.com/package/@deloc/cli)
[](https://www.npmjs.com/package/@deloc/mcp)
[](LICENSE)

[Deloc](https://deloc.dev) 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/cli`](./packages/cli)** — `npx @deloc/cli deploy` from any terminal
- **[`@deloc/mcp`](./packages/mcp)** — MCP server so Claude Code, Cursor, and other agents can deploy on your behalf

## Quickstart

### From your terminal

```bash
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 →](./packages/cli/README.md)

### From your AI coding agent

**Claude Code:**

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

**Cursor** — add to `.cursor/mcp.json`:

```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 →](./packages/mcp/README.md)

## 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](https://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](./CONTRIBUTING.md) for local dev setup, conventions, and how to run against a local API.

Quick start:

```bash
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](./SECURITY.md).

## License

MIT — see [LICENSE](./LICENSE).

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [delocdev](https://github.com/delocdev)
- **Source:** [delocdev/deloc](https://github.com/delocdev/deloc)
- **License:** MIT
- **Homepage:** https://deloc.dev

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-delocdev-deloc
- Seller: https://agentstack.voostack.com/s/delocdev
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
