Convert and Manipulate PDFs with Api2Pdf and AWS Lambda

Complete MCP server exposing 9 Api2Pdf - PDF Generation, Powered by AWS Lambda API operations to AI agents.

⚑ Quick Setup

Need help? Want access to more workflows and even live Q&A sessions with a top verified n8n creator.. All 100% free?

Join the community

  1. Import this workflow into your n8n instance
  2. Credentials Add Api2Pdf - PDF Generation, Powered by AWS Lambda credentials
  3. Activate the workflow to start your MCP server
  4. Copy the webhook URL from the MCP trigger node
  5. Connect AI agents using the MCP URL

πŸ”§ How it Works

This workflow converts the Api2Pdf - PDF Generation, Powered by AWS Lambda API into an MCP-compatible interface for AI agents.

β€’ MCP Trigger: Serves as your server endpoint for AI agent requests
β€’ HTTP Request Nodes: Handle API calls to https://v2018.api2pdf.com
β€’ AI Expressions: Automatically populate parameters via $fromAI() placeholders
β€’ Native Integration: Returns responses directly to the AI agent

πŸ“‹ Available Operations (9 total)

πŸ”§ Chrome (3 endpoints)

β€’ POST /chrome/html: Convert raw HTML to PDF
β€’ GET /chrome/url: Convert URL to PDF
β€’ POST /chrome/url: Convert URL to PDF

πŸ”§ Libreoffice (1 endpoints)

β€’ POST /libreoffice/convert: Convert office document or image to PDF

πŸ”§ Merge (1 endpoints)

β€’ POST /merge: Merge multiple PDFs together

πŸ”§ Wkhtmltopdf (3 endpoints)

β€’ POST /wkhtmltopdf/html: Convert raw HTML to PDF
β€’ GET /wkhtmltopdf/url: Convert URL to PDF
β€’ POST /wkhtmltopdf/url: Convert URL to PDF

πŸ”§ Zebra (1 endpoints)

β€’ GET /zebra: Generate bar codes and QR codes with ZXING.

πŸ€– AI Integration

Parameter Handling: AI agents automatically provide values for:
β€’ Path parameters and identifiers
β€’ Query parameters and filters
β€’ Request body data
β€’ Headers and authentication

Response Format: Native Api2Pdf - PDF Generation, Powered by AWS Lambda API responses with full data structure

Error Handling: Built-in n8n HTTP request error management

πŸ’‘ Usage Examples

Connect this MCP server to any AI agent or workflow:

β€’ Claude Desktop: Add MCP server URL to configuration
β€’ Cursor: Add MCP server SSE URL to configuration
β€’ Custom AI Apps: Use MCP URL as tool endpoint
β€’ API Integration: Direct HTTP calls to MCP endpoints

✨ Benefits

β€’ Zero Setup: No parameter mapping or configuration needed
β€’ AI-Ready: Built-in $fromAI() expressions for all parameters
β€’ Production Ready: Native n8n HTTP request handling and logging
β€’ Extensible: Easily modify or add custom logic

πŸ†“ Free for community use! Ready to deploy in under 2 minutes.