Docapi — PDF & Screenshot MCP Server
About
MCP server for DocAPI — generate PDFs and screenshots via Claude Desktop, Cursor, and any MCP-compatible agent
Details
- Transport
- SSE
Explore
—
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Docapi — PDF & Screenshot MCP ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
make dev-compose
This starts the registry at localhost:8080 with PostgreSQL. The database uses ephemeral storage and is reset each time you restart the containers, ensuring a clean state for development and testing.
Note: The registry uses ko to build container images. The make dev-compose command automatically builds the registry image with ko and loads it into your local Docker daemon before starting the services.
By default, the registry seeds from the production API with a filtered subset of servers (to keep startup fast). This ensures your local environment mirrors production behavior and all seed data passes validation. For offline development you can seed from a file without validation with MCP_REGISTRY_SEED_FROM=data/seed.json MCP_REGISTRY_ENABLE_REGISTRY_VALIDATION=false make dev-compose.
The setup can be configured with environment variables in docker-compose.yml - see .env.example for a reference.
<details>
<summary>Alternative: Running a pre-built Docker image</summary>
Pre-built Docker images are automatically published to GitHub Container Registry:
``bash
docker run -p 8080:8080 ghcr.io/modelcontextprotocol/registry:main
Publishing supports multiple authentication methods:
- GitHub OAuth - For publishing by logging into GitHub
- GitHub OIDC - For publishing from GitHub Actions
- DNS verification - For proving ownership of a domain and its subdomains
- HTTP verification - For proving ownership of a domain
The registry validates namespace ownership when publishing. E.g. to publish...:
- io.github.domdomegg/my-cool-mcp you must login to GitHub as domdomegg, or be in a GitHub Action on domdomegg's reposme.adamjones/my-cool-mcp
- you must prove ownership of adamjones.me` via DNS or HTTP challenge
docapi_generate_pdf
Convert HTML to a PDF using DocAPI's headless Chromium renderer. Full CSS support: Flexbox, Grid, custom fonts, gradients, shadows. Args: - html (string): HTML to render. Inline styles and <style> tags work. Google Fonts URLs supported. - format ('A4' | 'Letter' | 'Legal' | 'Tabloid'): Paper size. Default: 'A4'. - landscape (boolean): Landscape orientation. Default: false. - margin_inches (number): Page margin in inches, 0–4. Default: 0.5. - print_background (boolean): Render backg…
docapi_capture_screenshot
Screenshot a URL or render HTML and capture it as an image. Returns the image inline so you can view it immediately. Common uses: Open Graph images (1200×630), social cards, page thumbnails, template previews. Args: - url (string, optional): A live URL to screenshot. Provide url OR html, not both. - html (string, optional): HTML to render. Full CSS support. Provide url OR html, not both. - width (number): Viewport width, 100–3840. Default: 1200. - height (number): Viewport height, 1…
docapi_check_credits
Check remaining API credits and USDC top-up address for agent accounts. Only applicable to agent accounts (registered via docapi_register_agent). Human subscription accounts use monthly plan limits instead. Returns: { credits, usdc_address, rate, suggested_topup_usdc }
docapi_register_agent
Register a new DocAPI agent account programmatically. Returns an API key and USDC address — no email, no dashboard, no human step required. Use this when building software that needs PDF or screenshot generation. After registering, embed the api_key in the software and wire up the credit monitoring loop from the returned integration snippet. Args: - notify_email (string, optional): Email for low-balance alerts. One warning per 24h when credits fall below 50. Returns: { api_key, usdc_addr…
docapi_generate_invoice
Generate a professionally formatted invoice PDF from structured data. Returns a base64-encoded PDF. Args: - from_name (string): Sender's name or business name - from_email (string, optional): Sender's email - from_address (string, optional): Sender's address (\n for line breaks) - from_phone (string, optional): Sender's phone - to_name (string): Recipient's name or business name - to_email (string, optional): Recipient's email - to_address (string, optional): Recipient's addres…
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"docapi \u2014 pdf & screenshot mcp server": {
"docapi": {
"url": "https://mcp.docapi.co/mcp",
"headers": {
"x-api-key": "<YOUR_DOCAPI_KEY>"
}
}
}
}
}
McpServers
{
"docapi": {
"url": "https://mcp.docapi.co/mcp",
"headers": {
"x-api-key": "<YOUR_DOCAPI_KEY>"
}
}
}
MCP Registry
The MCP registry provides MCP clients with a list of MCP servers, like an app store for MCP servers.
📤 Publish my MCP server | ⚡️ Live API docs | 👀 Ecosystem vision | 📖 Full documentation
Development Status
2025-10-24 update: The Registry API has entered an API freeze (v0.1) 🎉. For the next month or more, the API will remain stable with no breaking changes, allowing integrators to confidently implement support. This freeze applies to v0.1 while development continues on v0. We'll use this period to validate the API in real-world integrations and gather feedback to shape v1 for general availability. Thank you to everyone for your contributions and patience—your involvement has been key to getting us here!
2025-09-08 update: The registry has launched in preview 🎉 (announcement blog post). While the system is now more stable, this is still a preview release and breaking changes or data resets may occur. A general availability (GA) release will follow later. We'd love your feedback in GitHub discussions or in the #registry-dev Discord (joining details here).
Current key maintainers:
- Adam Jones (Anthropic) @domdomegg
- Tadas Antanavicius (PulseMCP) @tadasant
- Toby Padilla (GitHub) @toby
- Radoslav (Rado) Dimitrov (Stacklok) @rdimitrov
Contributing
We use multiple channels for collaboration - see modelcontextprotocol.io/community/communication.
Often (but not always) ideas flow through this pipeline:
- Discord - Real-time community discussions
- Discussions - Propose and discuss product/technical requirements
- Issues - Track well-scoped technical work
- Pull Requests - Contribute work towards issues
Quick start:
Pre-requisites
- Docker
- Go 1.24.x
- ko - Container image builder for Go (installation instructions)
- golangci-lint v2.4.0
Running the server
```bash
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



