KosmoKrator

documents

PandaDoc MCP Integration for Claude Agent SDK

Connect PandaDoc to Claude Agent SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

9 functions 6 read 3 write Manual OAuth token auth

Connect PandaDoc to Claude Agent SDK

Give Claude Agent SDK workflows access to KosmoKrator integrations through a local MCP server.

Add a KosmoKrator stdio MCP server to the Claude Agent SDK options. The gateway is local, scoped to this integration, and starts with --write=deny so Claude Agent SDK can inspect read-capable tools without receiving write access by default.

PandaDoc MCP Config for Claude Agent SDK

Use a narrow integration list so the agent does not load unrelated tools.

{
  "mcpServers": {
    "kosmokrator-pandadoc": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=pandadoc",
        "--write=deny"
      ]
    }
  }
}

Run the Gateway Manually

kosmokrator mcp:serve --integration=pandadoc --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only PandaDoc instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

PandaDoc Tools Visible to Claude Agent SDK

Claude Agent SDK sees stable MCP tool names generated from the PandaDoc integration catalog.

MCP toolSource functionTypeDescription
integration__pandadoc__pandadoc_list_documents pandadoc.pandadoc_list_documents Read List documents from PandaDoc. Returns a paginated list of documents with their IDs, names, status, and metadata.
integration__pandadoc__pandadoc_get_document pandadoc.pandadoc_get_document Read Get details of a specific PandaDoc document by ID. Returns document metadata, status, recipients, and fields.
integration__pandadoc__pandadoc_create_document pandadoc.pandadoc_create_document Write Create a new PandaDoc document from an existing template. The document is created in draft status and can then be sent for signature.
integration__pandadoc__pandadoc_send_document pandadoc.pandadoc_send_document Write Send a PandaDoc document to recipients for signature. The document must be in draft status. Once sent, recipients will receive an email notification.
integration__pandadoc__pandadoc_list_templates pandadoc.pandadoc_list_templates Read List available document templates from PandaDoc. Returns template IDs, names, and metadata for creating new documents.
integration__pandadoc__pandadoc_get_template pandadoc.pandadoc_get_template Read Get details of a specific PandaDoc template by ID. Returns template metadata, fields, tokens, and recipient roles.
integration__pandadoc__pandadoc_download_document pandadoc.pandadoc_download_document Read Download a PandaDoc document as a PDF. Returns the PDF content as a base64-encoded string.
integration__pandadoc__pandadoc_create_link pandadoc.pandadoc_create_link Write Create a signed sharing link (session) for a PandaDoc document. The link allows viewing the document without authentication.
integration__pandadoc__pandadoc_get_current_user pandadoc.pandadoc_get_current_user Read Get the profile of the currently authenticated PandaDoc user. Useful for verifying the connection and identifying the account.

Related PandaDoc Pages