deloc-mcp
OfficialDeloc MCP Server
Deploy static web apps and get a shareable URL — directly from your AI coding agent.
Say "deploy this to Deloc" in Claude Code or Cursor and get a live URL back in seconds, without leaving your editor.
What is Deloc?
Deloc is the fastest way to deploy a static web app and get a shareable URL. Built for developers who want to share dashboards, prototypes, and internal tools with teammates — without dealing with hosting configuration.
Works with any static site — React, Vue, Svelte, plain HTML, or anything with an
index.htmlJSX/TSX files deploy directly — single or multi-file React projects work without a 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 link previews on Slack, X, etc.
Install
No install needed. The MCP server runs via npx.
Claude Code
claude mcp add deloc --scope user -- npx -y @deloc/mcp@latestCursor
Add to .cursor/mcp.json in your project root:
{
"mcpServers": {
"deloc": {
"command": "npx",
"args": ["-y", "@deloc/mcp@latest"]
}
}
}Windsurf
Add to your MCP configuration:
{
"mcpServers": {
"deloc": {
"command": "npx",
"args": ["-y", "@deloc/mcp@latest"]
}
}
}Pre-configured token (CI/CD)
If you have an API token from deloc.dev, pass it as an environment variable:
{
"mcpServers": {
"deloc": {
"command": "npx",
"args": ["-y", "@deloc/mcp@latest"],
"env": {
"DELOC_TOKEN": "dl_xxxxx"
}
}
}
}Authentication
The first time you deploy, the MCP server opens your browser to sign in with Google or Microsoft (or create an account). Your token is saved to ~/.deloc/config.json and all tools are available from then on.
You can also paste an existing API token if you registered at deloc.dev.
Usage
Just talk to your AI agent naturally:
"Deploy this to Deloc"
"Publish this dashboard to Deloc as 'Q3 Revenue'"
"Deploy this with a password"
"List my Deloc apps"
"Disable the old dashboard"
The agent calls the appropriate MCP tool and returns the result.
Tools
Deployment
Tool | Description |
| Deploy or update a project. Returns a live URL. Supports directories with |
| Analyze a project directory and suggest deployment options — framework detection, build command, app name, and size estimate. |
App Management
Tool | Description |
| List published apps with URLs, status, and expiry info. Filter by status. |
| Get detailed info about an app — file count, size, bandwidth usage, expiry date. |
| Take an app offline without deleting it. |
| Re-enable a disabled app. |
| Permanently delete an app and all its files. |
| Extend a free-tier app's expiry by 30 days. |
Settings
Tool | Description |
| Set, change, or remove password protection on an app. Auto-generates a password if none specified. |
| Set a custom OG preview image for link previews (Slack, X, etc.). Accepts a local PNG path. |
Account
Tool | Description |
| Get current user info — email, tier, storage usage, and limits. |
| Sign in with Google or Microsoft, or paste an API token. Shown when not yet authenticated. |
| Log out and clear stored credentials. |
Deploy Tool Details
The deploy tool handles three types of projects automatically:
Directory with index.html — zips and uploads as-is. Use ES module imports with esm.sh for CDN libraries.
Single JSX/TSX file — wraps with React, Babel, and Tailwind CSS automatically. No build step needed.
Multi-file JSX/TSX project — resolves local imports between files, bundles into a single HTML file with all dependencies. No build step needed.
Parameters
Parameter | Type | Description |
| string | App name. Defaults to directory or package.json name. Use the same name to update an existing app. |
| string | Path to build output directory. Auto-detected if not specified. |
| string | boolean | Password protect the app. Use a string for a specific password, |
| boolean | Make app public (removes password protection). |
| string | Path to a PNG for link previews. Max 2MB, 1200x630 recommended. |
| string | Custom title for link previews. |
| string | Custom description for link previews. |
Environment Variables
Variable | Description | Default |
| API token for pre-configured setups | Read from |
| API endpoint |
|
Links
License
MIT
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/delocdev/deloc-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server