Skip to content

Integration · Documents

Connect Claude & ChatGPT to CustomJS

Ask your AI to turn an HTML invoice or report into a PDF, to pull a few pages out of a PDF, or to publish an HTML page. It uses your CustomJS account to generate PDFs from HTML, extract pages, and upload, list and update hosted HTML pages. It can also run a JavaScript script you have set up in CustomJS.

Connect CustomJS free

Free plan, no credit card. Takes about a minute.

Try asking

  • “Turn this HTML invoice into a PDF.”

    The AI sends the HTML to CustomJS and gets the finished PDF back.

  • “Write a one-page price list in HTML and make it a PDF.”

    It writes the HTML, then converts it to a PDF with CustomJS.

  • “Take pages 2 to 4 out of this PDF.”

    It uses CustomJS to extract the pages you ask for into a new PDF.

What your AI can do

HTML to PDF

Send HTML and get a PDF back, for invoices, reports, price lists and other documents.

PDF pages

Extract selected pages from a PDF into a new file.

HTML pages and scripts

Upload, list and update hosted HTML pages, and run JavaScript scripts you have set up in CustomJS.

  • “Publish this landing page as an HTML page.”

    It uploads the HTML to CustomJS as a hosted page.

  • “Which HTML pages do we have in CustomJS?”

    It lists your HTML pages.

  • “Update the text on our event page.”

    It finds the page and replaces its HTML with the new version.

4 tools for CustomJS

These tools are switched on when you connect. You can switch any of them off, or require your approval before it runs.

  • convert_html_to_pdfChanges dataConvert HTML in `input_html` into a PDF. Pass `input_data` to fill Nunjucks template placeholders first, and optional page width/height in millimetres (default A4).
  • create_html_pageChanges dataPublish a new hosted HTML page from a full HTML document (`html_content`) with a unique `name` and optional URL `slug`. The page is publicly reachable at its URL.
  • list_html_pagesList the HTML pages hosted in your CustomJS account, with their IDs, names and URLs.
  • update_html_pageChanges dataReplace the HTML of an existing hosted page by `page_id`; also pass its `name` and the new `html_content`. Changes are live immediately.

Set up in three steps

  1. 1

    Pick the app

    Create a free PipMCP account and choose CustomJS from the app list.

  2. 2

    Paste your key

    Paste your CustomJS API key. Sign in at customjs.space with email or Google. In your dashboard, under API Key, click Show and copy the key.

  3. 3

    Add the link to your AI

    You get a personal MCP link. Add it to Claude, ChatGPT or Cursor:

    1. Click your name, then Settings › Connectors › Add custom connector.
    2. Paste your link as the Remote MCP server URL.
    3. Switch it on from the + menu in a chat.

Questions

What can the AI do in CustomJS?

It can convert HTML to PDF, extract pages from a PDF, and upload, list and update HTML pages. It can also run a JavaScript script from your CustomJS account by its ID.

Does the AI see my CustomJS API key?

No. Your CustomJS API key is encrypted at rest and never shown to the AI. After you save it, it is not shown again, not even to you. The AI only sees the results of the tools it calls.

Can I control what the AI is allowed to do?

Yes. You choose which tools are switched on, for example PDF generation without page publishing. Actions like updating a live HTML page or running a script can require your approval before they run. Every tool call is logged.

Does it work with ChatGPT?

Yes. In ChatGPT go to Settings › Apps & Connectors › Advanced and turn on Developer mode, then add your PipMCP link. Developer mode needs a paid ChatGPT plan: Plus, Pro, Business or Enterprise. The same link also works in Claude (Settings › Connectors › Add custom connector), Cursor and other MCP clients.

What does it cost?

PipMCP has a free plan with no credit card required. Paid plans bill per completed task. You also need your own CustomJS account.

Can the AI run JavaScript in my CustomJS account?

Only if you switch that tool on. The script tool runs a script you have already set up in CustomJS, on CustomJS's servers, using your account. If you only need PDFs and pages, leave it off, or require your approval each time it runs.

Let your AI work in CustomJS today.

Start free. Your key stays encrypted, and you decide what the AI may do.

Connect CustomJS free

PipMCP is not affiliated with CustomJS. Product names are trademarks of their owners.