KosmoKrator

other

Mollie MCP Integration for OpenAI Agents SDK

Connect Mollie to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

9 functions 6 read 3 write Bearer token auth

Connect Mollie to OpenAI Agents SDK

Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.

Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with --write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.

Mollie MCP Config for OpenAI Agents SDK

Use headless JSON commands for CI-style execution and MCP for agent tool discovery.

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

Run the Gateway Manually

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

Why Use KosmoKrator Here

Scoped tools

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

Mollie Tools Visible to OpenAI Agents

OpenAI Agents sees stable MCP tool names generated from the Mollie integration catalog.

MCP toolSource functionTypeDescription
integration__mollie__mollie_list_payments mollie.mollie_list_payments Read List payments from Mollie. Returns payment resources with status, amount, and metadata. Use filters like profileId to narrow results.
integration__mollie__mollie_get_payment mollie.mollie_get_payment Read Retrieve a single Mollie payment by its ID. Returns the full payment resource with status, amount, and checkout links.
integration__mollie__mollie_create_payment mollie.mollie_create_payment Write Create a new Mollie payment. Requires amount (currency and value), description, and a redirectUrl. Returns the payment resource with a checkout link.
integration__mollie__mollie_list_customers mollie.mollie_list_customers Read List all customers from Mollie. Returns customer resources with name, email, and metadata.
integration__mollie__mollie_create_customer mollie.mollie_create_customer Write Create a new Mollie customer. Requires name and email. Returns the customer resource with an ID for creating subscriptions.
integration__mollie__mollie_list_subscriptions mollie.mollie_list_subscriptions Read List all subscriptions for a specific Mollie customer. Requires a customer ID (e.g., "cst_abc123"). Returns subscription resources with status, amount, and interval.
integration__mollie__mollie_create_subscription mollie.mollie_create_subscription Write Create a subscription for a Mollie customer. Requires customer ID, amount (currency and value), interval (e.g., "1 month"), and description.
integration__mollie__mollie_list_invoices mollie.mollie_list_invoices Read List invoices for the authenticated Mollie account. Supports filtering by year, month, and reference.
integration__mollie__mollie_get_current_user mollie.mollie_get_current_user Read Retrieve the enabled payment methods for the authenticated Mollie account. Returns a list of available payment methods (e.g., iDEAL, credit card, PayPal).

Related Mollie Pages