MCP.so
登录

Pdf Generator X402

@Br0ski777

关于 Pdf Generator X402

Generate PDF documents from HTML or Markdown. Custom page size, margins, headers. Ideal for reports and invoices. -- x402 micropayment API + MCP server for AI agents

基本信息

分类

文件与存储

许可证

MIT

运行时

node

传输方式

stdio

发布者

Br0ski777

提交者

Br0ski777

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "pdf-generator": {
      "url": "https://pdf-generator-x402-production.up.railway.app/mcp",
      "transport": "sse"
    }
  }
}

工具

1

POST

概览

What is Pdf Generator X402?

Pdf Generator X402 is an MCP server that generates PDF documents from HTML or Markdown content with custom page size, margins, and orientation. It uses the x402 micropayment protocol (USDC on Base L2) for pay-per-call access, requiring no API key, signup, or rate-limit walls. It is part of the klymax402 marketplace of 100 x402 micropayment APIs for AI agents.

How to use Pdf Generator X402?

Add the server to your MCP client configuration (e.g., Claude Desktop, Cursor, ElizaOS) using the URL https://pdf-generator.api.klymax402.com/mcp. Alternatively, call the HTTP endpoint /api/generate with an x402-aware client that handles the 402 payment challenge automatically. The tool name is document_generate_pdf.

Key features of Pdf Generator X402

  • Generate PDF from HTML or Markdown content
  • Custom page size (A4, Letter, Legal)
  • Landscape orientation support
  • Custom margins (default 20mm all sides)
  • Pay-per-call via x402 (USDC on Base L2)
  • No signup, no API key, no rate limits

Use cases of Pdf Generator X402

  • Generate invoices from structured data
  • Create formatted reports from HTML or Markdown
  • Produce proposals and contracts as downloadable PDFs
  • Convert any document content into a printable PDF

FAQ from Pdf Generator X402

What is x402 and how does payment work?

x402 is an HTTP-native pay-per-call protocol. The server returns a 402 Payment Required response with a payment challenge; an x402-aware client automatically signs and retries the request. No signup or API key is needed.

What network and asset are used for payments?

Payments are made in USDC on Base L2 (chain ID eip155:8453). The primary facilitator is Coinbase CDP, with PayAI as a fallback.

What are the runtime dependencies?

No runtime dependencies beyond an MCP client (e.g., Claude Desktop) or an HTTP client with x402 support (e.g., @x402/fetch, x402-agent-tools, ATXP).

What is Pdf Generator X402 not suitable for?

It is not for capturing a live web page as PDF, taking screenshots, or rendering Markdown with CSS themes. Those use cases require other tools.

Where does the data live and how is it transported?

Content is sent to the server via HTTP POST; the server returns a binary PDF with Content-Type: application/pdf. No data is stored on the server beyond the request-response cycle.

评论

文件与存储 分类下的更多 MCP 服务器