MCP.so
登录

Artifacts — self-hosted artifact publishing (HTML/JSX/Markdown/z…

@kuyazee

基本信息

分类

其他

许可证

MIT

作者

kuyazee

关于 Artifacts — self-hosted artifact publishing (HTML/JSX/Markdown/zip → unguessable URL) MCP Server

Self-hosted artifact publishing — POST HTML/JSX/Markdown/zip, get an unguessable public URL. MCP server built in.

Artifacts — self-hosted artifact publishing (HTML/JSX/Markdown/zip → unguessable URL) MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "artifacts": {
      "command": "docker",
      "args": [
        "run",
        "-d",
        "-p",
        "3000:3000",
        "-v",
        "artifacts-data:/data",
        "\\"
      ]
    }
  }
}

Artifacts — self-hosted artifact publishing (HTML/JSX/Markdown/zip → unguessable URL) MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Artifacts — self-hosted artifact publishing (HTML/JSX/Markdown/zip → unguessable URL)?

Artifacts is a self-hosted service that lets you publish HTML, JSX/TSX React components, Markdown, or zipped static sites to public, unguessable URLs on your own domain. It includes a built-in MCP server for AI coding agents and a drag-and-drop web UI for humans.

How to use Artifacts — self-hosted artifact publishing (HTML/JSX/Markdown/zip → unguessable URL)?

Deploy with Docker Compose, Docker, or bare Node (requires Node ≥22 and setting ARTIFACTS_API_KEY and BASE_URL environment variables). Then publish artifacts via curl, the included CLI (node cli.js), or MCP tools (e.g., publish_artifact). The web UI at / allows drag-and-drop management after authenticating with the API key.

Key features of Artifacts — self-hosted artifact publishing (HTML/JSX/Markdown/zip → unguessable URL)

  • Four content types: HTML, JSX/TSX, Markdown, and zip static sites.
  • MCP server at /mcp for AI agents (publish, update, disable, list, delete).
  • Web UI with drag-and-drop upload and lifecycle management.
  • Lifecycle controls: rename slugs, disable/enable, auto-expiry (410).
  • Non-crawlable: noindex headers and deny-all robots.txt.
  • Zip upload validation: requires index.html, static extensions only, rejects traversal/symlinks.

Use cases of Artifacts — self-hosted artifact publishing (HTML/JSX/Markdown/zip → unguessable URL)

  • AI agents publishing generated dashboards, prototypes, or reports.
  • Human developers quickly sharing static sites or React components.
  • Self-hosted alternative to Claude’s hosted artifact URLs.
  • Sharing ephemeral content with auto-expiry and slug management.

常见问题

1

How is security handled?

Write access requires a bearer token (`ARTIFACTS_API_KEY`). Host on a dedicated subdomain with no cookies. Responses include `X-Robots-Tag: noindex`, CSP, and other security headers. Reads are public by design—the unguessable slug is the access control.

2

What are the runtime requirements?

Node.js ≥22 is required. No database, no accounts—artifacts are stored as plain files under `/data`. The server is a single Express process (~600 lines).

3

Where are artifacts stored?

All artifacts are stored as plain files in `DATA_DIR` (default: `/data`). You must mount a persistent volume to `/data` (e.g., `-v artifacts-data:/data`).

4

What are the upload limits?

JSON body limit: 10 MB. Zip body limit: 50 MB input, max 100 MB uncompressed, max 2000 files. Zip archives must contain an `index.html` and only static-friendly extensions are allowed.

5

Do JSX/TSX artifacts require internet to render?

Yes. React components are rendered client‑side via `esm.sh` and Tailwind CDN, so the browser needs internet access. First load typically takes 1–3 seconds.

评论

其他 分类下的更多 MCP 服务器