KosmoKrator

other

Paddle MCP Integration for LangChain

Connect Paddle to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 6 read 1 write Bearer token auth

Connect Paddle to LangChain

Bridge LangChain agents to local KosmoKrator integration tools through MCP or headless CLI calls.

Use the MCP gateway when the agent should discover tools, or wrap kosmo integrations:call for fixed chains. The gateway is local, scoped to this integration, and starts with --write=deny so LangChain can inspect read-capable tools without receiving write access by default.

Paddle MCP Config for LangChain

Keep the gateway scoped to the integration and operation class needed by the chain.

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

Run the Gateway Manually

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

Why Use KosmoKrator Here

Scoped tools

Expose only Paddle 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.

Paddle Tools Visible to LangChain

LangChain sees stable MCP tool names generated from the Paddle integration catalog.

MCP toolSource functionTypeDescription
integration__paddle__paddle_list_transactions paddle.paddle_list_transactions Read List Paddle transactions. Supports filtering by status and customer ID, with cursor-based pagination.
integration__paddle__paddle_get_transaction paddle.paddle_get_transaction Read Get detailed information about a specific Paddle transaction by its ID.
integration__paddle__paddle_list_customers paddle.paddle_list_customers Read List Paddle customers. Supports filtering by email and name, with cursor-based pagination.
integration__paddle__paddle_get_customer paddle.paddle_get_customer Read Get detailed information about a specific Paddle customer by their ID.
integration__paddle__paddle_create_customer paddle.paddle_create_customer Write Create a new customer in Paddle. An email address is required.
integration__paddle__paddle_list_products paddle.paddle_list_products Read List Paddle products. Supports filtering by status with cursor-based pagination.
integration__paddle__paddle_get_current_user paddle.paddle_get_current_user Read Verify Paddle API connectivity by performing a health check request. Returns connection status and API response.

Related Paddle Pages