other
Mollie MCP Integration for Vercel AI SDK
Connect Mollie to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Mollie to Vercel AI SDK
Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts.
Create an MCP client that starts or connects to the KosmoKrator gateway for the selected integration. The gateway is local, scoped to this integration, and starts with
--write=deny so Vercel AI SDK can inspect read-capable tools without receiving write access by default.
Mollie MCP Config for Vercel AI SDK
Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.
{
"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 Vercel AI SDK
Vercel AI SDK 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). |