@share-html/mcp-server
@aiformasses/mcp-server
从 MCP 代理发布安全的静态 HTML 页面,并获得可分享的 URL。
首选:托管 OAuth
Codex 用户无需安装此包或创建永久令牌即可连接:
npx -y @openai/codex@0.149.0 mcp add share-html --url https://share-html-app-alpha.vercel.app/api/mcp --oauth-client-registration cimd浏览器授权流程授予对您的 share/html 账户的访问权限。打开连接页面获取最新的已验证设置。
Related MCP server: webserver-mcp
个人令牌备用方案
当您的 MCP 客户端不支持托管 OAuth 流程时,请使用此包。它需要 Node.js 20.19 或更高版本以及 npx:
node --version
npx --version在连接页面上创建个人令牌连接。出现配置时请复制;share/html 无法再次显示该令牌。令牌将保持有效,直到您撤销该连接。
Codex
将服务器添加到 ~/.codex/config.toml,然后从 Codex 设置中仅重启 share-html MCP 服务器。首次启动将通过 npx 下载固定版本的包。
[mcp_servers."share-html"]
command = "npx"
args = ["-y", "@aiformasses/mcp-server@0.1.0"]
[mcp_servers."share-html".env]
SHARE_HTML_API_BASE_URL = "https://share-html-app-alpha.vercel.app/api/v1"
SHARE_HTML_API_TOKEN = "shp_..."标准 MCP JSON
{
"mcpServers": {
"share-html": {
"command": "npx",
"args": ["-y", "@aiformasses/mcp-server@0.1.0"],
"env": {
"SHARE_HTML_API_BASE_URL": "https://share-html-app-alpha.vercel.app/api/v1",
"SHARE_HTML_API_TOKEN": "shp_..."
}
}
}
}将 SHARE_HTML_API_TOKEN 视为密码。不要将其提交到代码库、粘贴到 HTML 中或发送给任何人。如果丢失或泄露,请在连接页面撤销该连接并创建新的连接。
工具
服务器提供 publish_html、update_page、get_page、list_pages、publish_page、unpublish_page 和 delete_page 工具。
share/html API 会对每个文档进行净化处理。在页面发布之前,JavaScript、表单、嵌入内容和外部网络调用都会被移除或阻止。
故障排除
npx: command not found:安装 Node.js 20.19 或更高版本,然后重新打开终端或 MCP 客户端。invalid_api_token:使用新创建的个人令牌连接替换已撤销或错误的令牌。请求超时:变更可能已完成。在要求代理重试之前,请使用
list_pages或get_page进行检查。连接失败:确认 API URL 使用 HTTPS,并且您的网络可以访问
share-html-app-alpha.vercel.app。
源代码和问题反馈:arunai30/share-html-mcp
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
- AlicenseNot gradedqualityCmaintenancePublishes 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.MIT
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to edit and serve a static website via natural language, providing file management tools over MCP and HTTP hosting.
- FlicenseNot gradedqualityCmaintenanceEnables publishing, updating, and sharing HTML artifacts with strict security isolation (origin separation, CSP, API keys) via MCP tools.1
- AlicenseNot gradedqualityAmaintenanceEnables agents to publish HTML artifacts to permanent, shareable, versioned pages on Artifyde via MCP.77MIT
Related MCP Connectors
Publish HTML, files, or a URL to a permanent public URL, then update it — from any MCP agent.
Publish HTML to private, unguessable, replace-in-place URLs from any MCP-compatible AI agent.
Hosted MCP for creating, checking, deploying, and hosting static sites for AI agents.
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/arunai30/share-html-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server