# Customjs — MCP server on mcp.ai > Connect your Customjs account and use 5 tools for developer tools straight from your AI agent. Connect with your own API key. CustomJS is a code-first automation platform that enables seamless integration of custom JavaScript logic into various systems and technologies, allowing users to extend applications by writing functions for tasks like sending emails, generating PDFs, or updating CRM data fields. By: mcp.ai · official Page: https://mcp.ai/customjs ## Connect (MCP protocol) Remote MCP endpoint (HTTP, streamable): https://api.mcp.ai/p_customjs?ms=1787295960000 Add it as a custom/remote MCP connector, then authenticate when prompted. ## REST API (no MCP client required) Every tool is also a REST endpoint, authed with a workspace API key. Discover: GET https://api.mcp.ai/api/customjs/_endpoints # public; lists every endpoint Call: POST https://api.mcp.ai/api/customjs/ Authorization: Bearer sk_live_… # create one at https://mcp.ai/settings/api-keys Content-Type: application/json Body: { …args } → { "ok": true, "tool": "", "result": { … } } ## Developer docs How to use (MCP or REST), markdown: https://mcp.ai/customjs/skill.md Postman collection (v2.1): https://mcp.ai/customjs/postman.json ## Tools - customjs_authenticate_api_key(api_key: string) — Authenticate and validate a CustomJS API key. Returns workspace details, request limits, and decoded JWT token information including user email. Use this to verify an API key is valid before making ot - customjs_convert_html_to_pdf(code?: string, input: string, returnBinary?: string) — Convert HTML content to a PDF document. Use this tool to generate PDF files from raw HTML markup. Supports: - Complete HTML documents or fragments - Inline CSS styling (colors, fonts, tables, borders, - customjs_convert_html_to_png(html: string) — Tool to convert HTML string to PNG image. Use when you need a PNG from HTML after preparing your markup. - customjs_merge_pdfs(pdf_urls: string[]) — Merge multiple PDF files from URLs into a single PDF document. Use this tool when you need to combine two or more PDF documents into one. The PDFs are merged in the order provided. All input URLs must - customjs_run_puppeteer_script(code?: string, input: string, returnBinary?: boolean) — Execute a Puppeteer script in a headless browser and capture a screenshot. Use this tool for browser automation tasks such as navigating to URLs, interacting with page elements, extracting data, or ca ## Example prompts - "What can I do in Customjs?" - "Show me a summary of my Customjs account" ## Links Docs: https://mcp.ai/docs/mcps/customjs Website: https://mcp.ai/mcps/customjs