// api reference
One remote Model Context Protocol server that gives any AI agent the full CustomJS toolbox. Generate PDFs, capture screenshots, scrape pages, and run JavaScript. Add one URL to Claude, Cursor, n8n, or any MCP-compatible client.
MCP Server URL
https://mcp.customjs.space/customjs/mcpGet your API key from app.customjs.space, 600 free operations every month, no credit card.
CustomJS is a remote MCP server. There's nothing to install. Point your client at the URL and pass your API key in the x-api-key header.
{
"mcpServers": {
"customjs": {
"url": "https://mcp.customjs.space/customjs/mcp",
"headers": {
"x-api-key": "YOUR_API_KEY"
}
}
}
}Add the MCP Client tool node to your agent, then configure the connection:
| Field | Value |
|---|---|
| Endpoint | https://mcp.customjs.space/customjs/mcp |
| Header Name | x-api-key |
| Header Value | YOUR_API_KEY |
Once connected, your agent can call any of these tools on its own. No per-tool setup. Each links to its full REST reference.
| Tool | What the agent can do | Reference |
|---|---|---|
| HTML/Markdown to PDF | Generate professional PDFs from HTML or Markdown. Invoices, reports, resumes, documents. | HTML to PDF → |
| Screenshot URLs | Capture any web page as a PNG, with automation and custom wait times for dynamic content. | Screenshot API → |
| Website Scraping | Extract content and structured data from websites for analysis, monitoring, or collection. | Web Scraper API → |
| JavaScript Execution | Run custom JavaScript for data transformation, calculations, and complex logic. | JS Execution → |
Just ask in plain language. The agent picks the right tool and returns a result (usually a download URL).
“Generate a professional invoice PDF for Acme Corp. Web Design 40h at $95, Hosting $250, total $4,050 due March 15. Return only the download URL.”
Screenshot
“Take a full-page screenshot of stripe.com, accept the cookie banner first, and return the image URL.”
Scraping
“Scrape the top 10 product names and prices from this page and return them as JSON.”
JavaScript
“Run JavaScript to convert this CSV into JSON and return the result.”
| Item | Detail |
|---|---|
| Header | x-api-key: YOUR_API_KEY on every request |
| Transport | Remote MCP over HTTP. No local install |
| Free tier | 600 operations / month, shared across all tools |
// get started
Grab a free API key, drop the server URL into your MCP client, and your AI can generate PDFs, take screenshots, scrape pages, and run code. All on its own.
{
"mcpServers": {
"customjs": {
"url": "https://mcp.customjs.space/customjs/mcp",
"headers": {
"x-api-key": "YOUR_API_KEY"
}
}
}
}Works with Claude, Cursor, n8n & more