PreviewShip
Turn HTML, static build output, Markdown, or PDF files into shareable preview URLs. Direct upload, CLI, VS Code, and MCP workflows.
Install / Use
claude mcp add blockdancez -- npx -y github:blockdancez/PreviewShipIf the server publishes to npm under a different name, use that package instead β check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
AutomationSupported Platforms
Our assessment of PreviewShip
PreviewShip scores 83/100 on our quality scale, 2183rd of 2,857 Automation skills we index.
Its MCP Server is 19 KB long, well organised into 39 sections with 14 code examples: a thorough specification that gives an agent plenty to work with.
It has 3 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated 6 days ago, so PreviewShip is actively maintained.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 80/100, with 2 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit β read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-11-01. Automated pattern scan on 2026-11-01. It catches known dangerous patterns, not every risk β read a skill before letting an agent act on it.
PreviewShip compared with similar skills
All 4 of these similar skills score higher than PreviewShip; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| PreviewShip (this skill)by blockdancez | 83 | 3 | 6d ago | MCP Server |
| Agent-Reachby Panniantong | 100 | 107.3k | 7d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 78.5k | 1d ago | CLAUDE.md |
| CowAgentby zhayujie | 100 | 47.7k | today | CLAUDE.md |
| Scraplingby D4Vinci | 100 | 91.2k | today | MCP Server |
Frequently asked questions
- How do I install PreviewShip?
- Run
claude mcp add blockdancez -- npx -y github:blockdancez/PreviewShip. The install tabs above show the steps for each supported agent. - Which AI agents does PreviewShip work with?
- It is written for Claude Code, Claude Desktop and OpenAI Codex, as a MCP Server file. Other agents that read the same format can often use it too.
- Is PreviewShip safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It declares no license and scores 80/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is PreviewShip still maintained?
- The repository was last updated 6 days ago, so PreviewShip is actively maintained.
Skill content
View source on GitHubPreviewShip
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.
Useful Deep Links
Use these links when listing PreviewShip in developer directories, MCP directories, README files, articles, or community answers:
- Upload a page now β no Git, domain, or server required
- Browse product comparisons
- Verify product and pricing facts
- Deploy the minimal static example
- Deploy from Claude Code
- Share Claude HTML artifacts as live URLs
- Netlify Drop alternative for one HTML file or ZIP
- Upload an HTML file to a website
- Share a Codex chat conversation
- Share a Claude Code chat conversation
- Compare PreviewShip with Netlify Drop
Spanish workflow guides:
- Desplegar una preview desde Claude Code
- Publicar desde Visual Studio Code
- Desplegar una preview desde Cursor
- Publicar un archivo HTML en la web
Open Source Packages
PreviewShip provides four open-source client packages:
| Package | npm | Description |
|---------|-----|-------------|
| CLI | previewship | Deploy frontend build output, HTML, Markdown, or PDF from the terminal |
| MCP Server | previewship-mcp | Native deploy tool for Claude Code, Cursor, Windsurf, and MCP agents |
| VS Code Extension | Marketplace | One-click deploy build output or active HTML/Markdown/PDF files from your editor |
| Agent Skills | GitHub / npx skills | Installable skills for Codex and Claude Code workflows, including high-fidelity chat sharing |
Deployment Methods
| Method | Command / Action | Best For |
|--------|-----------------|----------|
| CLI | npx previewship deploy ./dist, ./report.html, ./README.md, or ./report.pdf | Terminal, scripts, CI/CD, frontend builds, documents |
| MCP Server | Say "build the app, deploy the dist folder to PreviewShip" in AI chat | Claude Code, Cursor, Windsurf, agent workflows |
| VS Code / Cursor Extension | Command Palette β PreviewShip: Deploy Workspace, HTML, Markdown, or PDF File | Editor-first workflow, build folders, active HTML/Markdown/PDF files |
| Agent Skill | $share-codex-chat / $share-claude-code-chat | Publish Codex or Claude Code conversations as shareable high-fidelity chat pages |
| Web Console | Upload zip/html/markdown/pdf or paste HTML at previewship.com | Zero-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
| Input | Supported | Notes |
|-------|-----------|-------|
| React/Vue/Vite/Svelte/Astro build output | Yes | Deploy dist, build, out, public, or a zip with index.html |
| Next.js static export | Yes | Deploy the exported static folder |
| Single .html file | Yes | Packaged as index.html automatically |
| Markdown .md / .markdown file | Yes | Published through a generated viewer page |
| PDF .pdf file | Yes | Opened full screen with the browser's native PDF viewer |
| Raw source folder with package.json, src/, and node_modules | No | Run 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
- Upload an HTML file, ZIP, or build output
- Deploy from Claude Code
- Share Claude HTML artifacts
- Deploy a React/Vue build output
- Markdown to website
- Upload and share a PDF
- Publish AI-generated HTML online
- Preview hosting vs production hosting
- Netlify Drop alternative for one HTML file or ZIP
- Compare PreviewShip with Netlify Drop
- Share a Codex chat transcript as a public PreviewShip URL with the
share-codex-chatskill - Share a Claude Code chat transcript and tool timeline as a public PreviewShip URL with the
share-claude-code-chatskill
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
| Command | Description |
|---------|-------------|
| 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 list|get|delete|redeploy|access|versions|rollback | Manage projects, public/password access, paginated retained versions, asynchronous rollback, and expired-link recovery |
| previewship usage [--json] | Show remaining deployment quota |
| previewship whoami | Display 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
| Variable | Description |
|----------|-------------|
| PREVIEWSHIP_API_KEY | API Key (overrides saved config) |
| PREVIEWSHIP_SERVER_URL | Custom API server URL |
| CI | Auto-enables JSON output in CI environments |
| NO_COLOR | Disables 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
Truncated for display β read the full file on GitHub.
Related Skills
Agent-Reach
107.3kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu β one CLI, zero API fees.
headroom
78.5kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
CowAgent
47.7kOpen-source personal AI assistant & Agent Harness. Plans tasks, runs tools and skills, self-evolves with memory and knowledge. Multi-agent, multi-model, multi-channel. Lightweight, extensible, one-line install.
Scrapling
91.2kπ·οΈ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit β see the Safety scan above for what the skill file itself contains.
