Viva.com MCP by usefulapi
Get transactions, search wallet activity, list merchant wallets, create payment orders in Viva.com.
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (3)
- HIGH
- MEDIUMin viva_search_account_transactions
- LOWin viva_search_account_transactions
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"viva-com": {
"url": "https://viva-com.usefulapi.io/mcp"
}
}
}Remote-Endpunkte
https://viva-com.usefulapi.io/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (4)
🟢viva_get_transaction(transaction_id)
Get one card or wallet transaction by its id: amount, status (F finished, C captured, R refunded, X cancelled, E error), order code, card scheme and customer e-mail. Viva API: GET /checkout/v2/transactions/{transactionId}.
Eingabe-Schema
{
"type": "object",
"properties": {
"transaction_id": {
"type": "string",
"minLength": 1,
"description": "The Viva transaction id (GUID), from a payment or from viva_search_account_transactions."
}
},
"required": [
"transaction_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢viva_search_account_transactions(date_from, date_to, wallet_id, subtype_ids, amount_from, ...)
Search account (wallet) transactions between two dates, optionally for one wallet, transaction subtypes or an amount range. Dates use the Viva format, for example "2026-11-01 00:00:00 +00:00". Viva API: POST /dataservices/v2/accounttransactions/Search.
Eingabe-Schema
{
"type": "object",
"properties": {
"date_from": {
"type": "string",
"minLength": 8,
"description": "Start of the search, for example \"2026-11-01 00:00:00 +00:00\"."
},
"date_to": {
"type": "string",
"minLength": 8,
"description": "End of the search, for example \"2026-11-30 23:59:59 +00:00\"."
},
"wallet_id": {
"description": "Only this wallet id (from viva_list_merchant_wallets).",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"subtype_ids": {
"description": "Only these transaction subtype ids.",
"type": "array",
"items": {
"type": "string"
}
},
"amount_from": {
"description": "Minimum amount.",
"type": "number"
},
"amount_to": {
"description": "Maximum amount.",
"type": "number"
},
"page_size": {
"description": "Results per page (maximum 500).",
"type": "integer",
"minimum": 1,
"maximum": 500
},
"page": {
"description": "Page number, starting at 1. Increase it until the reply is empty.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"order_by": {
"description": "Sort order of the results.",
"type": "string",
"enum": [
"Asc",
"Desc"
]
}
},
"required": [
"date_from",
"date_to"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢viva_list_merchant_wallets
List the merchant wallets on this account with their ids, currency and balance. Use the wallet id in viva_search_account_transactions. Viva API: GET /merchants/v1/wallets.
Eingabe-Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴viva_create_payment_order(amount, customer_email, customer_trns, merchant_trns, source_code, ...)
Create a payment order for a customer and return its orderCode. This creates a payable order; no money moves until the customer pays it on Viva's checkout. Amount is in the currency's smallest unit (1037 = 10.37 EUR), at least 30. Viva API: POST /checkout/v2/orders.
Eingabe-Schema
{
"type": "object",
"properties": {
"amount": {
"type": "integer",
"minimum": 30,
"maximum": 9007199254740991,
"description": "Amount in the currency's smallest unit (cents), at least 30. 1037 means 10.37."
},
"customer_email": {
"description": "Customer e-mail address shown on the payment form.",
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
},
"customer_trns": {
"description": "Short description of the purchase, shown to the customer.",
"type": "string",
"maxLength": 2048
},
"merchant_trns": {
"description": "Your own reference (for example the order number), shown in the Viva app.",
"type": "string",
"maxLength": 2048
},
"source_code": {
"description": "Payment source code (case-sensitive). Default is the 'Default' source.",
"type": "string"
},
"currency_code": {
"description": "ISO 4217 numeric currency code, for example 978 for EUR.",
"type": "string",
"pattern": "^\\d{3}$"
},
"payment_timeout": {
"description": "Seconds the customer has to pay (default 1800; 65535 never expires).",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"amount"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Community
Nachweis