MCP Server Studio
Convert files, HTML, and Markdown to PDF via the FileToPDF API. Bring your own API key.
Registry name: dev.filetopdf/filetopdf-mcp
Add to claude_desktop_config.json:
{
"mcpServers": {
"filetopdf-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"FILETOPDF_API_KEY": "<FILETOPDF_API_KEY>"
}
}
}
}Run in your terminal:
claude mcp add filetopdf-mcp -e FILETOPDF_API_KEY='<FILETOPDF_API_KEY>' -- npx -y [email protected]Add to .cursor/mcp.json:
{
"mcpServers": {
"filetopdf-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"FILETOPDF_API_KEY": "<FILETOPDF_API_KEY>"
}
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"filetopdf-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"FILETOPDF_API_KEY": "<FILETOPDF_API_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"filetopdf-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"FILETOPDF_API_KEY": "<FILETOPDF_API_KEY>"
}
}
}
}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>"
]
}
}
}Run in your terminal:
claude mcp add --transport http filetopdf-mcp https://api.filetopdf.dev/mcp --header 'x-api-key: <x-api-key>'Add to .cursor/mcp.json:
{
"mcpServers": {
"filetopdf-mcp": {
"url": "https://api.filetopdf.dev/mcp",
"headers": {
"x-api-key": "<x-api-key>"
}
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"filetopdf-mcp": {
"type": "http",
"url": "https://api.filetopdf.dev/mcp",
"headers": {
"x-api-key": "<x-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"filetopdf-mcp": {
"serverUrl": "https://api.filetopdf.dev/mcp",
"headers": {
"x-api-key": "<x-api-key>"
}
}
}
}| Name | Required | What it is |
|---|---|---|
FILETOPDF_API_KEY | Yes | Your FileToPDF API key (sk_live_...). Get one free in one click at https://filetopdf.dev. |