MCP Server
@paperjsx/mcp-server exposes PaperJSX's document generation to any MCP-compatible agent.
Install
npx -y @paperjsx/mcp-server
The server is invoked through npx inside your agent's MCP client config — no global install needed.
Client Configuration
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"paperjsx": {
"command": "npx",
"args": ["-y", "@paperjsx/mcp-server"]
}
}
}
Cursor
Add to .cursor/mcp.json in your project root:
{
"mcpServers": {
"paperjsx": {
"command": "npx",
"args": ["-y", "@paperjsx/mcp-server"]
}
}
}
VS Code Copilot
Add to .vscode/mcp.json:
{
"servers": {
"paperjsx": {
"command": "npx",
"args": ["-y", "@paperjsx/mcp-server"]
}
}
}
Gemini CLI
Add to your settings.json:
{
"mcpServers": {
"paperjsx": {
"command": "npx",
"args": ["-y", "@paperjsx/mcp-server"]
}
}
}
Windsurf
Add to your Windsurf MCP configuration:
{
"mcpServers": {
"paperjsx": {
"command": "npx",
"args": ["-y", "@paperjsx/mcp-server"]
}
}
}
Cline
Add to your Cline MCP settings:
{
"mcpServers": {
"paperjsx": {
"command": "npx",
"args": ["-y", "@paperjsx/mcp-server"]
}
}
}
Authentication and Hosted API
The MCP server is local-only: every tool runs in-process over stdio, with no account, authentication, or API key. PAPERJSX_API_KEY is not an MCP server setting.
The authenticated hosted Platform API is a separate interface. Hosted requests require a pj_live_ key as Authorization: Bearer pj_live_YOUR_KEY; see the hosted API reference. Do not put that hosted key in the local MCP configuration above.