deloc
Open-source CLI and MCP for Deloc — deploy static apps from your terminal or AI coding agent
Documentation
Deloc
Deploy static web apps to a shareable URL in seconds — from your terminal or your AI coding agent.
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/cli`** — `npx @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 deployThat'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.
From your AI coding agent
Claude Code:
claude mcp add deloc --scope user -- npx -y @deloc/mcp@latestCursor — 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.
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 URLThe 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 testSecurity
If you find a security issue, please email `security@deloc.dev` rather than opening a public issue. See SECURITY.md.
License
MIT — see LICENSE.
Frequently asked questions
What is deloc?
deloc is Open-source CLI and MCP for Deloc — deploy static apps from your terminal or AI coding agent
How do I install deloc?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is deloc open source?
Yes — it is hosted on GitHub at https://github.com/delocdev/deloc and has 4 stars.
Related MCP tools
Browser automation clicks buttons. OpenTabs calls APIs.
Open-source cross-agent memory layer for coding agents via MCP. Compatible with Claude Code, Codex, Cursor, Windsurf, Gemini CLI, Antigravity, OpenClaw, Hermes Agent, Oh-my-Pi, Pi, Copilot, Kiro, OpenCode, and Trae.
The go-to web for your AI coding agent — local-first search, fetch, crawl & research over MCP. No API keys, no cloud, $0/query. Public beta.
AI Skills, MCP Tools, and CLI for Unity Engine. Full AI develop and test loop. Use cli for quick setup. Efficient token usage, advanced tools. Any C# method may be turned into a tool by a single line. Works with Claude Code, Gemini, Copilot, Cursor and any other absolutely for free.
Open-source coding agent memory. Records issues, attempts, fixes and decisions, then warns your agent before it repeats an approach that already failed. Native MCP server for Claude Code, Cursor, Antigravity and Codex. 100% local, no cloud, no telemetry. MIT.
MCP server to provide Figma layout information to AI coding agents like Cursor
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP