IntegrateIntegrate
Integrations

TrueLayer Integration

Manage TrueLayer get me, list accounts, get account, get balance, list transactions

The TrueLayer integration provides access to manage TrueLayer get me, list accounts, get account, get balance, list transactions through the Integrate MCP server.

Installation

The TrueLayer integration is included with the SDK:

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

Setup

1. Create a TrueLayer OAuth App

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

2. Configure the Integration on Your Server

Add the TrueLayer integration to your server configuration. The integration automatically reads TRUELAYER_CLIENT_ID and TRUELAYER_CLIENT_SECRET from your environment variables:

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

export const { client: serverClient } = createMCPServer({
  apiKey: process.env.INTEGRATE_API_KEY,
  integrations: [
    truelayerIntegration({
      scopes: ["info", "accounts", "balance", "cards", "transactions", "direct_debits", "standing_orders", "offline_access"], // Optional
    }),
  ],
});

You can override the environment variables by passing explicit values:

truelayerIntegration({
  clientId: process.env.CUSTOM_TRUELAYER_ID,
  clientSecret: process.env.CUSTOM_TRUELAYER_SECRET,
      scopes: ["info", "accounts", "balance", "cards", "transactions", "direct_debits", "standing_orders", "offline_access"], // 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("truelayer");
const result = await client.truelayer.getMe({});

console.log(result);

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

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

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

Configuration Options

Prop

Type

Default Scopes

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

  • info
  • accounts
  • balance
  • cards
  • transactions
  • direct_debits
  • standing_orders
  • offline_access

Tools

truelayer_get_me

Get me

No parameters.

truelayer_list_accounts

List accounts

No parameters.

truelayer_get_account

Get account

Prop

Type

truelayer_get_balance

Get balance

Prop

Type

truelayer_list_transactions

List transactions

Prop

Type

truelayer_list_cards

List cards

No parameters.

Notes

  • Category: Banking
  • Authentication mode: OAuth

On this page