
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@docapi/mcp
Advanced tools
MCP server for DocAPI — generate PDFs and screenshots via Claude Desktop, Cursor, and any MCP-compatible agent
MCP server for DocAPI — generate PDFs and screenshots via Claude Desktop, Cursor, and any MCP-compatible agent.
| Tool | Description |
|---|---|
docapi_generate_pdf | Convert HTML to PDF (full CSS: Grid, Flexbox, custom fonts) |
docapi_capture_screenshot | Screenshot a URL or HTML template — returns the image inline |
docapi_check_credits | Check remaining credits and USDC top-up address |
docapi_register_agent | Register a new agent account programmatically |
Get a free API key at docapi.co/signup — 100 calls/month, no credit card.
Add to your claude_desktop_config.json:
{
"mcpServers": {
"docapi": {
"url": "https://mcp.docapi.co/mcp",
"headers": {
"x-api-key": "pk_live_your_key_here"
}
}
}
}
Config file locations:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonCursor: Settings → MCP Servers → add the same block.
docapi_generate_pdf{
"html": "<h1 style='font-family:sans-serif'>Hello World</h1>",
"format": "A4",
"landscape": false,
"margin_inches": 0.5,
"print_background": true
}
Returns base64-encoded PDF. Ask Claude to save it to a file path on your machine.
docapi_capture_screenshot{ "url": "https://mysite.com/blog/post", "width": 1200, "height": 630 }
{ "html": "<div style='background:#0f172a;color:white;padding:60px'><h1>My Post</h1></div>", "width": 1200, "height": 630 }
Returns an inline image you can view directly in Claude.
docapi_check_credits{}
Returns credits remaining and USDC address (agent accounts only).
docapi_register_agent{ "notify_email": "ops@yourcompany.com" }
Returns api_key, usdc_address, and Python/JS integration snippets with the credit monitoring loop.
The server is deployed at https://mcp.docapi.co — no setup needed for most users.
To run your own instance:
git clone https://github.com/doc-api-llc/docapi-mcp
cd docapi-mcp
npm install && npm run build
PORT=3000 node dist/index.js # HTTP (default)
TRANSPORT=stdio DOCAPI_KEY=pk_... node dist/index.js # stdio
Deploy to Railway: set no env vars — each user authenticates with their own x-api-key header.
Health check: GET /health → { "status": "ok" }
FAQs
MCP server for DocAPI — generate PDFs and screenshots via Claude Desktop, Cursor, and any MCP-compatible agent
The npm package @docapi/mcp receives a total of 43 weekly downloads. As such, @docapi/mcp popularity was classified as not popular.
We found that @docapi/mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.