MCP Server
Orim provides a native Model Context Protocol (MCP) server, allowing AI assistants to generate PDFs and capture screenshots directly.
Supported clients
Section titled “Supported clients”- Claude Desktop — Anthropic’s desktop app
- Claude Code — CLI for developers
- Cursor — AI-first code editor
- Windsurf — Codeium’s AI IDE
- Any MCP-compatible client
1. Get your API key
Section titled “1. Get your API key”Get a free API key — 20 credits/month, no credit card.
2. Configure your client
Section titled “2. Configure your client”Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{ "mcpServers": { "orim": { "type": "http", "url": "https://api.orim.io/mcp", "headers": { "X-API-Key": "sk_live_YOUR_API_KEY" } } }}Add to your project’s .mcp.json:
{ "mcpServers": { "orim": { "type": "http", "url": "https://api.orim.io/mcp", "headers": { "X-API-Key": "sk_live_YOUR_API_KEY" } } }}Add to Cursor settings (Settings > MCP Servers):
{ "orim": { "type": "http", "url": "https://api.orim.io/mcp", "headers": { "X-API-Key": "sk_live_YOUR_API_KEY" } }}3. Restart your client
Section titled “3. Restart your client”After adding the config, restart your AI client. Orim tools will be available immediately.
Available tools
Section titled “Available tools”html_to_pdf
Section titled “html_to_pdf”Convert HTML to PDF.
| Parameter | Type | Default | Description |
|---|---|---|---|
html | string | required | HTML content to convert |
format | string | "A4" | Page format: A4, Letter, Legal |
landscape | boolean | false | Landscape orientation |
url_to_pdf
Section titled “url_to_pdf”Convert a webpage URL to PDF.
| Parameter | Type | Default | Description |
|---|---|---|---|
url | string | required | URL to convert |
format | string | "A4" | Page format: A4, Letter, Legal |
landscape | boolean | false | Landscape orientation |
url_to_screenshot
Section titled “url_to_screenshot”Capture a webpage screenshot.
| Parameter | Type | Default | Description |
|---|---|---|---|
url | string | required | URL to capture |
width | number | 1280 | Viewport width |
height | number | 720 | Viewport height |
fullPage | boolean | false | Capture full scrollable page |
format | string | "png" | Image format: png, jpeg, webp |
check_usage
Section titled “check_usage”Check your API usage and remaining credits.
Example prompts
Section titled “Example prompts”Once configured, just ask your AI:
- “Generate a PDF invoice for customer John Doe, $500 for consulting services”
- “Take a screenshot of https://github.com”
- “Convert this HTML table to PDF in landscape format”
- “Check my Orim API usage”
The AI will use Orim tools automatically and return download links.
How it works
Section titled “How it works”- You ask your AI to generate a PDF or screenshot
- AI calls the appropriate Orim MCP tool
- Orim processes the request using Chromium
- AI receives a temporary download URL (valid 10 minutes)
- AI shares the link with you
Troubleshooting
Section titled “Troubleshooting”Tools not appearing
Section titled “Tools not appearing”- Verify your API key is correct
- Restart your AI client after config changes
- Check the config file path matches your OS
”Invalid API key” error
Section titled “”Invalid API key” error”- Ensure the key starts with
sk_live_ - Get a new key at orim.io/dashboard
”Credit limit reached”
Section titled “”Credit limit reached””- Check usage at orim.io/dashboard
- Upgrade your plan for more credits
Next steps
Section titled “Next steps”- PDF Generation Guide — All PDF options
- Screenshots Guide — All screenshot options
- API Reference — REST API documentation