Кратко
Управляй SAP Business One ERP из любого AI-агента: бизнес-партнёры, товары, заказы и счета продаж, а также финансы (счета поставщиков, платежи, проводки, план счетов, банковские выписки). Service Layer OData v4, аутентификация по сессионной cookie через /Login.
Пошаговая настройка
Подключи SAP Business One к Gemini за 2 минуты
Начни бесплатный пробный период в AnythingMCP Cloud, подключи SAP Business One в пошаговой настройке и добавь свой MCP URL в Gemini. Без кода и без собственного сервера.
Без банковской карты · 7 дней пробного периода · Есть вариант self-host
Попробуй спросить
Примеры промптов для SAP Business One
Кликни по промпту — он скопируется. Вставь в Claude, ChatGPT, Cursor, Gemini, Copilot или OpenClaw и запусти через этот коннектор.
Claude — это AI, он может ошибаться. Проверяйте ответы.
💡 Без установки? Используй cloud.anythingmcp.com напрямую. Войди, нажми Connectors → SAP Business One, вставь учётные данные, создай MCP API key — готово. Без Docker, без
git clone, без локального сервера.
SAP Business One + Gemini
Управляй SAP Business One ERP из любого AI-агента: бизнес-партнёры, товары, заказы и счета продаж, а также финансы (счета поставщиков, платежи, проводки, план счетов, банковские выписки). Service Layer OData v4, аутентификация по сессионной cookie через /Login.
Предварительные требования
Полные инструкции по настройке встроены в коннектор (видны в магазине при выборе коннектора). Требуемые переменные окружения:
SAP_B1_HOST, SAP_B1_PORT, SAP_B1_COMPANY_DB, SAP_B1_USERNAME, SAP_B1_PASSWORD
Шаг 1 — Получи учётные данные
Setup:
- Identify your Service Layer host (on HANA it usually runs on the database server; SQL Server installs and hosting partners run it on a separate host). Default HTTPS port is
50000. - Create or pick a B1 user that has API access for the company database you want to expose. A user without write authorizations is a safe start: every tool except
b1_create_orderonly reads. - Find the
CompanyDBname in Choose Company dialog of the B1 client (looks likeSBODEMOGB). - Set the five env vars below. The adapter logs in once per session (~25 min TTL) and re-uses the
B1SESSIONcookie.
…(continued in the in-app connector instructions)
Шаг 2 — Установи адаптер
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 — Добавь коннектор в Gemini
URL вашего сервера: в AnythingMCP откройте MCP Servers → сервер, на котором находится этот коннектор, и скопируйте его URL (
https://cloud.anythingmcp.com/mcp/…). Используйте его везде, где в этом руководстве указаноYOUR_SERVER_ID.
Gemini CLI читает MCP-серверы из ~/.gemini/settings.json (или %APPDATA%\gemini\settings.json в Windows). Добавь:
{
"mcpServers": {
"anythingmcp": {
"httpUrl": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
"headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
}
}
}
- Получи MCP API key в AnythingMCP → MCP Servers → твой сервер → API keys.
- Сохрани файл и перезапусти
gemini. - Запусти
/mcpв Gemini CLI —SAP Business Oneдолжен быть доступен. - Vertex AI Studio: передайте
https://cloud.anythingmcp.com/mcp/YOUR_SERVER_IDв массивtoolsзапроса с тем же заголовкомX-API-Key.
Доступные инструменты
| Tool | What it does |
|---|---|
b1_list_business_partners | List business partners (customers, suppliers, leads) |
b1_get_business_partner | Get one business partner by CardCode |
b1_list_items | List inventory items (articles) |
b1_get_item | Get one item by ItemCode |
b1_list_orders | List sales orders |
b1_get_order | Get one sales order by DocEntry (integer primary key) |
b1_create_order | Create a new sales order |
b1_list_invoices | List A/R invoices |
b1_get_invoice | Get one A/R invoice by DocEntry |
b1_list_quotations | List sales quotations |
b1_list_delivery_notes | List delivery notes (outgoing goods movements) |
b1_get_company_info | Sanity check: returns company metadata (admin info) |
b1_list_credit_notes | List A/R credit memos (credit notes issued to customers) with their totals and status |
b1_list_purchase_invoices | List A/P invoices (supplier invoices) |
b1_get_purchase_invoice | Read one A/P invoice in full, with its lines, taxes and withholding tax |
b1_list_purchase_credit_notes | List A/P credit memos (credit notes received from suppliers) |
b1_list_vendor_payments | List outgoing payments to suppliers, with the invoices each one settles (PaymentInvoices) |
b1_list_incoming_payments | List incoming payments from customers, with the invoices each one settles (PaymentInvoices) |
b1_list_journal_entries | List journal entries with their lines (JournalEntryLines: account, debit, credit) |
b1_get_journal_entry | Read one journal entry by JdtNum (TransId) with all its lines: account, debit and credit |
b1_list_chart_of_accounts | List G/L accounts of the chart of accounts with their code, name, type and balance |
b1_list_bank_statements | List imported bank statements with their account, date and balances |
b1_list_external_reconciliations | List external (bank) reconciliations of G/L or business partner accounts in a date or number range |
b1_get_external_reconciliation | Read one external (bank) reconciliation: amount, date, type and the journal entry and bank statement lines it matched |
FAQ
Поддерживают ли Gemini 1.5 Pro или 2.x MCP? Да — Gemini CLI ≥ 0.4 и Vertex AI tools API принимают MCP-коннекторы httpUrl с собственными заголовками.
Следующие шаги
- Страница коннектора
- Подключить к Claude
- Подключить к ChatGPT
- Подключить к Cursor
- Подключить к Meta Muse
- Подключить к Microsoft Copilot
Это руководство помогло?