Skip to main content
Glama
rushxb

MCP HTML Deployment Server (Nginx Static File Hosting)

by rushxb

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HOSTNo监听的主机 IP 地址0.0.0.0
MCP_PORTNoMCP 服务绑定的 HTTP 端口3000
MCP_API_KEYNo可选的安全密钥。若设置,客户端连接及消息发送必须携带该密钥。
MCP_DB_PATHNo站点元数据 JSON 数据库路径<DATA_DIR>/db.json
MCP_MAX_TTLNo可选的最大站点存活时间,用于限制用户侧 ttl 不能超过企业策略。
MCP_BASE_URLNo访问静态站点的公网 URL 前缀(需与 Nginx 路径匹配)http://localhost/sites
MCP_DATA_DIRNo存放元数据和站点文件夹的父级目录./data
MCP_SITES_DIRNo部署的静态站点的物理存储绝对路径<DATA_DIR>/sites
MCP_DEFAULT_TTLNo可选的默认站点存活时间(秒数或格式化字符串如 '30m', '12h', '7d')。
MCP_CLEANUP_INTERVALNo定时清理过期站点的检测间隔时间(毫秒)。60000
MCP_MAX_UPLOAD_BYTESNo允许的最大上传大小(单文件/ZIP)52428800
MCP_ALLOWED_EXTENSIONSNo允许上传的文件后缀列表(以逗号分隔).html,.css,.js,.png,.jpg,.jpeg,.gif,.svg,.ico,.json,.xml,.txt,.pdf,.woff,.woff2,.ttf,.eot,.map

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

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/rushxb/mcp-html-mcp-nginx'

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