Aller au contenu principal
MD to PDF

Documentation API

MCP for AI agents

Sur cette page

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.

Vérification de l’accès à l’API

Chargement de l’état d’activation.