Modern Treasury MCP by usefulapi for LangChain
io.usefulapi/modern-treasury
MCP server for Modern Treasury — payment orders, transactions, counterparties and ledgers.
client:LangChain
transport:streamable-http
tools:17
Install Modern Treasury MCP by usefulapi in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"modern-treasury": {
"transport": "streamable_http",
"url": "https://modern-treasury.usefulapi.io/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs
What LangChain can do once it is connected
- modern_treasury_ping
- modern_treasury_list_counterparties
- modern_treasury_get_counterparty
- modern_treasury_list_internal_accounts
- modern_treasury_list_external_accounts
- modern_treasury_list_payment_orders
- modern_treasury_get_payment_order
- modern_treasury_list_expected_payments
- modern_treasury_list_transactions
- modern_treasury_get_transaction
- modern_treasury_list_returns
- modern_treasury_list_ledgers
- modern_treasury_list_ledger_accounts
- modern_treasury_get_ledger_account
- modern_treasury_list_ledger_transactions
- modern_treasury_list_ledger_entries
- modern_treasury_create_counterparty