Install
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
Windows / Linux path
%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"io-github-vrijsinghani-artifactsmith": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://artifactsmith.neuralami.ai/mcp",
"--header",
"Authorization:${MCP_HEADER_AUTHORIZATION}"
],
"env": {
"MCP_HEADER_AUTHORIZATION": "Bearer <YOUR_VALUE>"
}
}
}
}
Replace placeholder values in `env` first. Restart Claude Desktop to activate the new server. If the server uses OAuth (not known from registry metadata), mcp-remote opens a browser to sign in on first start and caches tokens in ~/.mcp-auth.
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
Windows / Linux path
.cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global).cursor/mcp.json (project) or ~/.cursor/mcp.json (global){
"mcpServers": {
"io-github-vrijsinghani-artifactsmith": {
"url": "https://artifactsmith.neuralami.ai/mcp",
"headers": {
"Authorization": "Bearer <YOUR_VALUE>"
}
}
}
}
Cursor usually picks up config changes automatically; if the server does not appear, reload the window.
Add to .mcp.json (project) or ~/.claude.json (global)
Windows / Linux path
.mcp.json (project) or %USERPROFILE%\.claude.json (global).mcp.json (project) or ~/.claude.json (global){
"mcpServers": {
"io-github-vrijsinghani-artifactsmith": {
"type": "http",
"url": "https://artifactsmith.neuralami.ai/mcp",
"headers": {
"Authorization": "Bearer <YOUR_VALUE>"
}
}
}
}
The server will be available in the next Claude Code session. If the server uses OAuth, run /mcp inside Claude Code to authenticate.
Add to .vscode/mcp.json
Windows / Linux path
.vscode\mcp.json.vscode/mcp.json{
"servers": {
"io-github-vrijsinghani-artifactsmith": {
"type": "http",
"url": "https://artifactsmith.neuralami.ai/mcp",
"headers": {
"Authorization": "Bearer <YOUR_VALUE>"
}
}
}
}
Reload the VS Code window to activate.
Add to ~/.codeium/windsurf/mcp_config.json
Windows / Linux path
%USERPROFILE%\.codeium\windsurf\mcp_config.json~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"io-github-vrijsinghani-artifactsmith": {
"serverUrl": "https://artifactsmith.neuralami.ai/mcp",
"headers": {
"Authorization": "Bearer <YOUR_VALUE>"
}
}
}
}
Restart Windsurf (or refresh its MCP servers panel) to activate the new server.
Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.
Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Windows / Linux path
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json{
"mcpServers": {
"io-github-vrijsinghani-artifactsmith": {
"type": "streamableHttp",
"url": "https://artifactsmith.neuralami.ai/mcp",
"headers": {
"Authorization": "Bearer <YOUR_VALUE>"
}
}
}
}
Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.
Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.
Configuration
Environment variables this server reads. Secrets stay on your machine.
| Name | Required | Description |
|---|---|---|
| AM_HOST | No | Listen address for `artifactsmith serve`. Compose/image set `0.0.0.0` in-container. Default: 127.0.0.1 |
| AM_API_URL | No | URL written into cards and links. Default: http://127.0.0.1:8780 |
| AM_LLM_API | No | `chat` (Chat Completions) or `responses`. Default: chat |
| AM_LLM_KEY | No | LLM credential for the configured endpoint (alternative to OPENAI_API_KEY). |
| AM_API_PORT | No | API listen port. Default: 8780 |
| AM_DATA_DIR | No | SQLite and the HMAC signing key. Default: /data |
| AM_LLM_BASE | No | OpenAI-compatible host root. With or without a trailing `/v1`. Default: https://api.openai.com |
| AM_SHARE_URL | No | URL written into cards and links. Empty `AM_SHARE_URL` uses `AM_PREVIEW_URL`. An `https://` API URL marks the My pages cookie Secure. |
| AM_STORE_KEY | Yes | Object-store credentials. |
| AM_BUILD_MODE | No | `full` or `fast` when `create` omits `mode`. `fast` is first-build HTML only. Default: full |
| AM_MAX_BUILDS | No | Concurrent workers. Default: 2 |
| AM_FAST_STYLES | No | Comma-separated styles (`house`, `bold`, …) that default to `fast` when `create` omits `mode`. Empty keeps `AM_BUILD_MODE` for every style. An explicit `mode` still wins. A finished HTML source, or a request to publish that HTML as-is, stays `full` when `mode` is omitted. Mentioning HTML beside "unchanged" does not. Other formats and edits stay `full`. An unknown name fails at startup. |
| AM_LOGIN_LIMIT | No | Failed sign-ins per IPv4 address or IPv6 `/64` inside the window (seconds). Default: 8 |
| AM_PREVIEW_URL | No | URL written into cards and links. Default: http://127.0.0.1:8781 |
| AM_SECRETS_DIR | No | SQLite and the HMAC signing key. Default: /secrets |
| OPENAI_API_KEY | No | LLM credential for the configured endpoint. |
| AM_BIND_ADDRESS | No | Host publish bind for ports `8780` and `8781` in `compose.yaml`. Default: 127.0.0.1 |
| AM_PREVIEW_PORT | No | Preview/share listen port. Default: 8781 |
| AM_STORE_BUCKET | No | Bucket name. Default: artifacts |
| AM_STORE_SECRET | Yes | Object-store credentials. |
| AM_ALLOWED_HOSTS | No | Comma-separated Host values for MCP DNS-rebinding protection (on by default). Default: 127.0.0.1:<api_port>,localhost:<api_port> |
| AM_BUILD_TIMEOUT | No | Seconds for the whole job. Default: 900 |
| AM_COOKIE_SECURE | No | `true` or `false` forces the My pages cookie Secure flag. Leave it unset on local HTTP. Default follows `AM_API_URL`. |
| AM_DEFAULT_MODEL | No | Model name sent to the LLM. Default: gpt-4o-mini |
| AM_DEFAULT_STYLE | No | HTML visual style when `create` omits `style`. Default: house |
| AM_LOGIN_WINDOW_S | No | Window in seconds for login limits. Default: 900 |
| AM_RENDER_TIMEOUT | No | Seconds for one renderer call. Default: 120 |
| AM_SHARE_TTL_DAYS | No | `0` means until revoked. Default: 30 |
| AM_STORE_ENDPOINT | Yes | S3-compatible object store. |
| AM_ALLOWED_ORIGINS | No | Comma-separated Origin values for MCP DNS-rebinding protection. |
| AM_BUILDS_PER_HOUR | No | Per-token quota. Default: 20 |
| AM_LLM_TEMPERATURE | No | Chat Completions temperature. Unset sends `0`; `none` omits the field. |
| AM_TRUSTED_PROXIES | No | Comma-separated IPs or CIDRs that may set `X-Real-IP` or `X-Forwarded-For` for My pages login limits. Empty ignores those headers. |
| AM_MAX_OUTPUT_BYTES | No | Rendered output cap. Default: 50 MiB |
| AM_LOGIN_PREFIX_LIMIT | No | Failed sign-ins per hashed token prefix inside the window (seconds). Default: 8 |
| AM_SHARE_TTL_MAX_DAYS | No | Cap on positive TTLs. Default: 365 |
| AM_BLOCK_PRIVATE_LINKS | No | Reject localhost, RFC1918, and link-local hosts in output. Default: true |
| AM_ALLOWED_LINK_DOMAINS | No | If set, every remaining host must match. |
| AM_EDIT_PATCH_TIMEOUT_S | No | Seconds for the edit patch call. A timeout falls back to a full rewrite. Default: 45 |
Remote headers
HTTP headers the remote endpoint expects.
| Name | Required | Description |
|---|---|---|
| Authorization secret | Yes | Bearer token from https://artifactsmith.neuralami.ai/try, or from your own install (artifactsmith token add). |