MCP Server Studio

FileToPDF MCP server

Convert files, HTML, and Markdown to PDF via the FileToPDF API. Bring your own API key.

Registry name: dev.filetopdf/filetopdf-mcp

Publisher
filetopdf.dev
Runs
Local or hosted
Package
npm
Version
0.1.1
Category
Developer tools
Updated
2026-06-10

Source code on GitHub

Set up FileToPDF (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "filetopdf-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "FILETOPDF_API_KEY": "<FILETOPDF_API_KEY>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add filetopdf-mcp -e FILETOPDF_API_KEY='<FILETOPDF_API_KEY>' -- npx -y [email protected]

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "filetopdf-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "FILETOPDF_API_KEY": "<FILETOPDF_API_KEY>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "filetopdf-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "FILETOPDF_API_KEY": "<FILETOPDF_API_KEY>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "filetopdf-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "FILETOPDF_API_KEY": "<FILETOPDF_API_KEY>"
      }
    }
  }
}

Set up FileToPDF (hosted url)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "filetopdf-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://api.filetopdf.dev/mcp",
        "--header",
        "x-api-key: <x-api-key>"
      ]
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add --transport http filetopdf-mcp https://api.filetopdf.dev/mcp --header 'x-api-key: <x-api-key>'

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "filetopdf-mcp": {
      "url": "https://api.filetopdf.dev/mcp",
      "headers": {
        "x-api-key": "<x-api-key>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "filetopdf-mcp": {
      "type": "http",
      "url": "https://api.filetopdf.dev/mcp",
      "headers": {
        "x-api-key": "<x-api-key>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "filetopdf-mcp": {
      "serverUrl": "https://api.filetopdf.dev/mcp",
      "headers": {
        "x-api-key": "<x-api-key>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
FILETOPDF_API_KEYYesYour FileToPDF API key (sk_live_...). Get one free in one click at https://filetopdf.dev.

More developer tools MCP servers