IntegrateIntegrate
Integrations

GoCardless Integration

Manage GoCardless institutions, requisitions, accounts, balances, and transactions

The GoCardless integration provides access to manage GoCardless institutions, requisitions, accounts, balances, and transactions through the Integrate MCP server.

Installation

The GoCardless integration is included with the SDK:

import { gocardlessIntegration } from "integrate-sdk/server";

Setup

1. Create a GoCardless OAuth App

  1. Create an OAuth application for GoCardless
  2. Configure your redirect URI
  3. Note your Client ID and Client Secret

2. Configure the Integration on Your Server

Add the GoCardless integration to your server configuration. The integration automatically reads GOCARDLESS_CLIENT_ID and GOCARDLESS_CLIENT_SECRET from your environment variables:

import { createMCPServer, gocardlessIntegration } from "integrate-sdk/server";

export const { client: serverClient } = createMCPServer({
  apiKey: process.env.INTEGRATE_API_KEY,
  integrations: [
    gocardlessIntegration({
      scopes: ["openid", "accounts", "transactions", "balances"], // Optional
    }),
  ],
});

You can override the environment variables by passing explicit values:

gocardlessIntegration({
  clientId: process.env.CUSTOM_GOCARDLESS_ID,
  clientSecret: process.env.CUSTOM_GOCARDLESS_SECRET,
      scopes: ["openid", "accounts", "transactions", "balances"], // Optional
});

3. Client-Side Usage

The default client automatically includes all integrations. You can use it directly:

import { client } from "integrate-sdk";

await client.authorize("gocardless");
const result = await client.gocardless.listInstitutions({});

console.log(result);

If you're using a custom client, add the integration to the integrations array:

import { createMCPClient, gocardlessIntegration } from "integrate-sdk";

const customClient = createMCPClient({
  integrations: [gocardlessIntegration()],
});

Configuration Options

Prop

Type

Default Scopes

These defaults are applied unless you override scopes in the integration config:

  • openid
  • accounts
  • transactions
  • balances

Tools

gocardless_list_institutions

List institutions

Prop

Type

gocardless_create_requisition

Create requisition

Prop

Type

gocardless_get_requisition

Get requisition

Prop

Type

gocardless_get_account

Get account

Prop

Type

gocardless_get_balances

Get balances

Prop

Type

gocardless_get_transactions

Get transactions

Prop

Type

Notes

  • Category: Banking
  • Authentication mode: OAuth

On this page