Connector guide8-minute read28 MCP tools7 languages

How to Connect Rivile GAMA to Claude via MCP

Connect Rivile GAMA, the Lithuanian ERP and accounting system, to Claude or ChatGPT through the Rivile API v2: clients, products, stock balances and prices, purchase and sales documents, debts and payments, ledger balances and the chart of accounts, with T-SQL filters. Edits ship switched off.

HCBy HelpCode teamUpdated 8 min read Open-source on GitHub

No credit card · 7-day trial · Self-host alternative available

Rivile GAMA

Rivile GAMA

Connect Rivile GAMA, the Lithuanian ERP and accounting system, to Claude or ChatGPT through the Rivile API v2: clients, products, stock balances and prices, purchase and sales documents, debts and payments, ledger balances and the chart of accounts, with T-SQL filters. Edits ship switched off.

tools

28

Region

INTL

Category

ERP

Authentication

API Key

Required env vars

RIVILE_API_KEY
Install in one click on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Open source · AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Skip the install. Get this working in under 2 minutes.

Start a free trial on cloud.anythingmcp.com, add the Rivile GAMA in one click, then point your AI client (Claude, ChatGPT, Copilot or Cursor) at the generated MCP endpoint. No Docker, no git clone, zero engineering experience required.

Start free trial

AnythingMCP is listed in Claude's connector directory: add it to Claude in one click (opens in a new tab), then sign in and choose which MCP servers Claude may use.

Summary

Connect Rivile GAMA, the Lithuanian ERP and accounting system, to Claude or ChatGPT through the Rivile API v2: clients, products, stock balances and prices, purchase and sales documents, debts and payments, ledger balances and the chart of accounts, with T-SQL filters. Edits ship switched off.

Try asking

Example prompts for Rivile GAMA

Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.

Rivile GAMA · live via MCP
Share
Opus 4.7

Claude is AI and can make mistakes. Please double-check responses.

💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → Rivile GAMA, paste your credentials, mint an MCP API key and you're done. No Docker, no git clone, no local server.

Rivile GAMA + Claude

Connect Rivile GAMA, the Lithuanian ERP and accounting system, to Claude or ChatGPT through the Rivile API v2: clients, products, stock balances and prices, purchase and sales documents, debts and payments, ledger balances and the chart of accounts, with T-SQL filters. Edits ship switched off.

Prerequisites

See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:

RIVILE_API_KEY

Step 1 — Get credentials

Setting up the connector takes a few minutes once Rivile has enabled API v2 for you. You need Rivile GAMA version 119 or later, an API access agreement with Rivile, the Manorivile-Gateway running next to your GAMA database, and the API key Rivile issued with the service.

  1. Make sure the Manorivile-Gateway is installed on a computer or server that reaches your GAMA database. Your Rivile partner installs it. It must be running for any call to work.
  2. Paste the API key Rivile gave you into RIVILE_API_KEY, alone, without quotes or spaces. It has the form user name, dot, secret, for example XW3CDDX.Bfnjvrurjygzuj....
  3. Install the connector and run rivile_list_divisions: it lists your divisions (padaliniai), which shows that the key and the gateway both work.

The key works as a GAMA user: the part before the dot is the Rivile GAMA user the API acts as, so the AI sees what that user sees. Rivile also enables the methods per key in your API agreement: a method that is not enabled answers with the message "neturi leidimo vykdyti metodą".

Each call may be billed by Rivile: Rivile bills the API by the number of requests. So the AI prefers one well filtered call over many pages, and filters on the key of the last record it got instead of paging deep.

How Rivile names things: tables have a letter and two digits (N08 clients, N17 products and services, I06 purchase and sales documents with lines I07), and fields carry the table code plus a suffix: N08_KODAS_KS is the client code in table N08. Filters are T-SQL conditions without the word WHERE, such as n08_pav like '%ACME%' or a document date between two YYYY-MM-DD dates. Codes are upper case and decimals use a dot.

What it reads: client cards (customers and suppliers alike) with codes, VAT codes, address and payment terms; product and service cards; stock balances per product, division, object and series, including reserved quantities; prices per division; purchase and sales documents with their lines, also joined with division, client and product fields; internal operations such as transfers and write-offs; debts per document with due dates (the best source for an overdue list) and debt totals per client; debit and credit operations; bank and cash payments with the documents they settle; the receipts and payments register; ledger operations and account balances with turnover for a period; the chart of accounts, objects, purchase and sales codes, VAT classifiers (PVM klasifikatoriai), currencies, contracts and import and export batches. rivile_call_read_method reaches any other read method, for example price lists, units, fixed assets, CRM or employees.

Switched off at install: rivile_edit_client, rivile_edit_product, rivile_edit_document and rivile_create_document. Each call creates, updates or deletes one record in Rivile GAMA, and rivile_create_document posts a whole purchase or sales document with its lines to the books. An administrator turns on only what is needed, and even then the AI shows you the client, lines and totals and waits for your yes.

Limits: every list returns at most 100 records, and without a filter the first page of documents holds the newest. Rivile allows 10 requests a second per key; after a 429 the AI waits at least a second.

Common errors: 401 means the API key is wrong or expired. 502 means the Manorivile-Gateway is not running or cannot reach the database. 504 means the database answered too slowly: narrow the filter. 400 names the faulty field or filter with the database's message, or says the key may not run that method.

The connector has no write tools for payments, POS, gift cards or payroll, and no tool moves money.

Step 2 — Install the adapter

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

Step 3 — Add the connector in Claude

Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide shows YOUR_SERVER_ID.

Recommended path: works on claude.ai web without editing any config file.

  1. In Claude, open Customize → Connectors.
  2. Click +, then Add custom connector.
  3. Enter a name, e.g. Rivile GAMA, and the remote MCP server URL https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID, then click Add.
  4. Click Connect and sign in to AnythingMCP (OAuth) to allow access.

All tools below appear in your chat: start typing prompts.

Available tools

ToolWhat it does
rivile_list_clientsList clients (N08 client cards: customers and suppliers alike) with code, name, company and VAT codes, address, payment terms and type…
rivile_list_productsList product and service cards (N17) with code, name, type (N17_TIPAS 1 product, 2 service), group, units and VAT
rivile_list_stock_balancesList stock balances (I17): quantity, reserved quantity and value per product, unit, division (warehouse), object and series
rivile_list_product_pricesList product prices per division (I33): sales prices, price lists and validity dates
rivile_list_documentsList purchase and sales documents (I06 headers): invoices, receipts and returns with type (I06_OP_TIP), number, dates, client, amounts, VAT…
rivile_list_documents_extendedList purchase and sales documents with division, client and product fields joined in (GET_I06_LIST_EXT), for sales by division, client or…
rivile_list_document_debtsList what is still owed on purchase and sales documents not yet transferred (GET_I06_DEBT): client, document number, currency, debit and…
rivile_list_internal_operationsList internal operations (I09 headers with I10 lines): stock transfers between divisions, write-offs and other internal documents
rivile_list_debt_operationsList debit and credit operations (I31): offsets, debt transfers and other settlements between clients that are not invoices or payments
rivile_list_debts_detailedList detailed debts by document (I44): client, document number, document and due dates, debit and credit, currency and module (I44_MODUL…
rivile_list_debts_summaryList debt balances (T03): how much each client owes or is owed in total
rivile_list_payment_operationsList payment operations (I53): bank and cash payments and receipts with their lines and the documents they settle
rivile_list_receipts_payments_registerList the register of receipts and payments (I04): incoming and outgoing money per date, client and account
rivile_list_ledger_operationsList general ledger operations (I02 journal entries with their lines)
rivile_get_account_balancesGet general ledger account balances and turnover for a period (GET_I02_LIST_EXT), optionally summed by account, division, object or…
rivile_list_chart_of_accountsList the chart of accounts (N01): account codes, names and types
rivile_list_divisionsList divisions (N07, padaliniai): warehouses, shops and departments that hold stock and prices
rivile_list_objectsList objects (N06): cost centres or projects used to split documents and postings
rivile_list_purchase_sales_codesList purchase, sales and other codes (N25): service and cost codes used on document lines instead of products
rivile_list_vat_classifiersList VAT classifiers (N63, PVM klasifikatoriai) used on documents and for the i.SAF and VAT return
rivile_list_currenciesList currencies (N45) and their codes as used on documents and debts
rivile_list_contractsList contracts (N51) with client, dates, amounts and terms
rivile_list_import_export_operationsList import and export operations (B00): batches loaded into or exported from Rivile GAMA and their state
rivile_call_read_methodCall any other read method of the Rivile GAMA API by name (any GET_ method, or an MGAMA_GET_ method of the HR module), for data no…
rivile_edit_clientCreate, update or delete a client card (EDIT_N08)
rivile_edit_productCreate, update or delete a product or service card (EDIT_N17)
rivile_edit_documentUpdate or delete the header of a purchase or sales document (EDIT_I06), or create one without lines
rivile_create_documentCreate a purchase or sales document with its lines in one call (EDIT_I06_FULL): header I06 with lines I07

Example prompts

  • "Which clients have debts more than 30 days overdue, and how much does each of them owe?"
  • "How much of product 10045 do we have in each division, and how much of it is reserved?"
  • "Show me this month's sales documents for UAB Statybų centras with totals and VAT."
  • "Give me the ledger account balances and turnover for September, summed by account."
  • "Which payments did we receive last week, and which invoices did they settle?"

FAQ

Does it work with Claude Code as well as Claude Desktop? Yes, point both at https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID.

Next steps

Was this guide helpful?

Your Rivile GAMA agent is one click away.

Install the connector, paste the key, prompt Claude. Free for 7 days, no credit card.

Related guides

Connectors

How to Connect Rivile GAMA to ChatGPT via MCP

Connect Rivile GAMA, the Lithuanian ERP and accounting system, to Claude or ChatGPT through the Rivile API v2: clients, products, stock balances and prices, purchase and sales documents, debts and payments, ledger balances and the chart of accounts, with T-SQL filters. Edits ship switched off.

Connectors

How to Connect Rivile GAMA to Cursor via MCP

Connect Rivile GAMA, the Lithuanian ERP and accounting system, to Claude or ChatGPT through the Rivile API v2: clients, products, stock balances and prices, purchase and sales documents, debts and payments, ledger balances and the chart of accounts, with T-SQL filters. Edits ship switched off.

Connectors

How to Connect Rivile GAMA to Gemini via MCP

Connect Rivile GAMA, the Lithuanian ERP and accounting system, to Claude or ChatGPT through the Rivile API v2: clients, products, stock balances and prices, purchase and sales documents, debts and payments, ledger balances and the chart of accounts, with T-SQL filters. Edits ship switched off.

Connectors

How to Connect Rivile GAMA to Meta Muse via MCP

Connect Rivile GAMA, the Lithuanian ERP and accounting system, to Claude or ChatGPT through the Rivile API v2: clients, products, stock balances and prices, purchase and sales documents, debts and payments, ledger balances and the chart of accounts, with T-SQL filters. Edits ship switched off.

Connectors

Rivile GAMA to MCP: Stock, Documents, Debts and Ledger of Your ERP in any AI Agent

Connect Rivile GAMA, the Lithuanian ERP and accounting system, to Claude or ChatGPT through the Rivile API v2: clients, products, stock balances and prices, purchase and sales documents, debts and payments, ledger balances and the chart of accounts, with T-SQL filters. Edits ship switched off.

Connectors

How to Connect Avito to Claude via MCP

Let your AI work with your Avito business account: list your ads and change their prices, read views, contacts and calls statistics, check autoload uploads and their errors, the feed format and your wallet, and read Avito Messenger chats. Sending messages and changing autoload settings are optional and off by default.