mcp-pluggy

v0.1.2
io.github.codespar/mcp-pluggy Checked 2 days ago Published 5 months ago

MCP server for Pluggy — Open Finance Brasil aggregator: accounts, transactions, payment initiation

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_connectors

Lists supported Brazilian banks (connectors). Pluggy endpoint: GET /connectors. Optional filters: name, types (e.g. PERSONAL_BANK, BUSINESS_BANK), countries (BR), sandbox.

ParameterTypeDescription
countriesstringComma-separated country codes (default BR)
namestringFilter by connector name (partial match)
sandboxbooleanInclude sandbox connectors
typesstringComma-separated types (PERSONAL_BANK, BUSINESS_BANK, INVESTMENT, ...)

get_connector

Get a single connector definition by id. Pluggy endpoint: GET /connectors/{id}.

ParameterTypeDescription
id *integerConnector numeric id

list_categories

List Pluggy's transaction categorization taxonomy. Pluggy endpoint: GET /categories.

create_connect_token

Mint a connect token for embedding the Pluggy Connect widget on the client. Pluggy endpoint: POST /connect_token.

ParameterTypeDescription
clientUserIdstringStable identifier for the end-user in your system
itemIdstringExisting item id when refreshing/updating credentials
optionsobjectOptional widget options object (avatarUrl, oauthRedirectUri, etc.)

create_item

Create a new bank connection (item) for a connector. Pluggy endpoint: POST /items.

ParameterTypeDescription
connectorId *integerConnector id (from list_connectors)
parameters *objectCredential parameters required by the connector (e.g. { cpf, password })
clientUserIdstringStable end-user identifier
webhookUrlstringOptional webhook to receive item status events

list_items

List bank connections (items) owned by the application. Pluggy endpoint: GET /items.

ParameterTypeDescription
clientUserIdstringFilter by client_user_id
pageinteger
pageSizeinteger

get_item

Fetch a single bank connection by id. Pluggy endpoint: GET /items/{id}.

ParameterTypeDescription
id *stringItem id (uuid)

update_item

Refresh / update credentials for an existing bank connection. Pluggy endpoint: PATCH /items/{id}.

ParameterTypeDescription
id *stringItem id
parametersobjectUpdated credential parameters; omit to trigger a credential-less refresh
webhookUrlstring

delete_item

Delete a bank connection (revokes credentials, removes accounts/transactions). Pluggy endpoint: DELETE /items/{id}.

ParameterTypeDescription
id *stringItem id

list_accounts

List accounts (checking, savings, credit card, investment) tied to an item. Pluggy endpoint: GET /accounts?itemId=...

ParameterTypeDescription
itemId *stringParent item id
typestringOptional account type filter

get_account

Get a single account by id. Pluggy endpoint: GET /accounts/{id}.

ParameterTypeDescription
id *stringAccount id

list_transactions

List transactions for an account in a date range. Pluggy endpoint: GET /transactions?accountId=&from=&to=.

ParameterTypeDescription
accountId *stringAccount id
fromstringISO date lower bound (yyyy-mm-dd)
pageinteger
pageSizeinteger
tostringISO date upper bound (yyyy-mm-dd)

get_transaction

Get a single transaction by id. Pluggy endpoint: GET /transactions/{id}.

ParameterTypeDescription
id *stringTransaction id

list_identities

Fetch identity data (legal name, document, address) for an item. Pluggy endpoint: GET /identity?itemId=...

ParameterTypeDescription
itemId *stringItem id

create_payment_intent

Create a payment intent for Pluggy Payments (PISP). Pluggy endpoint: POST /payments/intents.

ParameterTypeDescription
amount *numberAmount in major units (BRL)
recipient *objectRecipient block (pixKey or bank account details)
callbackUrlsobjectObject with success / failure redirect URLs
descriptionstring
metadataobject
payerDocumentstringPayer CPF/CNPJ

get_payment_intent

Fetch the current status of a payment intent. Pluggy endpoint: GET /payments/intents/{id}.

ParameterTypeDescription
id *stringPayment intent id