Official Model Context Protocol (MCP) server for local-first PDF/A generation. Empowers AI agents (Claude, Cursor, Zed) to securely create, sign (PAdES), verify, and transform documents with barcodes and AcroForms.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add pdfnative-pdf-a-pdf-x-4-generation-pades --env PDFNATIVE_MCP_HTTP_TOKEN='<PDFNATIVE_MCP_HTTP_TOKEN>' --env PDFNATIVE_MCP_TSA_AUTH='<PDFNATIVE_MCP_TSA_AUTH>' -- npx -y pdfnative-mcp~/.codex/config.toml
[mcp_servers.pdfnative-pdf-a-pdf-x-4-generation-pades]
command = "npx"
args = ["-y", "pdfnative-mcp"]
env = { PDFNATIVE_MCP_HTTP_TOKEN = "<PDFNATIVE_MCP_HTTP_TOKEN>", PDFNATIVE_MCP_TSA_AUTH = "<PDFNATIVE_MCP_TSA_AUTH>" }
# codex mcp add pdfnative-pdf-a-pdf-x-4-generation-pades --env PDFNATIVE_MCP_HTTP_TOKEN='<PDFNATIVE_MCP_HTTP_TOKEN>' --env PDFNATIVE_MCP_TSA_AUTH='<PDFNATIVE_MCP_TSA_AUTH>' -- npx -y pdfnative-mcp~/.cursor/mcp.json
{
"mcpServers": {
"pdfnative-pdf-a-pdf-x-4-generation-pades": {
"command": "npx",
"args": [
"-y",
"pdfnative-mcp"
],
"env": {
"PDFNATIVE_MCP_HTTP_TOKEN": "<PDFNATIVE_MCP_HTTP_TOKEN>",
"PDFNATIVE_MCP_TSA_AUTH": "<PDFNATIVE_MCP_TSA_AUTH>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"pdfnative-pdf-a-pdf-x-4-generation-pades": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"pdfnative-mcp"
],
"env": {
"PDFNATIVE_MCP_HTTP_TOKEN": "<PDFNATIVE_MCP_HTTP_TOKEN>",
"PDFNATIVE_MCP_TSA_AUTH": "<PDFNATIVE_MCP_TSA_AUTH>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"pdfnative-pdf-a-pdf-x-4-generation-pades": {
"command": "npx",
"args": [
"-y",
"pdfnative-mcp"
],
"env": {
"PDFNATIVE_MCP_HTTP_TOKEN": "<PDFNATIVE_MCP_HTTP_TOKEN>",
"PDFNATIVE_MCP_TSA_AUTH": "<PDFNATIVE_MCP_TSA_AUTH>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"pdfnative-pdf-a-pdf-x-4-generation-pades": {
"command": "npx",
"args": [
"-y",
"pdfnative-mcp"
],
"env": {
"PDFNATIVE_MCP_HTTP_TOKEN": "<PDFNATIVE_MCP_HTTP_TOKEN>",
"PDFNATIVE_MCP_TSA_AUTH": "<PDFNATIVE_MCP_TSA_AUTH>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"pdfnative-pdf-a-pdf-x-4-generation-pades": {
"command": "npx",
"args": [
"-y",
"pdfnative-mcp"
],
"env": {
"PDFNATIVE_MCP_HTTP_TOKEN": "<PDFNATIVE_MCP_HTTP_TOKEN>",
"PDFNATIVE_MCP_TSA_AUTH": "<PDFNATIVE_MCP_TSA_AUTH>"
}
}
}
}Environment variables
PDFNATIVE_MCP_HTTP_TOKENPDFNATIVE_MCP_TSA_AUTH
Replace the placeholders with your own credentials and keep them out of version control.