Basic information
About Previewship Mcp Server
PreviewShip MCP lets Claude Code, Cursor, Windsurf, Codex-compatible workflows, and other MCP clients publish browser-ready frontend artifacts without opening a hosting dashboard. It can deploy a built dist/build/out/public folder, a single HTML file, Markdown, or an AI-generated
Previewship Mcp is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by blockdancez. It exposes 12 tools, including deploy_preview, check_deployment, show_usage, list_projects and more. Supported transport: stdio. License: MIT. Source code is hosted on github.com. Related topics: deployment, developer-tools, static-preview-hosting.
Setup
{
"mcpServers": {
"previewship": {
"command": "npx",
"args": [
"-y",
"previewship-mcp"
],
"env": {
"PREVIEWSHIP_API_KEY": "ps_live_your_key_here"
}
}
}
}
{
"mcpServers": {
"previewship": {
"command": "npx",
"args": [
"-y",
"previewship-mcp"
],
"env": {
"PREVIEWSHIP_API_KEY": "ps_live_your_key_here"
}
}
}
}
{
"servers": {
"previewship": {
"command": "npx",
"args": [
"-y",
"previewship-mcp"
],
"env": {
"PREVIEWSHIP_API_KEY": "ps_live_your_key_here"
}
}
}
}
Previewship Mcp config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"previewship": {
"command": "npx",
"args": [
"-y",
"previewship-mcp"
],
"env": {
"PREVIEWSHIP_API_KEY": "ps_live_your_key_here"
}
}
}
}
Previewship Mcp tools
-
deploy_preview
— Deploy a static website to PreviewShip preview environment and get a shareable preview URL. Works with HTML/CSS/JS websites, React/Vue/Angular build outputs (dist/build directories), single AI-generated .html files, Markdown documents, PDF documents, static site generator outputs, and more. Choose PUBLIC or Pro PASSWORD access before the deployment is published.
path:string, projectName:string, excludePatterns:array, visibility:string, password:string -
check_deployment
— Check the status of a PreviewShip deployment. Use the deployment ID returned by deploy_preview.
deploymentId:number* -
show_usage
— Show PreviewShip deployment quota usage including daily and monthly limits.
(no parameters) -
list_projects
— List PreviewShip projects owned by the API key user, including fixed preview URLs, access mode, current status, and redeploy availability.
(no parameters) -
get_project
— Get details for one PreviewShip project, including its fixed preview URL, latest deployment pointer, and access mode.
projectId:integer* -
delete_project
— Delete a PreviewShip project and its fixed preview URL. This also removes hosted project artifacts and Showcase entries. Requires confirmProjectName to prevent accidental deletion.
projectId:integer*, confirmProjectName:string* -
redeploy_project_latest
— Redeploy a project from its latest retained artifact without uploading files again. Useful for restoring an expired fixed preview link.
projectId:integer* -
get_project_access
— Show whether a PreviewShip project is public or password protected.
projectId:integer* -
set_project_access
— Set a project to PUBLIC or PASSWORD access. PUBLIC clears an existing project password and makes the fixed preview URL publicly accessible again.
projectId:integer*, visibility:string*, password:string -
list_project_versions
— List retained project deployments that may be used for rollback. Free and Pro accounts follow plan history limits; internal accounts can page through all history.
projectId:integer*, page:integer, size:integer -
rollback_project_version
— Queue a new deployment from a retained historical version. Requires confirmProjectName to prevent accidental changes; poll the returned deployment ID until ready.
projectId:integer*, deploymentId:integer*, confirmProjectName:string* -
list_deployments
— List PreviewShip deployment history with status, preview URL, source, current marker, and rollback availability.
status:string, query:string, days:integer, page:integer, size:integer
Overview
What is Previewship Mcp?
Previewship Mcp is a Model Context Protocol server that lets AI coding agents deploy static frontend previews as a native tool call. It works with Claude Code, Cursor, Windsurf, and any MCP-compatible client, providing instant shareable preview URLs without Git or CI/CD.
How to use Previewship Mcp?
Configure Previewship Mcp by adding a JSON entry to your MCP client settings (e.g., ~/.claude/settings.json for Claude Code, .cursor/mcp.json for Cursor, or ~/.codeium/windsurf/mcp_config.json for Windsurf) with the command npx -y previewship-mcp and the environment variable PREVIEWSHIP_API_KEY. Then simply ask your AI agent to deploy a project, check deployment status, or show usage quota.
Key features of Previewship Mcp
- Deploy a directory and get a preview URL via the
deploy_previewtool - Check deployment status by ID with
check_deployment - Display remaining deployment quota using
show_usage - Works with any static frontend output containing an
index.html - No Git, CI/CD, or complex configuration required
Use cases of Previewship Mcp
- Deploy a static site instantly from an AI coding agent's chat
- Verify deployment status without leaving the editor
- Monitor remaining daily deployment quota
Frequently asked questions
1 What runtime is required?
Node.js 20.0.0 or later.
2 How do I get an API Key?
Register a free account at previewship.com, then create an API Key from the console → API Keys page.
3 What types of projects can I deploy?
Any static frontend output works — React, Vue, Svelte, Angular, Next.js (export), Nuxt (generate), Astro, or vanilla HTML/CSS/JS, as long as the build output contains an index.html.
4 Is there a free plan?
Yes, the Free plan costs $0, includes 1 project, 5 daily deploys, 15 MB max zip size, and 7-day preview expiry. No credit card is required.
5 What are the deployment limits?
Free plan: 5 deploys/day, 15 MB zip, 7-day expiry. Pro Monthly ($9/mo): 20 deploys/day, 50 MB zip, 30-day expiry. Pro Yearly ($84/yr): 35 deploys/day, 80 MB zip, 365-day expiry.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In