连接器指南阅读约 5 分钟28 个 MCP 工具7 种语言

如何通过 MCP 将 Rivile GAMA 连接到 ChatGPT

通过 Rivile API v2 将立陶宛 ERP 与会计系统 Rivile GAMA 连接到 Claude 或 ChatGPT:往来单位、商品、库存余额和价格、采购与销售单据、欠款和付款、科目余额和科目表,支持 T-SQL 筛选。编辑功能在安装时关闭。

HC作者:HelpCode 团队更新于 5 分钟阅读 在 GitHub 开源

无需信用卡 · 7 天试用 · 提供自托管方案

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.

个工具

28

区域

INTL

类别

ERP

身份验证

API Key

所需环境变量

RIVILE_API_KEY
在 Cloud 上一键安装

7 天免费试用 · 无需信用卡

  • 7 天免费试用
    无需信用卡
  • 符合 GDPR,SOC 2 就绪
    数据驻留欧盟,审计日志
  • 在 GitHub 开源
    开源 · AGPL-3.0
  • 支持 ChatGPT、Claude、Gemini
    任何兼容 MCP 的客户端

跳过安装。2 分钟内即可运行。

在 cloud.anythingmcp.com 开始免费试用,一键添加 Rivile GAMA,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。

开始免费试用

摘要

通过 Rivile API v2 将立陶宛 ERP 与会计系统 Rivile GAMA 连接到 Claude 或 ChatGPT:往来单位、商品、库存余额和价格、采购与销售单据、欠款和付款、科目余额和科目表,支持 T-SQL 筛选。编辑功能在安装时关闭。

试试这样问

Rivile GAMA 的示例提示

点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。

Rivile GAMA · 通过 MCP 实时
分享
Opus 4.7

Claude 是 AI,可能会出错。请核对回答。

💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Rivile GAMA、粘贴凭证、生成 MCP API key,即可完成。无 Docker、无 git clone、无本地服务器。

Rivile GAMA + ChatGPT

通过 Rivile API v2 将立陶宛 ERP 与会计系统 Rivile GAMA 连接到 Claude 或 ChatGPT:往来单位、商品、库存余额和价格、采购与销售单据、欠款和付款、科目余额和科目表,支持 T-SQL 筛选。编辑功能在安装时关闭。

前提条件

完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:

RIVILE_API_KEY

步骤 1 — 获取凭证

在 Rivile 为你开通 API v2 之后,设置连接器只需几分钟。你需要 Rivile GAMA 119 或更高版本、与 Rivile 签订的 API 访问协议、在 GAMA 数据库旁运行的 Manorivile-Gateway,以及 Rivile 随服务发放的 API 密钥。

  1. 确认 Manorivile-Gateway 已安装在能访问你的 GAMA 数据库的电脑或服务器上。它由你的 Rivile 合作伙伴安装,必须保持运行,否则所有调用都会失败。
  2. 把 Rivile 给你的 API 密钥原样粘贴到 RIVILE_API_KEY,不要加引号或空格。格式是用户名、点、密钥,例如 XW3CDDX.Bfnjvrurjygzuj...。
  3. 安装连接器并运行 rivile_list_divisions:它会列出你的部门(padaliniai),说明密钥和网关都能正常工作。

密钥以 GAMA 用户的身份工作:点前面的部分就是 API 所代表的 Rivile GAMA 用户,所以 AI 能看到的就是该用户能看到的。此外,Rivile 会在 API 协议中按密钥开通方法:未开通的方法会返回 "neturi leidimo vykdyti metodą" 的提示。

每次调用都可能被 Rivile 计费:Rivile 按请求次数对 API 计费。因此 AI 更倾向于一次精确筛选的调用,而不是翻很多页;需要更多数据时,它按最后一条记录的键继续筛选,而不是一直往后翻页。

Rivile 的命名方式:表名由一个字母加两位数字组成(N08 往来单位,N17 商品和服务,I06 采购与销售单据,明细为 I07),字段名是表代码加后缀:N08_KODAS_KS 就是 N08 表中的往来单位代码。筛选条件是不带 WHERE 的 T-SQL 条件,例如 n08_pav like '%ACME%',或单据日期介于两个 YYYY-MM-DD 日期之间。代码使用大写,小数用点号。

可读取的内容:往来单位卡片(客户和供应商都在其中),含代码、增值税号、地址和付款条件;商品和服务卡片;按商品、部门、对象和批次统计的库存余额,包括已预留数量;各部门的价格;带明细的采购与销售单据,也可关联部门、往来单位和商品字段;调拨、报废等内部业务;按单据列出的欠款及到期日(最适合做逾期清单)以及每个往来单位的欠款合计;借贷业务;银行和现金收付款及其核销的单据;收付款登记簿;总账分录以及某期间的科目余额和发生额;科目表、对象、采购与销售代码、增值税分类(PVM klasifikatoriai)、币种、合同以及导入导出批次。rivile_call_read_method 可调用任何其他读取方法,例如价目表、计量单位、固定资产、CRM 或员工。

安装时关闭:rivile_edit_client、rivile_edit_product、rivile_edit_document 和 rivile_create_document。每次调用在 Rivile GAMA 中新建、修改或删除一条记录,rivile_create_document 则会把一整张带明细的采购或销售单据记入账簿。管理者只开启需要的工具,即便开启后,AI 也会先给你看往来单位、明细和合计,等你确认。

限制:每个列表最多返回 100 条记录,不加筛选时单据的第一页是最新的单据。Rivile 允许每个密钥每秒 10 次请求;遇到 429 时,AI 至少等待一秒。

常见错误:401 表示 API 密钥错误或已过期。502 表示 Manorivile-Gateway 没有运行或无法连接数据库。504 表示数据库响应太慢:请缩小筛选范围。400 会连同数据库的提示指出出错的字段或筛选条件,或者说明该密钥无权执行这个方法。

该连接器没有付款、POS、礼品卡或工资的写入工具,也没有任何工具会动用资金。

步骤 2 — 安装 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

步骤 3 — 在 ChatGPT 中添加连接器

你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(https://cloud.anythingmcp.com/mcp/…)。本指南中出现 YOUR_SERVER_ID 的地方都用它替换。

ChatGPT 在网页版的 Plugins 页面把 MCP 服务器添加为插件,仅付费套餐可用,不再需要开发者模式。在 Business 工作区中只有管理员和所有者可以添加;在 Enterprise 和 Edu 中,管理员可以授予 Create plugins with MCPs 权限。

  1. 前往 chatgpt.com/plugins,点击 +,然后选择 Add custom MCP server。
  2. 填写名称,例如 Name: Rivile GAMA。
  3. 在 Connection 下的 Server URL 中填入 https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID,Authentication 保持为 OAuth。
  4. 选择 I understand and want to continue,然后点击 Create as a plugin。ChatGPT 提示时,登录 AnythingMCP 并允许访问。
  5. 在个人插件中安装这个新插件,然后在对话中输入 @ 并选择它。

可用工具

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

示例提示

  • “哪些往来单位的欠款已逾期超过 30 天?每家各欠多少?”
  • “商品 10045 在每个部门各有多少库存?其中多少已被预留?”
  • “给我看本月 UAB Statybų centras 的销售单据,包括合计和增值税。”
  • “给我 9 月各总账科目的余额和发生额,按科目汇总。”
  • “上周收到了哪些付款?它们各核销了哪些发票?”

FAQ

ChatGPT 免费套餐能用自定义 MCP 服务器吗? OpenAI 只为付费套餐提供自定义 MCP 服务器的说明,Free 套餐不在其列。

下一步

这份指南对你有帮助吗?

你的 Rivile GAMA 智能体只差一次点击。

安装连接器,粘贴密钥,向 ChatGPT 提问。免费试用 7 天,无需信用卡。

相关指南

连接器

如何通过 MCP 将 Rivile GAMA 连接到 Claude

通过 Rivile API v2 将立陶宛 ERP 与会计系统 Rivile GAMA 连接到 Claude 或 ChatGPT:往来单位、商品、库存余额和价格、采购与销售单据、欠款和付款、科目余额和科目表,支持 T-SQL 筛选。编辑功能在安装时关闭。

连接器

如何通过 MCP 将 Rivile GAMA 连接到 Cursor

通过 Rivile API v2 将立陶宛 ERP 与会计系统 Rivile GAMA 连接到 Claude 或 ChatGPT:往来单位、商品、库存余额和价格、采购与销售单据、欠款和付款、科目余额和科目表,支持 T-SQL 筛选。编辑功能在安装时关闭。

连接器

如何通过 MCP 将 Rivile GAMA 连接到 Gemini

通过 Rivile API v2 将立陶宛 ERP 与会计系统 Rivile GAMA 连接到 Claude 或 ChatGPT:往来单位、商品、库存余额和价格、采购与销售单据、欠款和付款、科目余额和科目表,支持 T-SQL 筛选。编辑功能在安装时关闭。

连接器

如何通过 MCP 将 Rivile GAMA 连接到 Meta Muse

通过 Rivile API v2 将立陶宛 ERP 与会计系统 Rivile GAMA 连接到 Claude 或 ChatGPT:往来单位、商品、库存余额和价格、采购与销售单据、欠款和付款、科目余额和科目表,支持 T-SQL 筛选。编辑功能在安装时关闭。

连接器

Rivile GAMA 接入 MCP:在任意 AI 智能体中查看 ERP 的库存、单据、欠款和总账

通过 Rivile API v2 将立陶宛 ERP 与会计系统 Rivile GAMA 连接到 Claude 或 ChatGPT:往来单位、商品、库存余额和价格、采购与销售单据、欠款和付款、科目余额和科目表,支持 T-SQL 筛选。编辑功能在安装时关闭。

连接器

如何通过 MCP 将 Avito 连接到 ChatGPT

让你的 AI 使用你的 Avito 企业账户:列出广告并修改价格,读取浏览、联系和来电统计,检查自动上传 (autoload) 的上传记录及其错误、Feed 格式和钱包,并读取 Avito Messenger 聊天。发送消息和修改自动上传设置为可选功能,默认关闭。