This page gets you from a fresh Artifacta API key to your first tool call in Claude Desktop in under five minutes. If you also use Claude Code, Cursor, Codex, or another MCP host, see the Overview for every client.Documentation Index
Fetch the complete documentation index at: https://docs.artifacta.io/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- Node.js 20 or newer. The
@artifacta-mcp/mcppackage’senginesfield rejects earlier versions before any tool runs. Confirm withnode --version. - An Artifacta API key. Create one on the API keys
page. The key shape is
ak_live_followed by 32 alphanumeric characters. - Claude Desktop installed (macOS or Windows).
npx fetches and
runs the published server on demand. If npx works in your terminal but
Claude Desktop still cannot start the server, see When npx works in Terminal
but not in Claude Desktop
below.
Canonical config
Open Claude Desktop → Settings → Developer → Edit Config. The file lives at~/Library/Application Support/Claude/claude_desktop_config.json on
macOS and %APPDATA%\Claude\claude_desktop_config.json on Windows. Add an
artifacta entry under mcpServers:
claude_desktop_config.json
ak_live_… key in place of the placeholder. Save the file and fully restart
Claude Desktop (quit, don’t just close the window) so it relaunches the
server.
The snippets here leave
@artifacta-mcp/mcp unpinned so npx resolves the
latest published release on each restart — patch and security fixes roll out
without a config edit. Pin to a specific version (e.g.
@artifacta-mcp/mcp@1.0.0) only for a frozen, managed deployment.When npx works in Terminal but not in Claude Desktop
Symptoms in Settings → Developer or ~/Library/Logs/Claude/mcp-server-artifacta.log:
Failed to spawn process: No such file or directory— often a wrong absolute path in"command"(e.g. Homebrewnpxwhen Node is from nvm).Server disconnectedimmediately after reload — same root cause, ornpxnot on the GUI app’sPATH.
npx path from which npx into "command" (keeps
the on-demand npx flow):
claude_desktop_config.json
npx path on every
Node upgrade.
Alternative: global install (recommended for nvm users)
Install once, then point"command" at the global binary — no npx fetch on
every Claude restart, and no dependency on GUI PATH resolution:
claude_desktop_config.json
--allow-path / --allow-destructive to "args" exactly as in
Optional flags.
Optional flags
Two launch flags extend what the server can do. Both belong in the sameargs
array, after the package name.
--allow-path — upload local files
store_artifact can stream a file from disk (path argument) instead of
inline content. The path-confinement
engine
restricts which directories it may read. By default the allow-list is only
the server’s working directory, which for a Claude Desktop launch is not a
location you control — so add the directory your generated files land in:
claude_desktop_config.json
--allow-destructive — expose destructive tools
Claude Desktop does not advertise MCP write confirmations, so three tools —
create_download_link (mints a public dl.artifacta.io/lnk_… URL),
delete_artifact (soft-deletes by id), and seal_session (marks a session
irreversible — no unseal) — are hidden from tools/list by default.
Add --allow-destructive to expose them:
claude_desktop_config.json
First call: the whoami smoke test
After restarting, confirm the install end-to-end:
- Configure the canonical config above with your real key.
- Fully restart Claude Desktop.
-
In a new conversation, ask:
“What’s my Artifacta plan?”
-
Expected: Claude invokes the
whoamitool and reports your tenant info — plan tier (e.g.free), storage usage, and request quota — back in the conversation. A response looks like:whoami response
unauthorized error, or
shows Server disconnected for the artifacta MCP entry, work through
Troubleshooting — especially npx not
found and Server
disconnected.
whoami has no side effects and is quota-cheap, so it is the right tool to
verify auth before the agent does anything else. From here, ask it to
list_artifacts, store_artifact, and more — see Using Artifacta from your
coding agent.
Discoverability — Anthropic MCP directory
Artifacta is being submitted to Anthropic’s MCP directory so Claude Desktop users can discover and install it without reading docs first.| Field | Status |
|---|---|
| Submission prepared | 2026-05-29 |
| Current status | Pending — awaiting Anthropic directory eligibility review |
Troubleshooting
See the dedicated Troubleshooting page, which covers the three most common failures:unauthorized on every call, npx not found
(Node not installed), and an empty tool list (the server failed to start).