Payments
Money movement: transactions, and fellow payments (invoices) with their line items.
- Connector
https://mcp.devfellowship.com/mcp
- Tools
- 9 in 3 groups
- Package
packages/dfl-mcp-payments- Auth
- Sign in once on the DFL connector. Every call runs as you, under RLS and your IAM role. See Auth & security.
Connect
Add the one DFL connector, https://mcp.devfellowship.com/mcp, to your client. Sign in once. On the consent page
choose the payments domain: read gives the scope payments.read, and write gives
payments.write. The steps for each client are on
Connect the DFL MCP.
Then find a tool of this domain with the router tools of the connector:
-
search_toolswith a keyword or an exact tool name. Each result givespayments.<tool>and its mode (read or write).{ "query": "list_payments" } -
describe_toolwith that id for the description and the input schema.{ "tool": "payments.list_payments" } -
call_read_toolfor a read tool, orcall_write_toolfor a write tool, with the id and the arguments.
Scripts and agents that sign in with a token: see Getting started, For scripts.
| Backing data | payments / public schemas (transactions, payments). |
Invoices
Section titled “Invoices”Fellow payments: see which invoices wait for approval, approve them, and send the money by PIX.
list_payments
List fellow payments (invoices) by state, with amount, recipient, and ids.read
list_paymentsList Payments (Invoices)
List fellow payments (invoices) by state, with amount, recipient, and ids. Defaults to the actionable states submitted (awaiting approval), approved (awaiting movement), and payment_requested (Awaiting Woovi). Read-only. Requires finance/admin/owner role (enforced by middleware).
| Parameter | Type | Required | Description |
|---|---|---|---|
statuses | enum[] | no | Filter by one or more states. Default: ["submitted","approved","payment_requested"]. |
fellow_user_id | string | no | Filter by a specific fellow (UUID). |
reference_month | string | no | Filter by reference month, e.g. "2026-06". |
limit | number | no | Max rows (default 100, max 200). |
get_payment
Get a single payment (invoice) by id, including its line items and the full transition-timestamp history (submitted/reviewed/approved/rejected/paid).read
get_paymentGet Payment (Invoice) detail
Get a single payment (invoice) by id, including its line items and the full transition-timestamp history (submitted/reviewed/approved/rejected/paid). Read-only. Requires finance/admin/owner role (enforced by middleware).
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | Invoice ID (UUID). |
advance_payment
Move ONE payment (invoice) forward by exactly one transition: submitted→approved (approve) or approved→payment_requested (dispatch Woovi PIX).write
advance_paymentAdvance Payment (one transition forward)
Move ONE payment (invoice) forward by exactly one transition: submitted→approved (approve) or approved→payment_requested (dispatch Woovi PIX). SUPER-ADMIN ONLY (IAM level >= 100). Never batches; returns before/after state. The approved→payment_requested step moves real money and requires confirm=true; it reuses the same Woovi edge function the dfl-payments UI uses.
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | Invoice ID (UUID) to advance. |
confirm | boolean | no | Required (true) for the money-moving approved→payment_requested transition. Ignored for submitted→approved. |
expected_status | string | no | Optional safety check: the status you believe the invoice is in. If it differs from the live status, the call is rejected (no write). |
Transactions
Section titled “Transactions”Find, record and correct money transactions.
list_transactions
List all transactions with optional filters.read
list_transactionsList Transactions
List all transactions with optional filters. Requires finance/admin/owner role.
| Parameter | Type | Required | Description |
|---|---|---|---|
limit | number | no | Maximum number of transactions to return (default: 50, max: 100) |
offset | number | no | Number of transactions to skip (for pagination) |
target_id | string | no | Filter by target member ID. |
project_id | string | no | Filter by project ID. |
status | enum | no | Filter by transaction status. One of: pending, processing, completed, failed, canceled. |
get_transaction
Get a specific transaction by ID.read
get_transactionGet Transaction
Get a specific transaction by ID. Requires finance/admin/owner role.
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | Transaction ID (UUID) |
create_transaction
Create a new transaction.write
create_transactionCreate Transaction
Create a new transaction. Requires finance/admin/owner role.
| Parameter | Type | Required | Description |
|---|---|---|---|
target_id | string | yes | Target member ID (UUID) |
total | number | yes | Transaction total amount. |
project_id | string | no | Associated project ID (UUID) |
status | enum | no | Transaction status (default: pending) One of: pending, processing, completed, failed, canceled. |
notes | string | no | Transaction notes. |
update_transaction
Update an existing transaction.write
update_transactionUpdate Transaction
Update an existing transaction. Requires finance/admin/owner role.
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | Transaction ID (UUID) |
target_id | string | no | Target member ID (UUID) |
total | number | no | Transaction total amount. |
project_id | string | no | Associated project ID (UUID), null to remove. |
status | enum | no | Transaction status. One of: pending, processing, completed, failed, canceled. |
notes | string | no | Transaction notes, null to remove. |
delete_transaction
Delete a transaction by ID.write
delete_transactionDelete Transaction
Delete a transaction by ID. Requires finance/admin/owner role.
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | Transaction ID (UUID) |
Session
Section titled “Session”See which actor, OAuth client and scope this connection uses on this host.
get_current_actor
Returns who this MCP session acts as on this host: actor {id, slug, display_name, type}, client {id, name} (the OAuth client; name is null when the provider does not show it), scope ("read" or "read+write"), and source.read
get_current_actorGet Current Actor
Returns who this MCP session acts as on this host: actor {id, slug, display_name, type}, client {id, name} (the OAuth client; name is null when the provider does not show it), scope ("read" or "read+write"), and source. source "oauth_grant": an OAuth session, the actor is the grant actor (null when the grant has no actor, which makes the session read-only). source "agent_login": a first-party dfl-auth login of an agent user; the actor is that user's own agent actor, client and scope are null. source "first_party_login": a first-party login with no own agent actor (a human user); all three are null. source "unresolved": this host could not resolve the actor. Read-only.
Takes no parameters.