MCP 服务器

AIfra — temporary static previews

io.github.nickbasharin/aifra
云与基础设施 开发者工具 公开且可连接 MCP 2025-11-25

此 MCP 可以做什么

Creates, updates, checks, and deletes temporary HTTPS previews for supplied static site or HTML slide files.

create_preview
Prepare a new temporary static preview. Supply exactly one of small files, ZIP archive_base64, or an allowed provider ZIP file reference. No backend/build. Requires explicit consent; returns an approval link, not a published URL. User must confirm in their browser.
可访问外部资源
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['accept_terms'], 'properties': {'files': {'type': 'array', 'items': {'type': 'object', 'required': ['path', 'content'], 'properties': {'path': {'type': 'string', 'maxLength': 240, 'minLength': 1}, 'content': {'type': 'string', 'maxLength': 1400000}, 'encoding': {'enum': ['utf8', 'base64'], 'type': 'string'}}, 'additionalProperties': False}, 'maxItems': 500, 'minItems': 1}, 'archive': {'type': 'object', 'required': ['download_url', 'file_id'], 'properties': {'file_id': {'type': 'string', 'maxLength': 256, 'minLength': 1}, 'file_name': {'type': 'string', 'maxLength': 240}, 'mime_type': {'type': 'string', 'maxLength': 100}, 'download_url': {'type': 'string', 'maxLength': 8192}}, 'additionalProperties': False}, 'accept_terms': {'type': 'boolean', 'const': True}, 'archive_base64': {'type': 'string', 'maxLength': 69905068}}}
delete_preview
Prepare deletion of an existing preview. Does not delete until its owner confirms in the browser holding the management key.
可能执行破坏性操作 可访问外部资源
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['preview_id', 'confirm_delete'], 'properties': {'preview_id': {'type': 'string', 'pattern': '^pv_[A-Za-z0-9_-]{24}$'}, 'confirm_delete': {'type': 'boolean', 'const': True}}}
get_deploy_instructions
Explain remote browser-confirmed AIfra publication of ready static files, limits and current terms.
只读
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
get_operation_status
Read whether a prepared operation is pending, complete, failed or uncertain. Returns no file content or management key. Never assume pending means published.
只读
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['operation_id'], 'properties': {'operation_id': {'type': 'string', 'pattern': '^rop_[A-Za-z0-9_-]{43}$'}}}
get_preview_status
Read public status, URL and original expiry of an existing preview.
只读 可访问外部资源
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['preview_id'], 'properties': {'preview_id': {'type': 'string', 'pattern': '^pv_[A-Za-z0-9_-]{24}$'}}}
update_preview
Prepare replacement of an existing temporary static preview. Supply exactly one of small files, ZIP archive_base64, or an allowed provider ZIP file reference. No backend/build. Requires explicit consent; returns an approval link, not a published URL. User must confirm in their browser. Requires the browser holding the existing management key; expiry is unchanged.
可能执行破坏性操作 可访问外部资源
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['accept_terms', 'preview_id'], 'properties': {'files': {'type': 'array', 'items': {'type': 'object', 'required': ['path', 'content'], 'properties': {'path': {'type': 'string', 'maxLength': 240, 'minLength': 1}, 'content': {'type': 'string', 'maxLength': 1400000}, 'encoding': {'enum': ['utf8', 'base64'], 'type': 'string'}}, 'additionalProperties': False}, 'maxItems': 500, 'minItems': 1}, 'archive': {'type': 'object', 'required': ['download_url', 'file_id'], 'properties': {'file_id': {'type': 'string', 'maxLength': 256, 'minLength': 1}, 'file_name': {'type': 'string', 'maxLength': 240}, 'mime_type': {'type': 'string', 'maxLength': 100}, 'download_url': {'type': 'string', 'maxLength': 8192}}, 'additionalProperties': False}, 'preview_id': {'type': 'string', 'pattern': '^pv_[A-Za-z0-9_-]{24}$'}, 'accept_terms': {'type': 'boolean', 'const': True}, 'archive_base64': {'type': 'string', 'maxLength': 69905068}}}
已添加
get_preview_status
2026年9月20日 02:40
已添加
get_operation_status
2026年9月20日 02:40
已添加
delete_preview
2026年9月20日 02:40
已添加
update_preview
2026年9月20日 02:40
已添加
create_preview
2026年9月20日 02:40
已添加
get_deploy_instructions
2026年9月20日 02:40