PreviewShip MCP Server

PreviewShip MCP Server

previewship•byblockdancez

A Model Context Protocol server that lets AI coding agents deploy static previews as native tool calls.

License: MIT•Runtime: Awaiting documentation review•Category: cloud devops

WHAT IT DOES

  • •Deploys build-output directories, single HTML, Markdown, or PDF documents and returns a preview URL via the deploy_preview tool.
  • •Exposes tools for checking deployment status, deployment history, and remaining deployment quota.
  • •Provides project management tools for inspecting fixed preview URLs, setting public or password access, and rolling back or redeploying retained versions.

BEST FOR

  • •AI coding agent workflows in clients like Claude Code, Cursor, and Windsurf where a deploy should happen as a native tool call.
  • •Sharing a preview of frontend build output or a single document generated during an agent session.

ABOUT PREVIEWSHIP

PreviewShip MCP Server is cataloged as an MCP server attributed to blockdancez. A Model Context Protocol server that lets AI coding agents deploy static previews as native tool calls. It is categorized under cloud devops. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for PreviewShip MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Which inputs can the MCP server deploy?

It can deploy a build-output directory, a single HTML file, a Markdown document, or a PDF document.

Does the server support version rollback?

Yes, it offers tools to page through retained versions and queue a new deployment from a historical version.

Upstream README

View this exact version on GitHub

README.md · 4920d6be330b · Fetched 2026-11-13 13:33:24 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

PreviewShip

Version delivery records: 2.0.1 — background content review and automatic remediation.

Deploy React/Vue/Vite/Next build output, HTML, Markdown, and PDF documents from your editor, terminal, AI agent, or browser and get fixed preview URLs.

PreviewShip is a frontend preview deployment platform for developers and AI-assisted workflows. Upload browser-ready build output such as dist, build, out, or public, publish a single HTML, Markdown, or PDF file, paste generated HTML, or let an AI coding agent deploy a static artifact and return a shareable PreviewShip URL in seconds.

PreviewShip is not a source-code build platform. For React, Vue, Vite, Next, Astro, Svelte, Angular, or Nuxt projects, build first and deploy the generated static output folder or zip with index.html. Single HTML, Markdown, and PDF files work directly.

How To Describe PreviewShip

Use this short description for npm, GitHub, VS Code Marketplace, Open VSX, MCP directories, and AI-agent tool listings:

PreviewShip publishes HTML online, hosts HTML files, and deploys browser-ready React/Vue/Vite/Next build output, Markdown, and AI-generated static pages to fixed preview URLs from CLI, VS Code/Cursor, MCP agents, and browser upload.

Use these links when listing PreviewShip in developer directories, MCP directories, README files, articles, or community answers:

Spanish workflow guides:

Open Source Packages

PreviewShip provides four open-source client packages:

PackagenpmDescription
CLIpreviewshipDeploy frontend build output, HTML, Markdown, or PDF from the terminal
MCP Serverpreviewship-mcpNative deploy tool for Claude Code, Cursor, Windsurf, and MCP agents
VS Code ExtensionMarketplaceOne-click deploy build output or active HTML/Markdown/PDF files from your editor
Agent SkillsGitHub / npx skillsInstallable skills for Codex and Claude Code workflows, including high-fidelity chat sharing

Deployment Methods

MethodCommand / ActionBest For
CLInpx previewship deploy ./dist, ./report.html, ./README.md, or ./report.pdfTerminal, scripts, CI/CD, frontend builds, documents
MCP ServerSay "build the app, deploy the dist folder to PreviewShip" in AI chatClaude Code, Cursor, Windsurf, agent workflows
VS Code / Cursor ExtensionCommand Palette → PreviewShip: Deploy Workspace, HTML, Markdown, or PDF FileEditor-first workflow, build folders, active HTML/Markdown/PDF files
Agent Skill$share-codex-chat / $share-claude-code-chatPublish Codex or Claude Code conversations as shareable high-fidelity chat pages
Web ConsoleUpload zip/html/markdown/pdf or paste HTML at previewship.comZero-tool deployment

Each project keeps one fixed preview URL. Public and password-protected publishing are available through the same deployment flow; password protection is a Pro feature.

Supported Inputs

InputSupportedNotes
React/Vue/Vite/Svelte/Astro build outputYesDeploy dist, build, out, public, or a zip with index.html
Next.js static exportYesDeploy the exported static folder
Single .html fileYesPackaged as index.html automatically
Markdown .md / .markdown fileYesPublished through a generated viewer page
PDF .pdf fileYesOpened full screen with the browser's native PDF viewer
Raw source folder with package.json, src/, and node_modulesNoRun the build first and deploy generated output

PDF entry selection preserves existing site behavior: HTML wins over Markdown, and Markdown wins over PDF. A single PDF becomes the full-screen entry automatically; if an archive contains multiple PDFs without HTML or Markdown, name the root entry index.pdf or upload only one PDF.

Publishing Workflows


CLI

One-command deploy from any terminal. Supports JSON output for AI agents and CI pipelines.

Quick Start

# Set your API Key
npx previewship login --key ps_live_YOUR_KEY

# Deploy a directory
npx previewship deploy ./dist

# Deploy a single HTML file
npx previewship deploy ./report.html

# Deploy a Markdown document
npx previewship deploy ./README.md

# Deploy a PDF document
npx previewship deploy ./report.pdf

For zipped uploads or directory deploys, deploy the static build artifact, not the raw source project. Run your framework build first, then deploy folders such as dist, build, out, public, or a zip containing index.html and its assets. Do not upload a source-code zip with package.json, src/, and node_modules and expect PreviewShip to build it.

Commands

CommandDescription
previewship login [--key KEY]Set API Key for authentication
previewship deploy [path] [-n name] [--json]Deploy a directory, single HTML, Markdown, or PDF document and get a preview URL
previewship status <id> [--json]Check deployment status by ID
previewship deployments list [--status READY] [--days 30]List deployment history and rollback availability
`previewship projects listget
previewship usage [--json]Show remaining deployment quota
previewship whoamiDisplay current configuration

Options

# Deploy with a custom project name
npx previewship deploy ./dist -n my-project

# JSON output for AI agents and CI
npx previewship deploy ./dist --json

# Custom exclude patterns
npx previewship deploy ./dist --exclude "*.map" --exclude "tests/**"

Project names are display names inside PreviewShip. They can use natural short names; PreviewShip automatically creates a deployment-safe hosting slug.

Environment Variables

VariableDescription
PREVIEWSHIP_API_KEYAPI Key (overrides saved config)
PREVIEWSHIP_SERVER_URLCustom API server URL
CIAuto-enables JSON output in CI environments
NO_COLORDisables colored output

Programmatic Usage

The CLI also exports its core functions for use as a library:

import {
  deploy,
  getStatus,
  getUsage,
  listProjects,
  getProject,
  deleteProject,
  getProjectAccess,
  updateProjectAccess,
  listProjectVersions,
  rollbackProjectVersion,
  redeployProject,
  listDeployments,
} from 'previewship'
import { ApiClient } from 'previewship'
import { packDirectory, DEFAULT_EXCLUDE_PATTERNS } from 'previewship'

Use updateProjectAccess(projectId, { visibility: 'PUBLIC' }) to clear an existing project password and switch the fixed preview URL back to public access.


Agent Skills

Installable skills make PreviewShip available as an agent-native workflow, not just a deployment command. The included share-codex-chat and share-claude-code-chat skills turn AI coding conversations into high-fidelity HTML pages and deploy them to PreviewShip, so users can share debugging sessions, implementation reviews, tool timelines, and AI-generated work without taking screenshots.

Install Share Codex Chat

Global install:

npx skills add blockdancez/PreviewShip --skill share-codex-chat -a codex -g --yes

Project-local install, run from the project root:

npx skills add blockdancez/PreviewShip --skill share-codex-chat -a codex --yes

Then use it inside Codex:

$share-codex-chat 分享当前 Codex 对话

The skill preserves visible Codex UI elements such as user bubbles, assistant replies, uploaded image thumbnails, plugin mentions, collapsed processing details, file cards, and edited-file summaries. It filters hidden system/developer context and deploys the generated HTML through the PreviewShip CLI.

Install Share Claude Code Chat

Global install:

npx skills add blockdancez/PreviewShip --skill share-claude-code-chat -a codex -g --yes

Project-local install, run from the project root:

npx skills add blockdancez/PreviewShip --skill share-claude-code-chat -a codex --yes

Then use it inside Codex:

$share-claude-code-chat 分享 Claude Code 对话

The skill reads Claude Code JSONL sessions from ~/.claude/projects, renders visible messages and safe tool activity as a polished share page, hides reasoning and raw tool outputs, and deploys the generated HTML through the PreviewShip CLI.


MCP Server

Model Context Protocol server that lets AI coding agents deploy previews as a native tool call. Works with Claude Code, Cursor, Windsurf, and any MCP-compatible client.

Setup

Claude Code — add to ~/.claude/settings.json:

{
  "mcpServers": {
    "previewship": {
      "command": "npx",
      "args": ["-y", "previewship-mcp"],
      "env": {
        "PREVIEWSHIP_API_KEY": "ps_live_YOUR_KEY"
      }
    }
  }
}

Cursor — create .cursor/mcp.json in your project root:

{
  "mcpServers": {
    "previewship": {
      "command": "npx",
      "args": ["-y", "previewship-mcp"],
      "env": {
        "PREVIEWSHIP_API_KEY": "ps_live_YOUR_KEY"
      }
    }
  }
}

Windsurf — add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "previewship": {
      "command": "npx",
      "args": ["-y", "previewship-mcp"],
      "env": {
        "PREVIEWSHIP_API_KEY": "ps_live_YOUR_KEY"
      }
    }
  }
}

Available Tools

ToolDescriptionParameters
deploy_previewDeploy a build-output directory, single HTML, Markdown, or PDF document and get a preview URLpath (optional), projectName (optional), excludePatterns (optional)
check_deploymentCheck deployment status by IDdeploymentId (required)
show_usageShow remaining deployment quota—
list_projects, get_projectInspect fixed preview URLs, project status, access mode, and redeploy stateprojectId for detail
set_project_access, get_project_accessSet public/password access; PUBLIC clears an existing passwordprojectId, visibility, password for password mode
list_project_versions, rollback_project_versionPage through retained versions and queue a new deployment from a historical versionprojectId, page, size, deploymentId, confirmProjectName
redeploy_project_latestRestore an expired fixed preview link from the latest retained artifactprojectId
delete_projectDelete a project and its fixed preview URL; requires exact project-name confirmationprojectId, confirmProjectName
list_deploymentsList deployment history, sources, current marker, and rollback availabilitystatus, query, days, page, size

Usage

Once configured, simply ask your AI agent:

"Deploy this project to PreviewShip" "Check the status of my last deployment" "How many deploys do I have left today?"


VS Code / Cursor Extension

One-click deploy from VS Code or Cursor. Deploy a workspace, detected build output, or the active HTML/Markdown/PDF file. Install from the VS Code Marketplace or Open VSX Registry.

Install

Via Command Palette (Ctrl+P / Cmd+P):

ext install previewship.previewship

Via VSIX (offline install):

code --install-extension previewship-0.1.8.vsix
# Or for Cursor:
cursor --install-extension previewship-0.1.8.vsix

Commands

CommandDescription
PreviewShip: Set API KeyStore your API Key securely (encrypted via VS Code Secrets API)
PreviewShip: Deploy Workspace, HTML, Markdown, or PDF FilePackage, upload, and deploy your project; when a supported file is active, choose file or workspace
PreviewShip: Deploy Active HTML, Markdown, or PDF FilePackage the active HTML, Markdown, or PDF file as the site entry and deploy it directly
PreviewShip: Show UsageDisplay daily/monthly deployment quota

Settings

SettingDefaultDescription
previewship.serverUrlhttps://api.previewship.comAPI server URL
previewship.excludePatternsnode_modules/**, .git/**, .env*, etc.File exclude patterns for packaging
previewship.pollIntervalMs3000Deployment status polling interval (ms)
previewship.pollTimeoutMs300000Polling timeout (ms)

Getting Started

  1. Register a free account at previewship.com
  2. Create an API Key from the console → API Keys page
  3. Deploy using any method above
  4. Share the preview link with your team

Plans

FreePro MonthlyPro Yearly
Price$0$8.10/mo default offer (was $9/mo)$75.60/yr default offer (was $84/yr, $6.30/mo)
Projects12040
Daily Deploys55080
Monthly Deploys20300500
Max Zip Size15 MB50 MB80 MB
HostingExpires after 3 daysContinuous while subscribedContinuous while subscribed
Current Hosting Guarantee3 days1 month, rolling12 months, rolling
Version History3 retained versions10 retained versions40 retained versions
Project Password AccessNot includedIncludedIncluded
Public/Password Access TogglePublic onlyIncludedIncluded
PreviewShip WatermarkIncludedRemovedRemoved

Stripe Prices remain $9/month and $84/year. Checkout applies the eligible coupon automatically: default new users get 10% off forever; BR/PT Portuguese campaigns and retention flows can receive limited 40% offers; existing legacy monthly users keep legacy 40% forever when upgrading to yearly.

Free plan requires no credit card. Start deploying instantly.

Supported Frameworks

Any static frontend output works — React, Vue, Svelte, Angular, Next.js (export), Nuxt (generate), Astro, vanilla HTML/CSS/JS, Markdown, PDF, and more. Build output directories should contain an index.html. Single .html files become the entry page; Markdown gets a generated viewer; single PDF documents open full screen through the browser's native PDF viewer, with zoom, search, print, and download controls when the browser exposes them.

Important: PreviewShip hosts static artifacts; it does not run npm install or build raw source zips after upload. If your project is React/Vue/Next/Astro/etc., run the build command first and upload the generated output folder or zip.

Requirements

  • Node.js ≥ 20.0.0 (for CLI and MCP)
  • VS Code ≥ 1.85.0 (for extension)
  • An API Key from previewship.com

License

MIT — see LICENSE for details.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for PreviewShip MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/previewship)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related cloud devops MCP Servers

Alternative and complementary servers in the same category

View all in cloud devops →
Huawei MCP Server
mcp-server-huaweiclouddeveloper•huaweiclouddeveloper

A Model Context Protocol server built on Huawei Cloud services that enables AI assistants to operate Huawei Cloud resources within conversational workflows, supporting ECS, OBS, GaussDB, and other cloud products.

Repository stats unavailable
Cloud & DevOps
Coolify MCP Server
coolify-mcp-server•wrediam

An MCP server that exposes the Coolify v4.3.1 REST API so AI clients can manage applications, databases, services, servers, deployments, and more.

Repository stats unavailable
Cloud & DevOps

A deprecated Model Context Protocol server for interacting with Kong Konnect APIs, enabling AI assistants to query and analyze Kong Gateway configurations, traffic, and analytics.

Repository stats unavailable
Cloud & DevOps