PreteWorks API

v1.0.2
com.preteworks/preteworks-api Checked 3 days ago Published 2 months ago

One key for the document-to-web pipeline: scrape, AI-extract, build & edit PDFs, fill forms.

Remote (hosted) discovery passed

Run in a terminal
claude mcp add --transport http preteworks-api https://api.preteworks.com/mcp --header 'Authorization: <Authorization>'
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "preteworks-api": {
      "args": [
        "-y",
        "mcp-remote",
        "https://api.preteworks.com/mcp",
        "--header",
        "Authorization: <Authorization>"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "preteworks-api": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "url": "https://api.preteworks.com/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "preteworks-api": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "type": "http",
      "url": "https://api.preteworks.com/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.preteworks-api]
command = "npx"
args = ["-y", "mcp-remote", "https://api.preteworks.com/mcp", "--header", "Authorization: <Authorization>"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: render_html_to_pdf, number_pdf, pdf_info, set_pdf_metadata, render_document, merge_pdfs, select_pages, rotate_pdf, ….
  4. If it fails, check that the required runtime is installed (none) and that the values above are set.

Machine-readable: install.md · manifest.json