Connect Customjs to AI agents

Connect Customjs to Claude, Codex, Cursor, or other AI agents for your entire team. Metorial security, governance, observability, and gives your team a unified Magic MCP url to connect.

Supported Tools

generate_image

Generate Image

Generates PNG images from HTML content or captures high-resolution screenshots of websites. Use **html_to_png** to convert styled HTML into images (useful for charts, infographics, OG images). Use **screenshot** to capture a snapshot of any public URL with optional browser automation commands and cropping.

generate_pdf

Generate PDF from HTML

Converts HTML content into a pixel-perfect PDF document. Supports styled HTML with CSS, Nunjucks templating with data variables, and custom page dimensions. Ideal for generating invoices, reports, certificates, and other structured documents.

execute_javascript

Execute JavaScript

Executes custom JavaScript code on the CustomJS platform and returns the result. Supports Node.js with full NPM module support including axios, moment, uuid, jsonwebtoken, crypto, openai, and many more. Use this for data transformations, calculations, API integrations, and custom business logic.

check_ssl

Check SSL Certificate

Checks the SSL certificate status of a domain and retrieves certificate details including expiration date. Useful for monitoring SSL certificates and detecting upcoming expirations.

scrape_website

Scrape Website

Crawls a website and extracts its HTML content. Supports browser automation commands to interact with the page before extraction — click buttons, type into inputs, scroll, wait for elements, and more. Returns the raw HTML of the page after all commands have been executed.

manage_pages

Manage HTML Pages

Deploy, update, list, retrieve, or delete hosted HTML pages on CustomJS. Pages are deployed instantly with no build steps required. Use this for landing pages, AI-generated pages, campaign pages, and prototypes. Supports custom slugs for friendly URLs.

manipulate_pdf

Manipulate PDF

Performs various operations on PDF files: merge multiple PDFs into one, extract specific pages, compress to reduce file size, convert to text, convert to PNG image, read form field names, or fill form fields. Provide PDF files as public URLs.

convert_document

Convert Document

Converts between document formats. Supports: **Markdown to PDF**, **Markdown to HTML**, **HTML to DOCX** (Word). Useful for generating documents from structured content.

execute_python

Execute Python

Executes custom Python code on the CustomJS platform and returns the result. Suitable for data analysis, API interactions, or any logic better suited to Python.

process_data

Process Data

Data processing utilities for JSON and text. Supports **JSONPath** queries to extract values from nested JSON structures, and **Regex** operations (extract, replace, test, split) for pattern matching on text data.

More integrations teams use with Customjs

Linear

Create, read, update, and delete issues across teams with support for priorities, labels, assignees, due dates, and workflow states. Manage projects that group related issues, and organize work into time-boxed cycles (sprints). Create and manage documents, comments, and file attachments. Search issues using vector similarity or rich filters. Configure teams, workflow states, and labels. Track customers and link them to issues. Subscribe to real-time webhooks for changes to issues, projects, cycles, comments, documents, and more.

GitHub

Manage repositories, issues, and pull requests. Create and configure branches, star repositories, review code, and merge changes. Automate CI/CD workflows with GitHub Actions, manage workflow runs, secrets, and artifacts. Track issues with labels, milestones, and assignees. Search across code, repositories, issues, and users. Manage organizations, teams, and memberships. Create and manage projects, gists, packages, deployments, and environments. Access security alerts including code scanning, secret scanning, and Dependabot alerts. Read and write file contents in repositories. Manage webhooks, notifications, and codespaces.

Sharepoint

Manage SharePoint sites, document libraries, lists, and files. Create, read, update, and delete lists and list items with custom columns. Upload, download, move, copy, and version files in document libraries. Search across sites, files, folders, lists, and list items using Microsoft Search. Manage permissions at site, list, and item levels with granular access control. Define and manage content types and site columns. Subscribe to webhooks for list and library change notifications. Retrieve site properties and search for sites across Microsoft 365.

Microsoft Outlook

Send, read, reply to, forward, and manage email messages in user mailboxes. Organize messages into folders, apply categories, flags, and importance levels. Manage file and item attachments. Create, update, delete, and respond to calendar events and meetings. Find available meeting times, manage attendees, handle recurrence, and work with shared or delegated calendars. Create, read, update, and delete contacts, organize them into contact folders, and manage contact photos. Manage tasks and task lists via Microsoft To Do, including due dates, reminders, recurrence, and checklist items. Subscribe to webhook notifications for changes to messages, calendar events, and contacts. Support for Focused Inbox, @-mentions, mail tips, send-on-behalf, and send-as capabilities.

Airtable

Create, read, update, and delete records in Airtable bases and tables. Manage base schemas including creating tables and fields. Filter records using formulas, sort by fields, and scope queries to specific views. Upsert records to find, create, or update in a single call. Upload attachments to records, read and write record comments, list accessible bases, and receive real-time base change events through webhooks.

Confluence

Create, read, update, and delete pages, blog posts, comments, and attachments in Confluence spaces. Manage spaces, permissions, labels, and content restrictions. Search content using Confluence Query Language (CQL). Upload and download file attachments with versioning. Manage users, groups, and group memberships. Create and manage whiteboards, databases, folders, and templates. View and update inline tasks. Access audit logs. Listen for webhooks on page, blog, comment, attachment, space, label, and user events.

Technical notes for Customjs

Execute custom JavaScript and Python code via API. Generate PDFs from HTML, merge, split, compress, and extract text from PDFs. Convert HTML to PNG images and capture website screenshots. Scrape web content and automate browser interactions with Puppeteer. Host static HTML pages and forms. Create mail hooks that forward incoming emails to webhooks. Process data with JSON Path selectors and Regex operations. Run stored reusable functions and check SSL certificates.

Connect Customjs to production AI agents

See how Metorial gives Customjs access the governance, tracing, and security controls teams need.

Frequently asked questions

Common questions about connecting Customjs to AI agents with Metorial.

  1. Can Metorial connect Customjs to AI agents?
    Yes. Metorial connects AI agents to Customjs through a governed integration layer, so teams can use the provider while keeping access controlled and observable.
  2. Metorial is MCP compatible and lets teams expose approved provider tools to MCP-capable agents and clients through a controlled access layer.
  3. Metorial applies policies across users, groups, providers, agents, and individual tools, then records the context around every agent interaction.
  4. Yes. Metorial records provider activity so teams can inspect tool calls, troubleshoot integrations, and give security teams the visibility they need.