跳到主要内容
MD to PDF

API 文档

MCP for AI agents

本页内容

Integrate

MCP for AI agents

Connect the remote MCP server to Claude Code and compatible AI agents.

Configure the server

Add the remote HTTP server once and provide a publishing-scoped API key through an environment variable.

.mcp.json
{
  "mcpServers": {
    "markdown-to-pdf": {
      "type": "http",
      "url": "https://markdowntopdfconverter.com/mcp",
      "headers": {
        "Authorization": "Bearer ${MD2PDF_API_KEY}"
      }
    }
  }
}

Publish from the conversation

Ask the agent to recommend a task-specific template before rendering. Returned artifact links are private and short-lived.

正在检查 API 访问权限

正在加载激活状态。