WebDeploy MCP
Allows deploying projects from Git repositories, including specifying repositories, branches, tags, and commits.
Allows deploying Node.js services with custom install, build, start, and health-check settings.
Allows deploying Python web applications with custom install, build, start, and health-check settings.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@WebDeploy MCPdeploy my static site from GitHub main branch"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
WebDeploy MCP
Self-hosted website deployment for people and AI clients. WebDeploy MCP combines a Passkey-protected web dashboard, an OAuth 2.1 MCP endpoint, and a release worker that deploys static sites, frontend builds, Node.js services, and Python web applications without Docker.
The project is server-, IP-, and domain-agnostic. All paths, ports, hostnames, retention limits, and public URLs are installation settings.
Release status: v0.1.13 fixes the worker sandbox that made every project-user creation fail with
cannot lock /etc/group, and makes updates refresh the systemd unit.
What it provides
Git, ZIP/TAR, and small inline-file deployments
A built-in Pages service: one directory per site, published with a token, no project required
Custom install, build, output, start, health-check, and runtime settings
Per-project Linux service users with SSH fully denied (shell, SFTP, and port forwarding)
Atomic static-site symlinks and health-checked dynamic blue/green activation
PM2 process management, Nginx routing, and optional Certbot HTTPS
PostgreSQL-backed jobs, releases, audit events, OAuth state, and encrypted settings
Passkey-only sign-in with administrator approval for every new enrollment
OAuth Authorization Code + PKCE, dynamic client registration, token expiry and revocation
MCP tools for the full lifecycle: project creation and configuration, environment variables, deployment, logs, releases, domains, restart, rollback, and deletion
Environment values encrypted with AES-256-GCM; writable via MCP or Dashboard, readable by neither
Interactive install, verified release downloads, backup, restore, update, and uninstall
Related MCP server: CreateOS MCP
Architecture
Browser / MCP client
|
HTTPS + OAuth
|
Nginx reverse proxy
|
Control plane (Fastify)
| | |
Dashboard MCP Passkey/OIDC
\ | /
PostgreSQL
|
privileged worker
/ | \
project UID PM2 Nginx config
|
versioned releases + current symlinkThe control plane is an unprivileged network service. The systemd worker performs the narrowly scoped privileged operations needed to create project users, switch releases, and validate Nginx. See Architecture and Security.
Requirements
Ubuntu 22.04 or 24.04, or Debian 12
x86_64 or arm64
Root access for installation
A DNS name that already points to the server, including a domain used by an existing site
TCP 80/443 reachable if the installer should request certificates
At least 2 GB RAM and 10 GB free disk for a small installation
The installer provisions Node.js 24, pnpm, PM2, Nginx, Certbot, PostgreSQL, Git, Python, and
mise. Docker and Caddy are neither required nor used.
One-command installation
Run one command with the server's domain:
curl -fsSL https://raw.githubusercontent.com/ghbhiee/webdeploy-mcp/main/install.sh | sudo bash -s -- deploy.your-domain.comQuick installation publishes the Dashboard at
https://deploy.your-domain.com/webdeploy/ and MCP at
https://deploy.your-domain.com/webdeploy/mcp. It derives an isolated name such as
webdeploy-deploy-your-domain-com-webdeploy, enables auto-update, and uses admin as the initial
identity.
If the domain already has an Nginx virtual host, the installer keeps that site and adds only the
/webdeploy/ reverse proxy. If Nginx or the virtual host is absent, it installs Nginx and creates
the required configuration. Use --path /another-path to change the path or --path / for a
dedicated root-domain installation.
Download-first installation uses the same short form:
curl -fsSLO https://github.com/ghbhiee/webdeploy-mcp/releases/latest/download/install.sh
sudo bash install.sh deploy.your-domain.comRun sudo bash install.sh --help for advanced overrides.
At completion, the installer prints the MCP setup for Codex, Claude Code, and other Agents and
saves the same guide to /etc/webdeploy/mcp-install.txt. View or save it again at any time:
webdeploy mcp
webdeploy mcp --help
webdeploy mcp --agent codex --method command
webdeploy mcp --agent claude --method prompt --output claude-mcp.txtFirst sign-in and Passkey approval
Open the Dashboard URL and register the first account with an email address and Passkey.
The first completed enrollment activates immediately as the system administrator.
Later users and additional Passkeys wait for approval in Dashboard > Administration or CLI:
sudo webdeploy auth list-pending
sudo webdeploy auth approve-passkey <request-code>Reject an unexpected request with:
sudo webdeploy auth reject-passkey <request-code>Email is the only account identifier. The same email account can enroll multiple Passkeys. Revoking a Passkey revokes its web sessions; disabling a user also invalidates that user's OAuth objects.
Dashboard workflow
Everything below can equally be driven by an agent over MCP; the Dashboard is the place to
watch what agents did — projects, deployments, live links — and to override any setting by
hand. Create a project, choose static, node, or python, then configure:
Git repository and branch/tag/commit
install and build commands
static output directory or dynamic start command
preferred internal port and health-check path
Node.js/Python versions, SPA fallback, release retention, and auto deploy
custom domain
plain or secret environment values
Use Deploy now for Git, or upload a ZIP/TAR archive. Deployment progress and redacted logs stream into the project page. Releases can be rolled back; dynamic services can be restarted. The previous release is not stopped until the candidate passes its health check and activates.
Environment values are write-only after submission. Even administrators and MCP clients receive only variable names, type, presence, and timestamps.
The Dashboard home page is also the MCP installer: select Agent and Installation method, then copy or download the generated command, Agent prompt, or manual configuration. Every result already contains the deployment's exact MCP URL.
MCP clients
The public endpoint is:
https://your-mcp-domain.example/webdeploy/mcpCodex CLI
codex mcp add webdeploy-your-mcp-domain-example-webdeploy \
--url https://your-mcp-domain.example/webdeploy/mcp \
--oauth-resource https://your-mcp-domain.example/webdeploy/mcp
codex mcp login webdeploy-your-mcp-domain-example-webdeploy \
--scopes openid,profile,platform:read,projects:write,deployments:write,offline_accessThe login command opens the system browser. Sign in with an approved WebDeploy Passkey, review the requested scopes, and approve access.
Claude Code
claude mcp add --transport http --scope user webdeploy-your-mcp-domain-example-webdeploy \
https://your-mcp-domain.example/webdeploy/mcpThen open Claude Code, enter /mcp, select webdeploy-your-mcp-domain-example-webdeploy, and choose
Authenticate. Claude opens
the system browser for WebDeploy Passkey login and consent. Claude stores and refreshes the OAuth
credentials after approval.
One-prompt Agent installation
Replace <MCP_URL> and paste this single prompt into Codex, Claude Code, or another MCP-capable
coding Agent:
Install the WebDeploy MCP server in this agent.
Server name: webdeploy-your-mcp-domain-example-webdeploy
MCP URL: <MCP_URL>
Requirements:
1. Detect the current client (Codex, Claude Code, or another MCP-capable agent).
2. Install this as a user/global remote Streamable HTTP MCP server using the client's native configuration. Do not use a stdio bridge and do not ask me to paste an access token.
3. Immediately start the client's OAuth Authorization Code + PKCE flow and open the system browser. Use the server name shown above for every client command and authentication selection.
4. Wait while I finish WebDeploy Passkey login and consent in the browser.
5. After authorization, call the "platform_status" and "list_projects" tools to verify the connection.
6. Report where the MCP configuration was saved and whether both verification calls succeeded.ChatGPT
ChatGPT connections are configured in the ChatGPT web UI, not with codex mcp add. In a workspace
where custom MCP apps are enabled:
Open Settings → Apps & Connectors → Advanced settings and enable developer mode.
Create a custom app/connector and enter the HTTPS MCP URL.
Start OAuth. WebDeploy redirects to its Passkey page.
Sign in with an approved Passkey and approve the requested scopes.
Menu wording and workspace eligibility can change; consult current OpenAI help if the options are not present. Client-specific troubleshooting is covered in MCP clients.
MCP tools
Tool | Purpose |
| Health and authenticated-user summary |
| Accessible projects |
| Project settings, environment metadata, public URL |
| Create a project, optionally with runtime settings |
| Update git source, commands, port, health check, … |
| Upsert env vars ( |
| Remove one env var |
| Dedicated PostgreSQL DB; injects |
| Deploy configured Git source |
| Deploy a Git URL/ref |
| Deploy up to 100 small files (1 MiB total) |
| Deployment state; public URL on success |
| Redacted build/deploy logs |
| Release history |
| Queue an atomic rollback |
| Restart an active dynamic project |
| Passkey-protected Dashboard URL |
| Configure the primary hostname |
| Queue project removal |
| Create a Pages directory + publish token |
| List Pages sites and public URLs |
| Publish static files to a Pages site |
| Replace a Pages publish token |
| Delete a Pages site and its files |
The whole deployment lifecycle — create, configure, set environment, deploy, verify, get the
live URL — runs over MCP. Every project is reachable immediately at
https://<platform-host>/apps/<slug>/ (configurable via APP_BASE_PATH), no DNS work
required; a custom domain set with set_custom_domain replaces that default URL. The
Dashboard is the owner's read view and manual override: it shows what each MCP client
installed, deployment history, and the live links, and can edit any setting by hand. Environment values can be written through MCP (encrypted at rest) but are
never readable back through any API; the Dashboard cannot display them either.
Built-in static Pages
Full projects are the right tool for real sites, but they create a Linux user, releases, and Nginx state per site. For one-off static pages — reports, demos, artifacts an agent just generated — the control plane ships a shared Pages service instead:
Every site is one directory below
DATA_DIR/pages/and is served publicly atPUBLIC_URL/pages/<slug>/through the existing reverse proxy. No per-site Nginx or certificate work.Each MCP account gets a default site on first
publish_page; additional named sites are created withcreate_page_site. Owners and administrators see their sites withlist_page_sites.Every site has a publish token (returned once at creation). The token authenticates a plain HTTP API, so CI jobs or other agents can publish without OAuth:
# Replace the whole site with one HTML file
curl -X POST "$PUBLIC_URL/api/pages/publish" \
-H "Authorization: Bearer $PAGES_TOKEN" -H "Content-Type: application/json" \
-d '{"clean":true,"files":[{"path":"index.html","content":"<h1>hello</h1>"}]}'
# Upload or overwrite a single file with a raw body
curl -X PUT "$PUBLIC_URL/api/pages/files/report/index.html" \
-H "Authorization: Bearer $PAGES_TOKEN" --data-binary @report.html
# Inspect the site the token belongs to
curl "$PUBLIC_URL/api/pages/site" -H "Authorization: Bearer $PAGES_TOKEN"publish_page merges files into the site by default; pass clean: true to atomically replace
the whole directory. Tokens are stored hashed, can be rotated with rotate_page_token, and die
with the site on delete_page_site. Published pages are served without the dashboard's
Content-Security-Policy so inline scripts and styles work.
Administration
sudo webdeploy users list
sudo webdeploy users disable <user-id>
sudo webdeploy users set-admin <user-id>
sudo webdeploy users remove-admin <user-id>
sudo webdeploy passkeys list <user-id>
sudo webdeploy passkeys revoke <passkey-id>
sudo webdeploy projects list
sudo webdeploy projects restart <project-id>Administrators can see all projects, manage roles and Passkeys, approve enrollment, transfer ownership, and override/delete environment values without reading existing plaintext. Security and role changes are audit logged.
Operations
sudo webdeploy status
sudo webdeploy start
sudo webdeploy stop
sudo webdeploy restart
sudo webdeploy logs
sudo webdeploy doctor
sudo webdeploy backup /secure/path/webdeploy-backup.tar.gz
sudo webdeploy update
sudo webdeploy uninstallbackup contains the database, configuration, encryption key, and signing key. Store it as a
high-value secret. Restore is intentionally interactive:
sudo webdeploy restore /secure/path/webdeploy-backup.tar.gz --confirmTo remove services but preserve data, run sudo webdeploy uninstall. To permanently delete the
database, configuration, and deployment data:
sudo /etc/webdeploy/uninstall.sh --purge-dataNginx, HTTPS, and PM2
For an existing domain, the installer backs up the virtual host outside Nginx's loaded directories,
adds one managed include, and proxies only /webdeploy/. The root site and its other locations are
untouched. It runs nginx -t before reload and removes the include if validation fails. With
--no-nginx, configure a path-stripping reverse proxy to the loopback control-plane port and
disable buffering for MCP responses.
Certbot is optional. If certificate issuance fails, installation remains usable locally and prints the exact retry command after DNS is fixed.
PM2 manages the control plane and dynamic project releases. The worker is a systemd service and reconciles missing active PM2 processes after reboot.
Manual development installation
corepack enable
corepack prepare pnpm@11.10.0 --activate
pnpm install --frozen-lockfile
pnpm build
cp .env.example .env
# Create the PostgreSQL database, master key, and OIDC JWKS, then edit .env.
pnpm migrate
pnpm --filter @webdeploy/control-plane dev
pnpm --filter @webdeploy/worker devFor a production server, use the installer so users, permissions, systemd, PM2, Nginx, secrets, and backup/update scripts are installed consistently.
Testing
pnpm lint
pnpm typecheck
pnpm build
pnpm test
TEST_DATABASE_URL=postgresql://... pnpm test
pnpm exec playwright install chromium
pnpm test:e2eGitHub Actions runs lint, type checks, builds, PostgreSQL integration tests, Passkey/OAuth/MCP browser tests, and shell syntax checks on Ubuntu.
Troubleshooting
Passkey says pending: run
sudo webdeploy auth list-pending, then approve its request code.OAuth callback fails: verify the Dashboard/MCP public URLs and reverse-proxy scheme/host.
Deployment cannot start: check
sudo webdeploy doctor, deployment logs, start command, and that the app listens on injectedHOST=127.0.0.1andPORT.Health check fails: the candidate is removed and the old release remains active. Correct the path or application and redeploy.
Nginx path conflict: choose another
--pathif the existing virtual host already declares/webdeploy.Certificate failure: confirm DNS and inbound 80/443, then run the printed
certbot --nginxcommand.Private Git: use an SSH URL and install a read-only deploy key for the project's isolated Linux user. Never put credentials in a Git URL.
useradd: cannot lock /etc/passwd: the worker retries with backoff and removes stale lock files whose holding process is dead. If deployment still fails, the error names the live process holding the lock; wait for it to finish, or runsudo webdeploy doctor --fix.
See Deployment and operations for details.
Known limitations in v0.1.9
Linux deployment execution is supported only on the listed Ubuntu/Debian versions.
Private Git key enrollment is an administrator-run server step; the Dashboard does not upload private keys.
The generic webhook signs canonical compact JSON as documented in Webhooks; provider-specific webhook adapters are not included.
Certificate renewal is delegated to the distribution's Certbot systemd timer.
Multi-node control planes and remote workers are not supported.
Contributing and license
See CONTRIBUTING.md and SECURITY.md. Licensed under Apache-2.0.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityCmaintenanceDeploy, manage, and scale applications directly from your AI assistant.Last updated3
- Flicense-qualityDmaintenanceDeploy full-stack apps from AI. 75+ tools: GitHub/Docker deploy, databases, environments, security, billing.Last updated2
- AlicenseAqualityAmaintenanceEnables AI agents to deploy static files and get live HTTPS URLs instantly, with support for custom domains and data residency.Last updated9142MIT

4everland-hosting-mcpofficial
Alicense-qualityDmaintenanceEnables AI-driven deployment of code to decentralized storage networks like Greenfield, IPFS, and Arweave, providing instantly accessible webpage domains.Last updated552MIT
Related MCP Connectors
Your AI builds, deploys, and runs full-stack apps on a hosted workspace created at first sign-in.
Agent-native web hosting — deploy sites, manage DNS, register domains, scale infrastructure
Deploy apps on your cloud. Create environments, configure infrastructure, and monitor jobs.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/ghbhiee/webdeploy-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server