artifact-site MCP Server
io.github.lexmount/artifact-site
Self-hosted workspace to organize, version, and share AI-generated pages and documents with your team.
What is the artifact-site MCP server?
The artifact-site MCP server is a self-hosted platform that centralizes AI-generated pages, documents, and websites in one shared workspace. It provides versioned links for sharing, full-text search, access control, and version history, allowing AI agents and team members to publish, update, and retrieve work through the CLI or MCP interface.
artifact-site solves the problem of scattered AI output by providing a unified home for pages and documents created by different agents and tools. You can upload HTML, static sites, PDFs, and Office documents; organize them in folders; share with fine-grained access control; and let agents search, read, and update published work. It's self-hosted on your own infrastructure with local or S3-compatible storage.
How to install artifact-site
Copy-paste configuration for popular MCP clients.
ARTIFACT_SITE_URLAddress of your artifact-site deployment, e.g. https://artifact-site.app.lexmount.com. Optional after `artifact-site login`.
ARTIFACT_SITE_TOKENsecretPersonal token from /for-agents#mcp on your deployment. Optional after `artifact-site login`; without it the server lists its tools and every call explains how to sign in.
Tools & capabilities
Tools this server exposes to the agent.
publish— Upload HTML, static site folders, ZIPs, PDFs, or Office documents to get a shareable link with version history.find— Search published content by full-text search, including Chinese, to locate previous work.read— Extract and read text from published sites and documents for agents to process.update— Edit HTML text or source in the browser, or let agents update entire sites while preserving version history.share— Control access to published work with public, signed-in, named, or passcode-protected sharing options.versions— View, rollback, and manage version history for each published site or document.export— Download or export published content and metadata.
Use cases
- Publish a dashboard or report from a coding agent and share the link with your team, then have the agent update it at the same address.
- Upload an HTML prototype or build folder and get an instant shareable link without leaving your workflow.
- Search across all published documents and reports by content to find and reuse previous work.
- Maintain version history and rollback capability for team-generated pages and documents.
- Control who can access each published site with granular sharing settings (public, signed-in users, named people, or passcode).
artifact-site MCP server FAQ
artifact-site is a self-hosted workspace that centralizes AI-generated pages and documents, similar to Claude Artifacts or OpenAI Sites. It lets you upload, organize, version, and share work from any tool via file upload, CLI, or MCP.
artifact-site is open-source (Apache-2.0 or MIT licensed) and free to self-host. A cloud version hosted by Lexmount is also available at https://yours.lexmount.com/artifact-site.
Use the MCP endpoint at https://your-server/mcp (or the cloud version's MCP URL) in your client's MCP settings, or install the CLI with npm install -g @artifact-site/cli and use the agent guide at /for-agents.md on your deployment.
artifact-site supports OIDC providers (Google, GitHub, Keycloak, Okta, etc.), device sign-in for CLI and agents, and personal tokens for remote MCP. Anonymous uploads are also supported with optional expiry.
You can publish HTML, static site folders, ZIPs, PDFs, and Office documents (PPTX, DOCX, etc.). Office preview requires optional Gotenberg integration. The platform does not run backends or build jobs.
Start with .env.example and follow SELFHOST.md for single-machine deployment with Docker. For multi-replica setups, see DEPLOY.md for external Postgres and S3-compatible storage configuration.
README (reference)
Source of truth, from the repository.
There are now so many AI agents to choose from, but their output is scattered across your computer, chat histories and different platforms’ clouds, making it hard to organize, share and revisit.
artifact-site is a self-hosted workspace for individuals and teams, similar to Claude Artifacts or OpenAI Sites. Your various agents create the work; artifact-site brings it together, turning pages and documents into links for sharing, comments and feedback, access control and version history. The agents you already use can keep editing, publishing, searching and updating that work through the CLI or MCP.
You can self-host artifact-site or use the cloud version hosted by Lexmount.
<p align="center"><img src="docs/assets/demo.gif" alt="Dropping an HTML dashboard onto artifact-site: it becomes a link within seconds, renders in a sandboxed frame, and the sharing panel copies the link" width="820"></p> <p align="center"><sub><b>Drop a file, get a link, share it.</b> View your published work online and choose who can open it in the sharing settings.</sub></p>Use the cloud version — hosted by Lexmount, with no deployment required. Drag and drop a file to publish it and get a shareable link. Upload without signing in, or sign in with Google or GitHub to keep your sites, organize them in folders and control who can open each link.
Anonymous uploads expire after a few days.
Why artifact-site
- Keep work in one place. Organize pages and documents in folders and find them with full-text search, including Chinese. Team members and agents can find the work they have permission to access.
- Drop it in and share it. Upload HTML, a build folder, a ZIP or a document to get a link. Large sites upload in chunks. Share with everyone, signed-in users, named people or passcode holders.
- Keep improving published work. Edit HTML text or source in the browser, or let an agent update the whole site. Each change keeps a version, with rollback and the option to save a copy.
- Let agents pick up where they left off. Publish and update through the guide, CLI or MCP, then search by content and read extractable text. For example, find a previous report and update it at the same address for your team to view.
How it compares
| For your team | Claude Artifacts / Claude Code Artifacts | ChatGPT Sites (OpenAI) | artifact-site |
|---|---|---|---|
| Hosting | Anthropic-managed | OpenAI-managed | Your server, with local or S3-compatible file storage |
| Publishing workflow | Within Claude / Claude Code | Within ChatGPT Sites | Any tool via file upload, CLI or remote MCP |
| Content focus | Interactive artifacts | Hosted websites and apps | Static HTML, build folders, ZIPs, PDF and Office documents¹ |
| Identity | Claude accounts | ChatGPT accounts | Your OIDC provider, such as Google, Keycloak or Okta |
¹ Office online preview requires Gotenberg. artifact-site hosts finished files; it does not run application backends or build jobs.
Claude Artifacts and ChatGPT Sites combine creation and hosted sharing. artifact-site complements those workflows with a shared home on your own infrastructure for pages and documents produced by different tools.
Product scope and sharing vary by plan and evolve; see the official Claude Artifacts and ChatGPT Sites guides.
Contents
- What you can publish
- Quick start (local deployment)
- Connect a coding agent
- Deploy for your team
- How it works
- Documentation
- Contributing
- License
What you can publish
| Content | What you can do |
|---|---|
| HTML, static site folders, ZIPs | Upload and preview single-page or multi-page sites, including build output such as dist/. HTML pages support visual text editing and source editing. |
| Read online, search and extract text. | |
| Office documents, such as PPTX and DOCX | Store and download originals; enable Gotenberg for online preview. |
Build web projects into static files before uploading; the platform does not run application backends or build jobs. PDF and Office documents do not support visual HTML editing, and scanned images are not automatically OCRed.
Hosted pages run in a sandbox and cannot use the platform's login session. External API connections require an origin allowlist. See the runtime limits and security design.
Quick start (local deployment)
You can use the cloud version without installing anything. To deploy locally, run the three commands below. You need Git, Make, Bash, Docker 24+ and the Compose plugin 2.24+. On macOS, use Docker Desktop; on Windows, run the commands inside WSL2 with Docker Desktop’s WSL integration enabled. No Node installation, domain or identity provider is needed.
git clone https://github.com/lexmount/artifact-site.git && cd artifact-site
cp .env.example .env
make build up
Once started, open http://127.0.0.1:4300 and drop in HTML, a static site folder or a PDF to view your work. New sites are private by default; create a link with the desired access in Sharing before sending it to someone else.
The first run downloads dependencies and builds the image, then starts the app and Postgres. Use these commands in a fresh clone. The service is local-only by default; make down stops it and retains data. To make it reachable by your team, follow Deploy for your team.
printf '<!doctype html><meta charset="utf-8"><title>Hello</title><h1>Hello, artifact-site!</h1>' > hello.html
Drop hello.html onto the home page (or choose Upload). You should see “Hello, artifact-site!”. Copy a link from the sharing settings; local-deployment links only open on the same machine.
Connect a coding agent
Choose the entry point that fits your agent:
- Skill:
npx skills add lexmount/artifact-site— install the agent skill and give your agent your server URL. - CLI:
npm install -g @artifact-site/cli— requires Node 24+; use the commands below. - MCP:
https://your-server/mcp— connect ChatGPT, Claude or another MCP client through the server’s OAuth sign-in; no CLI installation required. A client that only starts local MCP servers can run the CLI’sartifact-site mcpinstead.
CLI and MCP publishing create a public share by default. Use --share none (CLI) or share: false (MCP) to publish without sharing.
Give this instruction to Claude Code, Cursor, Codex or another coding agent that can read URLs, using a server address it can reach. The home page also provides a copy button with your server address filled in:
Publish this project's output to artifact-site. Publishing guide: https://your-server/for-agents.md
CLI examples (login requires OIDC):
artifact-site login --base https://your-server # one-time device sign-in
artifact-site publish dist/ --title "Q3 dashboard" # publish and return links
artifact-site find "quota" # search by content
artifact-site read YOUR_SITE_SLUG # replace with a site slug to read its text
<details>
<summary>Authentication details</summary>
Open Agent guide on your deployment to choose the prompt, CLI or MCP path. /for-agents#cli and /for-agents#mcp provide server-specific commands, authentication steps and client configuration. Remote MCP authenticates every request: ChatGPT, Claude and other OAuth-capable clients sign in through the server's own consent page, other clients carry a personal token. CLI publishing, updating, sharing and deleting require a token; publishing creates a public share by default. Use --share none (CLI) or share: false (MCP) to skip sharing.
Team deployments with OIDC support device sign-in approval; the anonymous local setup above does not require it. The agent follows the guide and the server's publishing policy to choose authentication. A cloud agent cannot directly reach 127.0.0.1 on your computer.
The login example requires OIDC. Remote MCP is a separate, complete entry point at
https://your-server/mcp: no CLI installation is required. ChatGPT, Claude and any client that
implements MCP authorization connect with the address alone and sign in through the server's
OAuth consent page; for other clients, the deployment's /for-agents#mcp page creates a
personal token and copies the authenticated configuration. It supports publishing, updating,
search, read, sharing, versions, export and deletion, including binary files and directory
uploads through MCP tools.
See CLI commands and remote MCP setup and tools.
</details>Deploy for your team
Start from .env.example and follow SELFHOST.md for a production deployment. Use a stable public address for ARTIFACT_PUBLIC_URL: sign-in callbacks, request-origin checks and the address given to agents derive from it:
- Set a reachable
ARTIFACT_PUBLIC_URLand configure a reverse proxy, or setARTIFACT_WITH_CADDY=onwithARTIFACT_DOMAINto enable Caddy and automatic certificates. - Choose a publishing policy.
loginrequires OIDC;tokenserves scripts or agents with a Bearer token;openlets anyone who can reach the service publish and suits trusted internal networks. Anonymous publishing supports separate quotas and expiry. - Connect Google or an OIDC provider such as Keycloak, Logto, Authentik, Okta or Auth0. Accounts own sites and folders; agents can receive long-lived tokens through device sign-in. The default
ARTIFACT_ENFORCE_OWNERSHIP=onenables account-based access control once OIDC is configured. Add administrators' verified sign-in emails toARTIFACT_ADMIN_EMAILSto enable the admin console. - Enable Office preview with
ARTIFACT_WITH_GOTENBERG=on. The admin console manages take-downs, quotas, anonymous-site expiry and policy switches. Choose default visibility and schedule backups.
The app ships as one Docker image with bundled Postgres in the single-host setup. To use an available prebuilt image, set ARTIFACT_IMAGE and run make pull. make doctor checks configuration; make backup and make restore handle backups and recovery. For multiple replicas, external Postgres and S3-compatible storage, see DEPLOY.md.
How it works
- Application and storage. Next.js serves the UI and API, Postgres stores metadata, and files live on local disk or S3-compatible storage. External database and object storage support multiple app replicas.
- Immutable versions. Each upload or edit writes a new file version, preserving historical content. Optimistic locking (
expected_version) detects concurrent update conflicts. - Content isolation. Previews use sandboxed iframes without
allow-same-originand a restrictive CSP to isolate uploaded content from the platform. Path checks and decompression limits defend against path traversal and ZIP bombs.
See ARCHITECTURE.md for the architecture, data model and request flows.
Documentation
| Document | What it covers |
|---|---|
| SELFHOST.md | Single-machine deployment with make up, backups, upgrades, FAQ |
| DEPLOY.md | Multi-replica deployment: external Postgres, object storage, OIDC |
| .env.example | Every setting, grouped and explained |
| ARCHITECTURE.md | System shape, data model, request paths, the sandbox |
| SECURITY.md | Threat model and how to report a vulnerability |
| cli/README.md | The CLI |
| src/content/publish-skill.md | The API contract and hosting limits, as served to agents |
| ROADMAP.md | What comes next: semantic search, comments on sites, and more |
| CHANGELOG.md | What changed, release by release |
Contributing
Local development requires Node 24+ and Docker:
npm install
make dev # start a disposable Postgres and the development server
npm test # unit tests, no external services needed
See CONTRIBUTING.md for the contribution process, DCO sign-off and CI requirements. Report bugs and ideas in issues; ask questions in discussions.
If artifact-site is useful to you, a ⭐ helps others find it. Using it with your team? Say hi in Discussions — we’d love to list you.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE)
- MIT license (LICENSE-MIT)
at your option. Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you shall be dual-licensed as above, without any additional terms or conditions.
© 2025–2026 LexMount. Third-party components are listed in NOTICE.
Related MCP servers
Eurlex MCP client: Access EU law & Official Journal. https://www.lexsocket.ai/
View repository →TED MCP Server: Real-time EU public tenders access. https://www.lexsocket.ai/
View repository →
Discover monetized AI tools on SettleGrid. Search by category, get pricing.
32 ferramentas MCP de cálculo fiscal/trabalhista BR (CLT, INSS, IRRF, PJ, finanças, saúde).
View repository →
BugiaData
Relational locale-aware fake data for Cursor and Claude via MCP (SSE). Free tier at bugiadata.com.

IT桔子 MCP
Hosted MCP for IT桔子 primary market company, funding, investor and sector data.

