HTML Deploy MCP Server
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., "@HTML Deploy MCP ServerCreate a simple contact form and deploy it."
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.
HTML 部署 MCP 服务
一个基于 FastAPI 的 MCP 服务器,可将 HTML 页面代码一键部署到在线预览平台,返回可访问的 URL。
✨ 功能
🚀 一键部署 HTML 页面到在线服务器
🔗 返回可直接访问的预览链接
🤖 支持 MCP 协议,可与 Claude、Cursor 等 AI 工具集成
Related MCP server: publish-artifacts-mcp
📋 环境要求
Python 3.12+
🛠️ 安装
# 克隆项目
git clone https://github.com/luler/hello_project_mcp.git
cd hello_project_mcp
# 安装依赖
pip install -r requirements.txt🚀 启动服务
python main.py服务将在 http://localhost:8989 启动。
📡 MCP 端点
端点 | 协议 | 用途 |
| HTTP | Streamable HTTP 传输 |
| SSE | Server-Sent Events 传输 |
🔧 配置 MCP 客户端
Claude Desktop
编辑配置文件:
{
"mcpServers": {
"html-deploy": {
"url": "http://localhost:8989/sse"
}
}
}Cursor
在 Cursor 设置中添加 MCP 服务器:
{
"mcpServers": {
"html-deploy": {
"url": "http://localhost:8989/sse"
}
}
}Cherry Studio / 其他客户端
使用 SSE 端点:http://localhost:8989/sse
💬 使用示例
配置完成后,在 AI 对话中可以这样使用:
帮我做一个贪吃蛇游戏,用 deploy_html 部署,给我链接创建一个渐变背景的登录页面,然后部署上线写一个动态时钟页面,deploy_html 发布一下AI 会自动生成 HTML 代码并调用 deploy_html 工具进行部署,返回预览链接。
📖 API 文档
启动服务后访问:
Swagger UI: http://localhost:8989/docs
ReDoc: http://localhost:8989/redoc
deploy_html
部署 HTML 页面到预览服务器。
请求:
{
"html": "<!DOCTYPE html><html>...</html>"
}响应:
{
"success": true,
"message": "HTML打包并上传成功",
"preview_url": "https://html.luler.top/preview/xxxxx"
}⚙️ 配置说明
通过环境变量或 .env 文件配置:
UPLOAD_PLATFORM_BASE_URL=https://html.luler.top # 预览平台地址
UPLOAD_CODE=1dec7206c6 # 项目标识
PORT=8989 # 服务端口
DEBUG=0 # 调试模式(1为开启热重载)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
- Alicense-qualityCmaintenancePublishes HTML pages straight from your AI assistant to a shareable URL, then lets you manage them - update, list, search, fetch, and delete pages in a public or private workspace. Turns "share what I just made" into a single tool call from Claude, Cursor, or any MCP client.Last updatedMIT
- Flicense-qualityCmaintenanceEnables publishing, updating, and sharing HTML artifacts with strict security isolation (origin separation, CSP, API keys) via MCP tools.Last updated1
- Alicense-qualityAmaintenanceEnables agents to publish HTML artifacts to permanent, shareable, versioned pages on Artifyde via MCP.Last updated103MIT
- FlicenseAqualityCmaintenanceDeploy any HTML project to a live public URL in seconds — directly from Cursor, Claude Code, or any MCP-compatible AI agent.Last updated2
Related MCP Connectors
Publish AI-generated HTML & Markdown to a hosted, shareable URL via MCP.
Publish HTML, files, or a URL to a permanent public URL, then update it — from any MCP agent.
Create sandboxed public-unlisted or access-key-protected HTML previews through a remote MCP server.
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/luler/hello_project_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server