To authenticate your connection, the Paperfly MCP server requires three exact headers containing your user credentials and API key on every request.
Every call to the server must include the following headers. The server uses these behind the scenes to authenticate sessions dynamically under your account:
X-Paperfly-Username: your-username X-Paperfly-Password: your-password X-Paperfly-Api-Key: your-api-key
Be sure to use the exact casing and hyphenation shown above.
Use the official MCP Inspector to test your connection and explore tools instantly.
npx @modelcontextprotocol/inspector
streamable-http.https://mcp.paperfly.io/mcpClick Connect to initialize the session.
Because Claude Desktop doesn't natively accept custom headers on remote URLs, use mcp-remote via npx to handle the headers locally.
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{ "mcpServers": { "Paperfly MCP": { "command": "npx", "args": [ "mcp-remote", "https://mcp.paperfly.io/mcp", "--header", "X-Paperfly-Username: your-username", "--header", "X-Paperfly-Password: your-password", "--header", "X-Paperfly-Api-Key: your-api-key" ] } } }
A simple reload of the window won't load the new server config. Quit the app completely from your menu bar or system tray, then launch it again.
Most AI coding extensions in VS Code run MCP configurations locally. Just like Claude Desktop, you must bridge the connection via mcp-remote.
Create a .vscode folder in your project root if it doesn't exist, and create a mcp.json file inside it.
{ "servers": { "Paperfly MCP": { "command": "npx", "args": [ "mcp-remote", "https://mcp.paperfly.io/mcp", "--header", "X-Paperfly-Username: your-username", "--header", "X-Paperfly-Password: your-password", "--header", "X-Paperfly-Api-Key: your-api-key" ] } }, "inputs": [] }
Replace the three highlighted values with your credentials. Keep this file private as it stores your password in plain text.