get_accounts
Pack: plaid · Endpoint: https://gateway.pipeworx.io/plaid/mcp
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/get_accounts for the schema, then POST the same URL with its arguments for the data.
List all linked bank accounts for an access token. Returns account names, types, balances, and masks. Example: get_accounts({ access_token: “access-sandbox-xxx”, _apiKey: “client_id:secret” })
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
access_token | string | yes | Plaid access token for the linked institution (access-sandbox-xxx) |
_apiKey | string | yes | Plaid credentials as “client_id:secret” (e.g. “abc123:def456”) |
Example call
Arguments
{
"access_token": "access-sandbox-abc123def456",
"_apiKey": "your-plaid-api-key"
}
curl
curl -X POST https://gateway.pipeworx.io/plaid/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_accounts","arguments":{"access_token":"access-sandbox-abc123def456","_apiKey":"your-plaid-api-key"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_accounts', {
"access_token": "access-sandbox-abc123def456",
"_apiKey": "your-plaid-api-key"
});
Response shape
| Field | Type | Description |
|---|---|---|
accounts | array | List of linked bank accounts |
item | object | Item metadata |
request_id | string | Unique request identifier |
Full JSON Schema
{
"type": "object",
"description": "Response from Plaid accounts endpoint containing linked bank account details",
"properties": {
"accounts": {
"type": "array",
"description": "List of linked bank accounts",
"items": {
"type": "object",
"properties": {
"account_id": {
"type": "string",
"description": "Unique account identifier"
},
"name": {
"type": "string",
"description": "Account name"
},
"type": {
"type": "string",
"description": "Account type (checking, savings, etc.)"
},
"subtype": {
"type": "string",
"description": "Account subtype"
},
"mask": {
"type": "string",
"description": "Last 2-4 digits of account number"
},
"balances": {
"type": "object",
"description": "Account balance information",
"properties": {
"available": {
"type": [
"number",
"null"
],
"description": "Available balance"
},
"current": {
"type": "number",
"description": "Current balance"
},
"limit": {
"type": [
"number",
"null"
],
"description": "Credit limit if applicable"
}
}
}
}
}
},
"item": {
"type": "object",
"description": "Item metadata",
"properties": {
"institution_id": {
"type": "string",
"description": "Institution identifier"
}
}
},
"request_id": {
"type": "string",
"description": "Unique request identifier"
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"plaid": {
"url": "https://gateway.pipeworx.io/plaid/mcp"
}
}
}
See Getting Started for client-specific install steps.