Skip to main content
Glama
zyfasos

cloudbase-html-mcp

by zyfasos

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CLOUDBASE_ENV_IDYesThe CloudBase environment ID.
CLOUDBASE_REGIONYesThe CloudBase region (e.g. ap-shanghai).
CLOUDBASE_API_KEYYesThe CloudBase environment management API key used to obtain temporary credentials.
CLOUDBASE_REGISTRY_DIRNoOptional absolute path to the registry directory (outside Git), or `off` to disable list/offline/online features.
CLOUDBASE_PUBLIC_BASE_URLNoOptional public base URL that overrides automatic route discovery.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
hosting_statusA

检查本地配置、API Key 换取凭据和静态托管在线状态。只读;成功不代表拥有上传权限。

publish_htmlA

将用户指定的 HTML 首次发布或覆盖在线页面,仅写当前对象,不创建快照。更新同一 URL 时先 get_html,复用 siteId 或经当前环境路由校验的 siteUrl,并传查询返回的 sha256。离线页面须显式 online_html 恢复;此操作会公开 HTML。域名映射不变时更新 URL 不变。

get_htmlA

按 siteId、siteUrl 或已登记 localPath(三选一)查询页面;返回云端当前哈希、大小和链接,并实际验证公网内容。本地元数据不可用时,已知 ID 或已核实 URL 仍可查询云端,返回 registryDiagnostic;路径查询及写入不降级。不会使用登记中的旧哈希替代云端查询。

list_htmlA

分页列出当前环境本地已知站点及最近确认状态,不访问云端核验,不是全云端站点清单。localPaths 仅含当前绑定到该站点的可操作路径;sourcePaths 是历史产物来源,不能作为当前目标绑定使用。要求启用本地目录。

offline_htmlA

下线指定页面:永久删除当前云端 HTML 及该站点旧版快照,保留本地登记。必须用户明确要求;先 get_html 查询哈希。先核对 COS 桶版本控制,启用、暂停或无法确认时拒绝删除。下线不清除外部浏览器/CDN 缓存;清理不完整必须按返回建议恢复。

online_htmlA

将已登记的离线页面重新公开上线,读取本次用户指定的 HTML 并恢复原 siteId 路径,不写快照。云端须不存在;已在线时使用 publish_html。此前上线超时但已写入相同内容可验证完成。要求启用本地目录。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/zyfasos/cloudbase-html-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server