{
  "markdown": "# CustomJS MCP Server\n\n> A remote [Model Context Protocol](https://modelcontextprotocol.io) server that gives AI agents web superpowers — **host HTML pages on a public URL, generate PDFs, capture screenshots, scrape sites, and run sandboxed code** — using your own [CustomJS](https://www.customjs.space) API key.\n\n| | |\n|---|---|\n| **Endpoint** | `https://mcp.customjs.space/customjs/mcp` |\n| **Transport** | Streamable HTTP |\n| **Auth** | `x-customjs-api-key` header (per-user API key) |\n\nThere's nothing to install or self-host — it's a hosted remote MCP server. Bring your CustomJS API key and connect.\n\n## Tools\n\n| Tool | What it does |\n|------|--------------|\n| `customjs_host_html_page` | Publish static HTML and get a public `lp.customjs.space` URL (upsert by name) |\n| `customjs_list_html_pages` | List your hosted pages (name, url, pageId) |\n| `customjs_delete_html_page` | Delete a hosted page by name or pageId |\n| `customjs_html_to_pdf` | Convert HTML to PDF (Nunjucks templating) |\n| `customjs_markdown_to_pdf` | Convert Markdown to PDF |\n| `customjs_screenshot` | Capture a full-page website screenshot |\n| `customjs_scrape_html` | Extract fully-rendered HTML (JavaScript-aware) |\n| `customjs_run_code` | Run JavaScript in a secure sandbox |\n| `customjs_help` | Built-in usage examples (topics: pages, pdf, screenshot, scraping, code) |\n\n## Get an API key\n\nCreate a free key at <https://www.customjs.space/integration/native-api/api-key>. Your key is sent per request as the `x-customjs-api-key` header and is never stored by the connector.\n\n## Connect\n\n### Claude Code — plugin (recommended)\n\n```text\n/plugin marketplace add customjs/claude-plugin\n/plugin install customjs@customjs-tools\n```\n\nYou'll be prompted only for your API key. (See [customjs/claude-plugin](https://github.com/customjs/claude-plugin).)\n\n### Claude Code — without the plugin\n\n```bash\nclaude mcp add --transport http \\\n  --header \"x-customjs-api-key: <your-key>\" \\\n  customjs https://mcp.customjs.space/customjs/mcp\n```\n\n### Claude Desktop (JSON config via `mcp-remote`)\n\n```json\n{\n  \"mcpServers\": {\n    \"customjs\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\", \"mcp-remote\",\n        \"https://mcp.customjs.space/customjs/mcp\",\n        \"--header\", \"x-customjs-api-key:${CUSTOMJS_API_KEY}\"\n      ],\n      \"env\": { \"CUSTOMJS_API_KEY\": \"your-key\" }\n    }\n  }\n}\n```\n\n### Other MCP clients (Cursor, VS Code, etc.)\n\nAdd a **remote / HTTP** MCP server pointing at `https://mcp.customjs.space/customjs/mcp` with the header `x-customjs-api-key: <your-key>`.\n\n## Hosting HTML pages\n\n`customjs_host_html_page` publishes static HTML and returns a public `https://lp.customjs.space/<shortId>` URL. Hosting again with the same `name` **updates** the existing page (upsert by name).\n\n> Note: the public URL is served via CloudFront, so immediately after an update it may briefly show the previous content until the cache refreshes.\n\n## Official MCP Registry\n\nThis server is published to the [official MCP Registry](https://registry.modelcontextprotocol.io) as **`space.customjs/customjs-mcp`** (DNS-verified on `customjs.space`) — see [`server.json`](./server.json). For how it's published and the full directory list, see [PUBLISHING.md](./PUBLISHING.md).\n\n## Links\n\n- Website — <https://www.customjs.space>\n- Get an API key — <https://www.customjs.space/integration/native-api/api-key>\n- Claude Code plugin — <https://github.com/customjs/claude-plugin>\n- MCP protocol — <https://modelcontextprotocol.io>\n\n## License\n\nThe contents of this repository (documentation and registry manifest) are released under the [MIT License](./LICENSE). The CustomJS service itself requires a valid API key and is governed by CustomJS's terms of service at <https://www.customjs.space>.\n",
  "bytes": 3752,
  "sha": "d65f7371750ff688cd7843aba962da74924b93dfe70381e8d6e6132f515dce73",
  "repo_slug": "customjs/customjs-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_space_customjs_customjs_mcp_8cadf1d5/readme"
}