Host HTML pages on a public URL, generate PDFs, capture screenshots, scrape sites, and run sandboxed code — directly from Claude — via the CustomJS MCP server.
/plugin marketplace add customjs/claude-plugin
/plugin install customjs@customjs-tools
At install you'll be prompted for your CustomJS API Key — get one at https://www.customjs.space/integration/native-api/api-key. It's stored securely on your machine (keychain) and never committed to this repo.
Then run /reload-plugins (or restart Claude Code) and the customjs_* tools are available.
| Tool | What it does |
|---|---|
customjs_host_html_page |
Publish static HTML → public lp.customjs.space URL (upsert by name) |
customjs_list_html_pages |
List your hosted pages (name, url, pageId) |
customjs_delete_html_page |
Delete a hosted page by name or pageId |
customjs_html_to_pdf |
HTML → PDF (Nunjucks templating) |
customjs_markdown_to_pdf |
Markdown → PDF |
customjs_screenshot |
Capture a webpage screenshot |
customjs_scrape_html |
Extract rendered HTML from a page |
customjs_run_code |
Run JavaScript in a sandbox |
customjs_help |
Built-in usage examples (topics: pages, pdf, screenshot, scraping, code) |
The plugin registers a remote MCP server (Streamable HTTP transport) at https://mcp.customjs.space/customjs/mcp, authenticated with your x-customjs-api-key header. Your API key is collected at install and stored in your OS keychain — it is not stored in this repository.
claude mcp add --transport http \
--header "x-customjs-api-key: <your-key>" \
customjs https://mcp.customjs.space/customjs/mcp- CustomJS: https://www.customjs.space
- Get an API key: https://www.customjs.space/integration/native-api/api-key
MIT