Local MCP-controlled artifact shelf: agents publish HTML, Markdown, folders and files; humans get nice preview URLs.
Serve MCP server exists for a simple reason — assistants are far more useful when they can act on Serve directly instead of describing what you should do. Local MCP-controlled artifact shelf: agents publish HTML, Markdown, folders and files; humans get nice preview URLs.
A local, MCP-controlled artifact shelf. Your AI agents publish the HTML, Markdown, folders, CSV, and JSON they generate; you get stable, safely-rendered browser URLs to look at them. Built for a machine running several agents at once: each agent gets its own MCP process, and they all publish to one shared shelf.
The server ships on npm as @saidmukhamad/serve-mcp, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.
Once Serve is connected, these are the calls the assistant has available:
artifact_publish — Returns the preview URL, a raw URL, an MCP resource_link, and structured artifact/publication objects. Publications are stable slots; every publishartifact_list — Filter by query, tags, kind; paginate with cursor; order by createdAt | updatedAt | titleartifact_delete — Remove a publication by slug — all revisions and stored files go with it. IrreversibleResources — Only registry://publications (JSON list of everything on the shelf) appears in resources/list, so host UIs stay clean no matter how many publicationsYou will need 2 environment variables: SERVE_MCP_HOST, SERVE_MCP_BASE_URL. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Serve's toolset — artifact_publish, artifact_list, artifact_delete and 1 more — is a fair guide to whether it matches your workflow. It is maintained by saidmukhamad; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against Serve's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| artifact_publish | Returns the preview URL, a raw URL, an MCP resource_link, and structured artifact/publication objects. Publications are stable slots; every publish is an immutable revision at /p/:slug/r/:artifactId. |
| artifact_list | Filter by query, tags, kind; paginate with cursor; order by createdAt | updatedAt | title. |
| artifact_delete | Remove a publication by slug — all revisions and stored files go with it. Irreversible. |
| Resources | Only registry://publications (JSON list of everything on the shelf) appears in resources/list, so host UIs stay clean no matter how many publications exist. Two more resolve when read directly (tool results link to them) |
{
"mcpServers": {
"serve": {
"command": "npx",
"args": ["-y", "@saidmukhamad/serve-mcp"],
"env": {
"SERVE_MCP_HOST": "your-value",
"SERVE_MCP_BASE_URL": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
| Variable | Description | Required |
|---|---|---|
| SERVE_MCP_HOST | Endpoint or connection string the server talks to. | Optional |
| SERVE_MCP_BASE_URL | Endpoint or connection string the server talks to. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.