other
Mollie MCP Integration for LangChain
Connect Mollie to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Mollie 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.
Mollie MCP Config for LangChain
Keep the gateway scoped to the integration and operation class needed by the chain.
{
"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
Expose only Mollie instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Mollie Tools Visible to LangChain
LangChain sees stable MCP tool names generated from the Mollie integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
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). |