Tink Integration
Manage Tink get user, list accounts, get account, list transactions, list credentials
The Tink integration provides access to manage Tink get user, list accounts, get account, list transactions, list credentials through the Integrate MCP server.
Installation
The Tink integration is included with the SDK:
import { tinkIntegration } from "integrate-sdk/server";Setup
1. Create a Tink OAuth App
- Create an OAuth application for Tink
- Configure your redirect URI
- Note your Client ID and Client Secret
2. Configure the Integration on Your Server
Add the Tink integration to your server configuration. The integration automatically reads TINK_CLIENT_ID and TINK_CLIENT_SECRET from your environment variables:
import { createMCPServer, tinkIntegration } from "integrate-sdk/server";
export const { client: serverClient } = createMCPServer({
apiKey: process.env.INTEGRATE_API_KEY,
integrations: [
tinkIntegration({
scopes: ["accounts:read", "transactions:read", "user:read", "credentials:read"], // Optional
}),
],
});You can override the environment variables by passing explicit values:
tinkIntegration({
clientId: process.env.CUSTOM_TINK_ID,
clientSecret: process.env.CUSTOM_TINK_SECRET,
scopes: ["accounts:read", "transactions:read", "user:read", "credentials:read"], // 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("tink");
const result = await client.tink.getUser({});
console.log(result);If you're using a custom client, add the integration to the integrations array:
import { createMCPClient, tinkIntegration } from "integrate-sdk";
const customClient = createMCPClient({
integrations: [tinkIntegration()],
});Configuration Options
Prop
Type
Default Scopes
These defaults are applied unless you override scopes in the integration config:
accounts:readtransactions:readuser:readcredentials:read
Tools
tink_get_user
Get user
No parameters.
tink_list_accounts
List accounts
No parameters.
tink_get_account
Get account
Prop
Type
tink_list_transactions
List transactions
Prop
Type
tink_list_credentials
List credentials
No parameters.
tink_refresh_credentials
Refresh credentials
Prop
Type
Notes
- Category: Banking
- Authentication mode: OAuth