KosmoKrator

other

Flutterwave MCP Integration for LangChain

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

7 functions 5 read 2 write API key auth

Connect Flutterwave 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.

Flutterwave MCP Config for LangChain

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

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

Run the Gateway Manually

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

Why Use KosmoKrator Here

Scoped tools

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

Flutterwave Tools Visible to LangChain

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

MCP toolSource functionTypeDescription
integration__flutterwave__flutterwave_list_transactions flutterwave.flutterwave_list_transactions Read List transactions from your Flutterwave account. Supports filtering by status and date range, with pagination.
integration__flutterwave__flutterwave_get_transaction flutterwave.flutterwave_get_transaction Read Retrieve full details of a specific Flutterwave transaction by its ID.
integration__flutterwave__flutterwave_initiate_payment flutterwave.flutterwave_initiate_payment Write Initiate a new payment on Flutterwave. Requires a transaction reference, amount, currency, and customer details.
integration__flutterwave__flutterwave_verify_transaction flutterwave.flutterwave_verify_transaction Read Verify a Flutterwave transaction by its ID to confirm payment status and retrieve full details.
integration__flutterwave__flutterwave_list_customers flutterwave.flutterwave_list_customers Read List customers registered on your Flutterwave account, with pagination support.
integration__flutterwave__flutterwave_create_customer flutterwave.flutterwave_create_customer Write Create a new customer record on Flutterwave. Requires an email address.
integration__flutterwave__flutterwave_get_banks flutterwave.flutterwave_get_banks Read Get a list of supported banks for a given country from Flutterwave. Provide a country code like "NG" for Nigeria, "KE" for Kenya, "GH" for Ghana.

Related Flutterwave Pages