Self-hostable MCP server for publishing agent-made HTML artifacts to your own domain, with multi-org tenancy
artifact-mcp demonstrates solid tool design with 20 well-named, verb-prefixed tools covering a complete artifact lifecycle (publish, update, delete, share, analyze). All tools have descriptions (avg ~120 chars) and explicit JSON schemas with typed parameters. Naming follows verb_noun convention (publish_artifact, list_artifacts, delete_artifact). However, parameter descriptions are sparse, many lack detail on format, constraints, or when to use them. Output schemas are not documented in the source, forcing LLMs to infer response structure. Error handling guidance is absent. Security model (org-scoped access, admin keys) is mentioned but not formalized in tool descriptions. Composition is strong: tools chain well (e.g., list_artifacts → read_artifact → update_artifact), and IDs flow correctly between calls.
Get named audience-view analytics for one of your artifacts: total views, unique viewers, last viewed time, and each viewer's count and timestamps.
Add a category to your organization's category list. Admin keys may pass an org.
Create an unlisted public, read-only share link for one of your artifacts. It serves the live artifact until it expires or is revoked.
Delete one of your artifacts by id.
Remove a category from your organization's category list. Artifacts already tagged with it keep their tag. Admin keys may pass an org.
List artifacts available to this API key: organization-wide for reader/collaborator keys, own-only for author keys, with URLs and uploader labels.
Output schemas not documented. Tool descriptions state what is returned (e.g., 'Returns a public URL') but do not specify the JSON structure, field names, or types. LLMs cannot plan downstream calls or extract required IDs without seeing response schemas.
Parameter descriptions lack format and constraint details. E.g., 'expires' in create_share accepts '24h', 'never', or ISO date, but the description does not specify the format or valid options. 'limit' in read_artifact defaults to 65536 but no min/max bounds stated. LLMs cannot validate inputs without explicit constraints.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 68 | <=2025-11-25 | v2 |
List the categories registered for your organization (used to group artifacts in the gallery). Admin keys may pass an org.
List viewer feedback left on your artifacts. Pass an artifact id to scope to one; omit to list across all of your artifacts.
List the version history of one of your artifacts — each retained revision's number, title, size, and timestamp. Use with restore_artifact to roll back.
List active public share links for one of your artifacts.
Publish a self-contained HTML document. Returns a public URL that renders it at your configured domain, /<id>. Provide a title and a short description for the artifact index.
Publish a multi-file artifact (e.g. several HTML pages that link to each other and a shared stylesheet). Provide files as a map of relative-path -> file contents; relative links between files resolve. Returns a public URL. Use this instead of publish_artifact when the HTML references other files like _shared.css or additional pages.
Read an artifact or retained revision with byte-bounded UTF-8 paging. A bundle without path returns its file listing; pass path to read one bundle file.
Reopen previously resolved viewer feedback when more work is needed.
Mark a piece of viewer feedback as resolved once you've addressed it.
Restore a past revision of your artifact by number. Its content is re-published as a NEW revision at the same id/URL, so nothing is lost and the restore is itself undoable. Get revision numbers from list_revisions.
Revoke an active public share link you own. Revocation takes effect immediately.
Move one of your artifacts into a category (empty string = Uncategorized). Also adds the category to your org's list so it appears in the picker. Does NOT create a new revision.
Unlist or relist one of your artifacts. Hidden artifacts remain accessible by direct URL to organization members; this is not access control.
Replace an existing artifact's content and/or metadata in place, keeping the SAME id and URL so existing links keep working. Pass `html` for a single-file artifact or `files` for a bundle — the artifact type cannot change. Omitted title/description are preserved. Each effective change increments the artifact's revision.
No error handling guidance. Tools do not document what errors can occur, whether they are retryable, or what the LLM should do next. E.g., delete_artifact does not explain what happens if the artifact does not exist or if the user lacks permission.
Security model underspecified in tool descriptions. Tools mention 'admin keys only' and 'org-scoped' access, but do not declare required permissions (e.g., 'write:artifacts', 'read:analytics'). Audit trail and permission gates are not documented.
Pagination not explicit. list_artifacts, list_revisions, list_shares, list_feedback do not document pagination parameters (offset, limit, cursor) or total count in responses. Large result sets could exhaust context windows.