Customjs MCP logo

Customjs MCP

Host HTML, create PDFs, capture screenshots, scrape JavaScript sites, and run sandboxed JavaScript through CustomJS.

Install Customjs MCP

Pick your client, then add it in one click or paste the config.

Streamable HTTP (Remote)
Server URL
https://mcp.customjs.space/customjs/mcp

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Overview

customjs-mcp MCP server connects MCP clients to CustomJS for hosting HTML pages, generating PDFs, taking screenshots, scraping rendered sites, and executing sandboxed JavaScript. It runs as a hosted Streamable HTTP endpoint and authenticates each request with a CustomJS API key. Reach for it when an agent needs browser-oriented document, publishing, scraping, or JavaScript execution tasks without deploying the service yourself.

Use cases

  • Publish generated static HTML pages
  • Generate PDFs from HTML or Markdown
  • Capture full-page website screenshots
  • Scrape JavaScript-rendered HTML
  • Run JavaScript in a sandbox

Key features

  • Hosted Streamable HTTP MCP endpoint
  • Public HTML page publishing with name-based upserts
  • HTML and Markdown to PDF conversion
  • Full-page website screenshots
  • JavaScript-aware HTML scraping
  • Sandboxed JavaScript execution

Tools9

What Customjs MCP lets your agent do. Expand a tool for its parameters.

Self-reported~149 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

15/15 checks healthy over the last 76d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit5mo agoMost recent push to the default branch.
Tools exposed9Callable tools this server registers over MCP.

How Customjs MCP works

What customjs-mcp does

The customjs-mcp MCP server exposes CustomJS web and document operations to MCP-compatible clients. It can publish static HTML at a public lp.customjs.space URL, enumerate or remove hosted pages, render HTML or Markdown as PDFs, capture full-page screenshots, retrieve HTML after JavaScript rendering, and execute JavaScript in a secure sandbox.

Hosted pages are managed by name or page ID. Publishing with an existing name updates that page rather than creating another one. The service is useful for agents that need to turn generated content into a reachable page or document, inspect JavaScript-driven websites, or perform bounded JavaScript processing.

How it works

The service is remote and uses Streamable HTTP. Clients connect to https://mcp.customjs.space/customjs/mcp and send the per-user CustomJS API key in the x-customjs-api-key header. The connector does not require a local installation or self-hosted deployment.

The page-hosting operation returns a public URL. Because those pages are delivered through CloudFront, an update may briefly continue showing the previous content while the cache refreshes. PDF conversion supports Nunjucks templating for HTML input; Markdown conversion accepts Markdown directly. Scraping returns fully rendered HTML, making it suitable for pages whose content depends on JavaScript.

Setup and configuration

Create a CustomJS API key at the CustomJS native API key page, then configure an MCP client with the remote endpoint and header. Claude Code can use the documented HTTP registration command or the CustomJS Claude Code plugin. Claude Desktop can connect through mcp-remote, with CUSTOMJS_API_KEY supplied as an environment variable. Cursor and VS Code can be configured as remote or HTTP MCP clients using the same endpoint and header.

Keep the API key outside prompts and source files where possible. The key is sent with each request. The repository documentation states that the connector does not store it.

Tools and capabilities

The customjs-mcp MCP server provides these tools:

  • customjs_host_html_page publishes static HTML and upserts by name.
  • customjs_list_html_pages lists hosted page names, URLs, and page IDs.
  • customjs_delete_html_page removes a page by name or page ID.
  • customjs_html_to_pdf converts HTML to PDF with Nunjucks templating.
  • customjs_markdown_to_pdf converts Markdown to PDF.
  • customjs_screenshot captures a full-page website screenshot.
  • customjs_scrape_html extracts JavaScript-rendered HTML.
  • customjs_run_code runs JavaScript in a secure sandbox.
  • customjs_help returns usage examples for pages, PDFs, screenshots, scraping, and code.

Limitations and notes

A valid CustomJS API key is required to use the hosted service. Public page updates may not appear immediately because of CDN caching. The repository is released under MIT, while use of the CustomJS service is subject to CustomJS terms of service.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Customjs MCP

customjs-mcp is an MCP server that connects MCP clients to the CustomJS service through a hosted Streamable HTTP endpoint. Its main tools host HTML pages, list or delete pages, convert HTML and Markdown to PDFs, capture screenshots, scrape JavaScript-rendered HTML, and run JavaScript in a secure sandbox.

You do not install or self-host it; configure an MCP client with the hosted endpoint and a CustomJS API key. Claude Code supports direct HTTP registration or a plugin, while Claude Desktop can use mcp-remote.

Configure Claude Desktop through mcp-remote with the CustomJS MCP endpoint and the x-customjs-api-key header. The documented configuration passes the key through the CUSTOMJS_API_KEY environment variable.

Yes, customjs-mcp works with Cursor as a remote or HTTP MCP server. Point Cursor to https://mcp.customjs.space/customjs/mcp and provide the x-customjs-api-key header with a valid CustomJS API key.

Use customjs_host_html_page with static HTML and a page name. The tool returns a public lp.customjs.space URL, and hosting another page with the same name updates the existing page.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewCustomjs MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/customjs-mcp?style=directory)](https://allmcps.com/mcp/customjs-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/customjs-mcp"><img src="https://allmcps.com/api/badge/customjs-mcp?style=directory" alt="Customjs MCP on AllMCPs" /></a>