{
  "info": {
    "name": "Customjs — mcp.ai",
    "description": "REST API for the Customjs MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/customjs",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "customjs_authenticate_api_key",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/authenticate/api/key",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "authenticate",
            "api",
            "key"
          ]
        },
        "description": "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",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"api_key\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "customjs_convert_html_to_pdf",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/convert/html/to/pdf",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "convert",
            "html",
            "to",
            "pdf"
          ]
        },
        "description": "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,",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"code\": \"\",\n  \"input\": \"\",\n  \"returnBinary\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "customjs_convert_html_to_png",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/convert/html/to/png",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "convert",
            "html",
            "to",
            "png"
          ]
        },
        "description": "Tool to convert HTML string to PNG image. Use when you need a PNG from HTML after preparing your markup.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"html\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "customjs_merge_pdfs",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/merge/pdfs",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "merge",
            "pdfs"
          ]
        },
        "description": "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",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"pdf_urls\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "customjs_run_puppeteer_script",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/run/puppeteer/script",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "run",
            "puppeteer",
            "script"
          ]
        },
        "description": "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",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"code\": \"\",\n  \"input\": \"\",\n  \"returnBinary\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}