oJo — HTML to image and PDF

v0.9.0
so.ojo/mcp-server Checked 1 day ago Published 1 month ago

Fill an HTML template with JSON and get a hosted PDF or image link.

Values you need

VariableWhat it is
OJO_API_KEYoptional secret oJo API key — create one at https://ojo.so/dashboard/api. Optional: without it the server runs in preview-only mode, where create_preview_link renders free full-resolution previews with no account.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add mcp-server -- npx -y --package=@ojodotso/mcp-server@0.9.0 ojo-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp-server": {
      "args": [
        "-y",
        "--package=@ojodotso/mcp-server@0.9.0",
        "ojo-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-server": {
      "args": [
        "-y",
        "--package=@ojodotso/mcp-server@0.9.0",
        "ojo-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mcp-server": {
      "args": [
        "-y",
        "--package=@ojodotso/mcp-server@0.9.0",
        "ojo-mcp"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp-server]
command = "npx"
args = ["-y", "--package=@ojodotso/mcp-server@0.9.0", "ojo-mcp"]

Remote (hosted)

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

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: create_preview_link.
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json