PaperType
v0.1.0Render Markdown, HTML or invoice/certificate/report templates to PDF files via the PaperType API.
Values you need
| Variable | What it is | |
|---|---|---|
PAPERTYPE_API_KEY | required secret | PaperType API key (dp_...). Get one at https://papertype.dev/signup. |
PAPERTYPE_OUTPUT_DIR | optional | Directory where rendered PDFs are saved. Default: the OS temp dir + /papertype. |
PAPERTYPE_BASE_URL | optional | API origin. Default https://papertype.dev; change only for test deployments. Default: https://papertype.dev |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add papertype-mcp -e 'PAPERTYPE_API_KEY=<PAPERTYPE_API_KEY>' -- npx -y papertype-mcp@0.1.0Add to
claude_desktop_config.json{
"mcpServers": {
"papertype-mcp": {
"args": [
"-y",
"papertype-mcp@0.1.0"
],
"command": "npx",
"env": {
"PAPERTYPE_API_KEY": "<PAPERTYPE_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"papertype-mcp": {
"args": [
"-y",
"papertype-mcp@0.1.0"
],
"command": "npx",
"env": {
"PAPERTYPE_API_KEY": "<PAPERTYPE_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "PAPERTYPE_API_KEY",
"id": "papertype-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"papertype-mcp": {
"args": [
"-y",
"papertype-mcp@0.1.0"
],
"command": "npx",
"env": {
"PAPERTYPE_API_KEY": "${input:papertype-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.papertype-mcp]
command = "npx"
args = ["-y", "papertype-mcp@0.1.0"]
env = { "PAPERTYPE_API_KEY" = "<PAPERTYPE_API_KEY>" }For AI agents
- Ask the user for: PAPERTYPE_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: render_pdf, list_templates, account.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json