Pdf Generator Api

by pdfgeneratorapi

227 downloads
Not rated
GitHub

About

Model Context Protocol (MCP) server for the PDF Generator API, generated from the OpenAPI v4 specification.

Details

Author
pdfgeneratorapi
Downloads
227
Categories
Developer Tools

- Supports stdio and HTTP transports
- Docker deployment support
- Configurable environment variables
- JWT authentication with token generation guidance
- Session idle timeout and CORS configuration
- Health check endpoint
- Regeneratable from OpenAPI specification
- Includes testing scripts

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:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Pdf Generator Api
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install and build with npm install and npm run build, then configure your MCP client with the command node and the path to the built index.js, plus environment variables API_BASE_URL and BEARER_TOKEN_JWT. For HTTP mode, run npm run start:http (port 3000) or use the provided Docker Compose file. Authentication requires a JWT token passed via environment variable or HTTP header.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "pdf generator api": {
            "pdf-generator-api": {
                "command": "node",
                "args": [
                    "/path/to/mcp-server/build/index.js"
                ],
                "env": {
                    "API_BASE_URL": "https://us1.pdfgeneratorapi.com/api/v4",
                    "BEARER_TOKEN_JWT": "your-jwt-token-here"
                }
            }
        }
    }
}

McpServers

{
    "pdf-generator-api": {
        "command": "node",
        "args": [
            "/path/to/mcp-server/build/index.js"
        ],
        "env": {
            "API_BASE_URL": "https://us1.pdfgeneratorapi.com/api/v4",
            "BEARER_TOKEN_JWT": "your-jwt-token-here"
        }
    }
}

PDF Generator API — MCP Server

Model Context Protocol (MCP) server for the PDF Generator API, generated from the OpenAPI v4 specification.

Overview

This server supports both stdio and HTTP transports: - Stdio mode (default): For local MCP client integration (Claude Desktop, Claude Code, Cline, etc.) - HTTP mode: For production deployment, marketplaces, and multiple clients

Quick Start

Local Development (Stdio Mode)

Install and build: ``bash npm install npm run build ` MCP Client Configuration Example: `json { "mcpServers": { "pdf-generator-api": { "command": "node", "args": ["/path/to/mcp-server/build/index.js"], "env": { "API_BASE_URL": "https://us1.pdfgeneratorapi.com/api/v4", "BEARER_TOKEN_JWT": "your-jwt-token-here" } } } } ` Note: Replace /path/to/mcp-server with your actual path and your-jwt-token-here with your PDF Generator API JWT token (see JWT Token Generation below). Common config locations: - Claude Desktop: Settings > Developer > Edit Config - Claude Code (CLI): ~/.claude/mcp_config.json - Cline/Roo-Codeium: .vscode/mcp_config.json - Continue: ~/.continue/config.json

Production Deployment (HTTP Mode)

Run locally:
``bash npm install npm run start:http
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.