Руководство по коннектору14 мин чтенияMCP-инструментов: 587 языков

Как подключить Lightspeed Retail (X-Series) к Microsoft Copilot через MCP

Lightspeed Retail X-Series (ранее Vend) для одного магазина: торговые точки, кассы и итоги смены, поиск продаж по дате, товары и семейства товаров, категории, бренды, поставщики, прайс-листы и акции, остатки, корректировки, consignments и заказы поставщикам, клиенты, бонусный баланс магазина и подарочные карты. Возвраты и удаление при установке отключены.

HCАвтор: команда HelpCodeОбновлено 14 мин чтения Открытый код на GitHub

Без банковской карты · 7 дней пробного периода · Есть вариант self-host

Lightspeed Retail (X-Series)

Lightspeed Retail (X-Series)

Lightspeed Retail X-Series (formerly Vend) point of sale: outlets, registers, sales search by date, products and product families, categories, brands, suppliers, price books and promotions, stock levels, adjustments, consignments and purchase orders, customers, store credit and gift cards.

инструментов

58

Регион

INTL

Категория

Электронная коммерция

Аутентификация

Bearer Token

Требуемые env-vars

LIGHTSPEED_DOMAIN_PREFIXLIGHTSPEED_PERSONAL_TOKEN
Установить в Cloud одним кликом

7 дней бесплатно · Без карты

  • 7 дней бесплатно
    Без банковской карты
  • GDPR и готовность к SOC 2
    Данные в ЕС, журналы аудита
  • Открытый код на GitHub
    Open source · AGPL-3.0
  • Работает с ChatGPT, Claude, Gemini
    Любой MCP-совместимый клиент

Пропустите установку. Заработает меньше чем за 2 минуты.

Начните бесплатный период на cloud.anythingmcp.com, добавьте Lightspeed Retail (X-Series) одним кликом и направьте свой ИИ-клиент (Claude, ChatGPT, Copilot или Cursor) на сгенерированный MCP-эндпоинт. Без Docker, без git clone, без опыта разработки.

Начать бесплатный период

Кратко

Lightspeed Retail X-Series (ранее Vend) для одного магазина: торговые точки, кассы и итоги смены, поиск продаж по дате, товары и семейства товаров, категории, бренды, поставщики, прайс-листы и акции, остатки, корректировки, consignments и заказы поставщикам, клиенты, бонусный баланс магазина и подарочные карты. Возвраты и удаление при установке отключены.

Попробуй спросить

Примеры промптов для Lightspeed Retail (X-Series)

Кликни по промпту — он скопируется. Вставь в Claude, ChatGPT, Cursor, Gemini, Copilot или OpenClaw и запусти через этот коннектор.

Lightspeed Retail (X-Series) · live via MCP
Поделиться
Opus 4.7

Claude — это AI, он может ошибаться. Проверяйте ответы.

💡 Без установки? Используйте cloud.anythingmcp.com напрямую. Войдите, нажмите Connectors → Lightspeed Retail (X-Series), вставьте учётные данные, создайте MCP API key, и готово. Без Docker, без git clone, без локального сервера.

Lightspeed Retail (X-Series) + Microsoft Copilot

Lightspeed Retail X-Series (ранее Vend) для одного магазина: торговые точки, кассы и итоги смены, поиск продаж по дате, товары и семейства товаров, категории, бренды, поставщики, прайс-листы и акции, остатки, корректировки, consignments и заказы поставщикам, клиенты, бонусный баланс магазина и подарочные карты. Возвраты и удаление при установке отключены.

Предварительные требования

Полные инструкции по настройке встроены в коннектор (видны в магазине при выборе коннектора). Требуемые переменные окружения:

LIGHTSPEED_DOMAIN_PREFIX, LIGHTSPEED_PERSONAL_TOKEN

Шаг 1 — Получите учётные данные

Только X-Series: этот коннектор использует Lightspeed Retail (X-Series) API, ранее Vend, версии 2026-10, одного магазина по адресу https://<domain_prefix>.retail.lightspeed.app/api/2026-10. Lightspeed Retail R-Series и Lightspeed Restaurant он не охватывает: у них другие API.

Настройка занимает около 2 минут. Для personal tokens нужен тариф Plus или выше и пользователь-администратор.

  1. Как администратор откройте бэк-офис Retail POS, Setup, Personal tokens, и нажмите Add personal token. Дайте ему имя (и при желании срок действия), сгенерируйте и скопируйте токен.
  2. Вставьте его в LIGHTSPEED_PERSONAL_TOKEN. Он передаётся как Authorization: Bearer <token> и действует от имени создавшего его пользователя.
  3. Укажите в LIGHTSPEED_DOMAIN_PREFIX первую часть адреса магазина: для https://mystore.retail.lightspeed.app это mystore.
  4. Установите коннектор и запустите lightspeed_retail_get_retailer: он покажет название, валюту и часовой пояс магазина и подтвердит токен.

Настройки магазина: lightspeed_retail_get_retailer, lightspeed_retail_get_current_user, торговые точки (outlets) через lightspeed_retail_list_outlets и lightspeed_retail_get_outlet, кассы через lightspeed_retail_list_registers и lightspeed_retail_get_register, lightspeed_retail_get_register_payments_summary (ожидаемые суммы по способам оплаты и движение наличных открытой смены, как при закрытии кассы), способы оплаты, налоги, пользователи (персонал) и смены.

Продажи: для периода, торговой точки, кассы, клиента или номера чека ИИ использует lightspeed_retail_search с type: sales и date_from/date_to; простой список игнорирует даты. lightspeed_retail_list_sales проходит по всем продажам по версии (для синхронизации), а lightspeed_retail_get_sale читает одну продажу с позициями, платежами, клиентом, пользователем и кассой.

Каталог: lightspeed_retail_list_products (или sku для одного товара), lightspeed_retail_get_product, lightspeed_retail_get_product_family и lightspeed_retail_get_product_family_of_product. С версии 2026-10 семейство товаров хранит общие данные (название, бренд, категория, теги), а каждый товар данные своего варианта (коды, цены, поставщики). Справочники: категории, устаревшие типы товаров, бренды, теги, поставщики, прайс-листы (price books) и акции.

Остатки: lightspeed_retail_list_inventory_levels даёт количество, среднюю себестоимость, точку и объём дозаказа по товару и торговой точке, с фильтрами, сортировкой и to_be_procured_only для списков дозаказа; lightspeed_retail_get_product_inventory_levels показывает один товар во всех точках; lightspeed_retail_list_inventory_records и lightspeed_retail_list_stock_adjustments выводят исходные записи и корректировки. Заказы поставщикам, перемещения между точками, возвраты поставщикам и инвентаризации это consignments: lightspeed_retail_list_consignments, lightspeed_retail_get_consignment и lightspeed_retail_list_consignment_products (заказанное и полученное количество). Заказы на закупку читаются через lightspeed_retail_list_purchase_orders и lightspeed_retail_get_purchase_order.

Клиенты: ИИ находит клиента через lightspeed_retail_search (type: customers, по email, имени, коду или телефону), затем читает lightspeed_retail_get_customer (бонусы лояльности, баланс магазина и баланс в кредит, траты с начала года). Также lightspeed_retail_list_customers, lightspeed_retail_list_customer_groups, lightspeed_retail_get_customer_store_credit и подарочные карты через lightspeed_retail_list_gift_cards и lightspeed_retail_get_gift_card.

Что он записывает: lightspeed_retail_create_sale записывает продажу (state closed завершает её, parked или pending сохраняет на потом); lightspeed_retail_update_sale меняет или завершает отложенную или незавершённую продажу и заменяет её целиком, поэтому ИИ сначала её читает. Товары: lightspeed_retail_create_product_family, lightspeed_retail_add_products_to_family (новые варианты), lightspeed_retail_update_product_family для общих данных и lightspeed_retail_update_product для цен, кодов, поставщиков, налогов по точкам и настроек учёта остатков. Кроме того, lightspeed_retail_create_supplier, lightspeed_retail_create_stock_adjustments (quantity это изменение, отрицательное для списания, с причиной вроде повреждения, кражи или найденного товара), lightspeed_retail_create_consignment (создаётся в статусе OPEN; товары добавляются в Lightspeed или позже), lightspeed_retail_create_customer и lightspeed_retail_update_customer (first_name и last_name обязательны). Продажи и корректировки сразу меняют остатки и отчёты, поэтому ИИ показывает позиции и итоги и ждёт вашего «да».

Отключены при установке: lightspeed_retail_return_sale, lightspeed_retail_delete_product и lightspeed_retail_delete_customer. Их нельзя отменить, поэтому администратор workspace включает их, когда они нужны команде.

Форматы данных: ответы оборачивают записи в data. Id это UUID. Деньги это десятичное число в валюте магазина. У продажи есть totals (price без налога, tax, price_incl_tax); в каждой позиции pricing.price это цена за единицу без налога, pricing.total итог позиции после скидки, pricing.cost_total себестоимость, tax.amount и tax.total налог за единицу и за позицию. Налоговые ставки это доли (0.2 = 20 %). Время в UTC (ISO 8601): date_from/date_to принимают UTC, time_from/time_to местное время вместе с timezone. state продажи: closed, parked, pending (в кредит или с предоплатой) или voided.

Постраничный вывод: большинство списков листаются по версии: в ответе есть version с min и max, ИИ передаёт max как after для следующей страницы и останавливается, когда data пуст. lightspeed_retail_search и lightspeed_retail_list_inventory_levels листаются через offset, подарочные карты через before.

Лимиты и частые ошибки: около 300 запросов за 5 минут на кассу плюс 50; сверх этого Lightspeed отвечает 429 с Retry-After. 401 означает неверный или просроченный токен либо неверный префикс домена. 403 означает, что пользователю токена это не разрешено, ведь personal tokens действуют от имени своего пользователя: создайте токен под администратором. 404 на всех вызовах значит, что LIGHTSPEED_DOMAIN_PREFIX неверен (только часть перед .retail.lightspeed.app); на отдельной записи это неверный id. 422 это ошибка валидации с указанием поля.

С инструментами, включёнными при установке, коннектор не оформляет возвраты и ничего не удаляет. Заказы на закупку, прайс-листы, акции, баланс магазина и подарочные карты он только читает; новый заказ поставщику создаётся как consignment.

Шаг 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 — Добавьте коннектор в Microsoft Copilot

URL вашего сервера: в AnythingMCP откройте MCP Servers → сервер, на котором находится этот коннектор, и скопируйте его URL (https://cloud.anythingmcp.com/mcp/…). Используйте его везде, где в этом руководстве указано YOUR_SERVER_ID.

Microsoft Copilot использует MCP-серверы через агентов, созданных в Copilot Studio: ты добавляешь AnythingMCP в агента как инструмент, а затем публикуешь агента в Microsoft 365 Copilot и Teams. Copilot Studio подключается из облака Microsoft по Streamable HTTP, который AnythingMCP поддерживает.

  1. В Copilot Studio открой своего агента (или создай нового), перейди в Tools и выбери Add a tool → New tool → Model Context Protocol.
  2. Укажи Server name (например, AnythingMCP), Server description, которое объясняет, что делает коннектор, и Server URL https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID. По описанию Copilot Studio решает, когда вызывать сервер.
  3. В аутентификации выбери API key, установи Type в Header, укажи имя заголовка X-API-Key и нажми Create.
  4. В окне Add tool выбери Create a new connection, вставь MCP API-ключ из AnythingMCP (MCP Servers → твой сервер → API keys) и нажми Add to agent.
  5. Проверь в панели Test агента: попроси о том, для чего нужны инструменты Lightspeed Retail (X-Series).
  6. Нажми Publish, затем Channels → Microsoft 365 and Microsoft Teams, оставь включённым Make agent available in Microsoft Copilot и нажми Add channel. See agent in Teams установит агента для тебя; в Microsoft 365 Copilot введи @ и выбери агента.

Хочешь, чтобы каждый входил под своей учётной записью? Вместо API-ключа выбери OAuth 2.0 → Dynamic discovery: каждый пользователь войдёт в AnythingMCP при первом вызове агентом.

Размещаешь сам? Используй публичный HTTPS-адрес своего экземпляра вместо https://cloud.anythingmcp.com. Copilot Studio подключается из облака Microsoft, поэтому localhost не подойдёт.

Доступные инструменты

ToolWhat it does
lightspeed_retail_get_retailerGet the retailer (store account): name, domain prefix, currency, time zone, tax settings and loyalty settings
lightspeed_retail_get_current_userGet the user the personal token belongs to: name, email, account type (admin, manager, cashier) and the outlets they can use
lightspeed_retail_list_outletsList the outlets (store locations) with name, address, time zone, default tax and receipt settings
lightspeed_retail_get_outletGet one outlet (store location) by id with its address, time zone, default tax and settings
lightspeed_retail_list_registersList registers (tills) with outlet, name, open or closed state, current register opening and invoice numbering
lightspeed_retail_get_registerGet one register (till) by id with outlet, whether it is open and the current register opening (shift)
lightspeed_retail_get_register_payments_summaryGet the payments summary of the current opening of one register: expected amounts per payment type, cash movements and totals, as used to…
lightspeed_retail_list_payment_typesList payment types (cash, card, gift card, store credit, on account, custom) with their id and config
lightspeed_retail_list_taxesList sales taxes with name, rate (a fraction, 0.2 = 20%) and components
lightspeed_retail_get_taxGet one sales tax by id with its name, rate as a fraction (0.2 = 20%) and tax components
lightspeed_retail_list_usersList users (staff) with name, email, account type and outlets
lightspeed_retail_get_userGet one user (staff member) by id with name, display name, email, account type and outlets
lightspeed_retail_list_shiftsList staff shifts (clock in and clock out) with user, outlet, start and end time
lightspeed_retail_list_productsList products (each sellable item or variant) with name, SKU and codes, prices, family, supplier codes and active state
lightspeed_retail_get_productGet one product by id: variant name, codes, prices including and excluding tax, family, measurements, suppliers, outlet taxes and inventory
lightspeed_retail_get_product_familyGet a product family by id: name, description, classification (STANDARD, VARIANT, COMPOSITE), brand, category, tags and all member products
lightspeed_retail_get_product_family_of_productGet the product family a product belongs to, with all its sibling variants or composite components
lightspeed_retail_create_product_familyCreate a product family with its products: a STANDARD product, a VARIANT family (variant attributes, one product per variant) or a COMPOSITE
lightspeed_retail_update_product_familyUpdate the shared data of a product family: name, description, brand, category, tags, inventory tracking or composite components
lightspeed_retail_add_products_to_familyAdd products (new variants) to an existing product family, each with its codes, variant attribute values and prices
lightspeed_retail_update_productUpdate one product: prices, codes, supplier codes and prices, outlet taxes, inventory settings, measurements or whether it is active in…
lightspeed_retail_delete_productDelete one product
lightspeed_retail_list_product_categoriesList the product category tree (id, name, parent and path)
lightspeed_retail_list_product_typesList the legacy product types with id and name
lightspeed_retail_list_brandsList the product brands of the store with id and name, paged by version
lightspeed_retail_list_tagsList the product tags of the store with id and name, paged by version
lightspeed_retail_list_suppliersList suppliers with name, description, default markup and contact details
lightspeed_retail_get_supplierGet one supplier by id with contact person, email, phone, addresses, description and default markup
lightspeed_retail_create_supplierCreate a supplier with a name, description, default markup and contact details (company, person, email, phone, address)
lightspeed_retail_list_price_booksList price books (special prices per customer group, outlet and validity dates) with their settings
lightspeed_retail_list_promotionsList promotions (discounts, buy X get Y, promo codes) with conditions, outlets, customer groups and validity dates
lightspeed_retail_get_promotionGet one promotion by id with its conditions, actions, outlets, customer groups, channels and validity dates
lightspeed_retail_list_inventory_levelsList stock levels per product and outlet with counts, average cost, reorder point and amount
lightspeed_retail_get_product_inventory_levelsGet the stock of one product in every outlet: current count, average cost, reorder point and reorder amount
lightspeed_retail_list_inventory_recordsList raw inventory records (product, outlet, count, reorder settings) by version, for one product or the whole store
lightspeed_retail_list_stock_adjustmentsList stock adjustments (damage, theft, stock found, internal use and custom reasons) with product, outlet, quantity and reason
lightspeed_retail_create_stock_adjustmentsAdjust stock up or down with a reason (damage, expiry, theft, internal use, donation, stock found, sample). quantity is the change…
lightspeed_retail_list_consignmentsList consignments: supplier orders, outlet transfers, returns and stocktakes, with status, outlet, supplier and dates
lightspeed_retail_get_consignmentGet one consignment by id: type, status, outlet, source outlet or supplier, reference, due and received dates and cost and count totals
lightspeed_retail_list_consignment_productsList the products of a consignment with ordered and received counts and cost, for checking a delivery or stocktake
lightspeed_retail_create_consignmentCreate a consignment: a supplier order, an outlet transfer, a supplier return or a stocktake, in OPEN status
lightspeed_retail_list_purchase_ordersList purchase orders to suppliers with number, supplier, outlet, status, ordered and received totals
lightspeed_retail_get_purchase_orderGet one purchase order by id with supplier, outlet, status, dates, totals and delivery information
lightspeed_retail_list_salesList sales by version (oldest changes first) with line items, payments, totals, customer, user, register and status
lightspeed_retail_get_saleGet one sale by id: invoice number, status, date, line items with price, discount, tax and cost, payments, customer, user and register
lightspeed_retail_searchSearch sales, products or customers
lightspeed_retail_create_saleRecord a sale: line items with product, quantity, price and tax, payments and customer. state closed completes it, parked or pending saves…
lightspeed_retail_update_saleUpdate a parked or pending sale (lines, payments, customer, note) or complete it by setting state to closed
lightspeed_retail_return_saleStart a return (refund) of a closed sale: Lightspeed creates a return sale linked to the original on the register
lightspeed_retail_list_customersList customers by version with name, code, contact details, group, loyalty balance and on-account balance
lightspeed_retail_get_customerGet one customer by id: name, code, email, phone, addresses, group, loyalty balance, store credit and on-account balance and year to date…
lightspeed_retail_create_customerCreate a customer with name, contact details, address, customer group, loyalty enrolment and marketing consent
lightspeed_retail_update_customerUpdate a customer: contact details, address, group, note, loyalty or marketing consent. first_name and last_name are required by the API
lightspeed_retail_delete_customerDelete a customer
lightspeed_retail_list_customer_groupsList customer groups (e.g
lightspeed_retail_get_customer_store_creditGet the store credit of one customer: current balance and the list of store credit transactions (issued, redeemed, reversed)
lightspeed_retail_list_gift_cardsList gift cards with number, balance, status (ACTIVE, REDEEMED, VOIDED, EXPIRED) and expiry, newest first
lightspeed_retail_get_gift_cardGet a gift card by its card number with balance, status, expiry and the transactions (issue, redeem, reverse)

Примеры запросов

  • «Сколько продала вчера каждая торговая точка, без налога и с налогом?»
  • «Какие товары в точке на Главной улице ниже точки дозаказа? Составь список дозаказа по поставщикам.»
  • «Найди клиентку с email [email protected] и покажи её бонусы лояльности и баланс магазина.»
  • «Запиши корректировку минус 3 для SKU TSHIRT-BLK-M в точке на Главной улице с причиной повреждение. Покажи её перед сохранением.»
  • «Покажи продажу с номером чека 10452 с позициями, скидками и платежами.»

FAQ

Для какого Copilot это руководство? Для Microsoft 365 Copilot на работе — через агентов Copilot Studio. В приложении Microsoft Copilot для личных аккаунтов добавить свой MCP-сервер нельзя.

Что нужно? Рабочий аккаунт с доступом к Copilot Studio (лицензия или пробная версия), чтобы создать агента. Тем, кто будет пользоваться им в Microsoft 365 Copilot или Teams, нужен доступ к агенту: поделись им или попроси администратора опубликовать его для организации. Если в организации действуют политики данных для коннекторов Power Platform, они распространяются и на MCP-серверы.

Агент не вызывает инструменты. Проверь, что имя заголовка — ровно X-API-Key, а ключ относится к тому же MCP-серверу, что и URL, и сделай Server description конкретным: по нему Copilot Studio решает, когда вызывать сервер. После каждого изменения опубликуй агента заново; в открытом чате введи «start over», чтобы перейти на новую версию.

Следующие шаги

Это руководство помогло?

Ваш агент для Lightspeed Retail в одном клике.

Установите коннектор, вставьте ключ, спросите Microsoft Copilot. 7 дней бесплатно, без банковской карты.

Похожие руководства

Коннекторы

Как подключить Lightspeed Retail (X-Series) к ChatGPT через MCP

Lightspeed Retail X-Series (ранее Vend) для одного магазина: торговые точки, кассы и итоги смены, поиск продаж по дате, товары и семейства товаров, категории, бренды, поставщики, прайс-листы и акции, остатки, корректировки, consignments и заказы поставщикам, клиенты, бонусный баланс магазина и подарочные карты. Возвраты и удаление при установке отключены.

Коннекторы

Как подключить Lightspeed Retail (X-Series) к Claude через MCP

Lightspeed Retail X-Series (ранее Vend) для одного магазина: торговые точки, кассы и итоги смены, поиск продаж по дате, товары и семейства товаров, категории, бренды, поставщики, прайс-листы и акции, остатки, корректировки, consignments и заказы поставщикам, клиенты, бонусный баланс магазина и подарочные карты. Возвраты и удаление при установке отключены.

Коннекторы

Как подключить Lightspeed Retail (X-Series) к Cursor через MCP

Lightspeed Retail X-Series (ранее Vend) для одного магазина: торговые точки, кассы и итоги смены, поиск продаж по дате, товары и семейства товаров, категории, бренды, поставщики, прайс-листы и акции, остатки, корректировки, consignments и заказы поставщикам, клиенты, бонусный баланс магазина и подарочные карты. Возвраты и удаление при установке отключены.

Коннекторы

Как подключить Lightspeed Retail (X-Series) к Gemini через MCP

Lightspeed Retail X-Series (ранее Vend) для одного магазина: торговые точки, кассы и итоги смены, поиск продаж по дате, товары и семейства товаров, категории, бренды, поставщики, прайс-листы и акции, остатки, корректировки, consignments и заказы поставщикам, клиенты, бонусный баланс магазина и подарочные карты. Возвраты и удаление при установке отключены.

Коннекторы

Как подключить Lightspeed Retail (X-Series) к Meta Muse через MCP

Lightspeed Retail X-Series (ранее Vend) для одного магазина: торговые точки, кассы и итоги смены, поиск продаж по дате, товары и семейства товаров, категории, бренды, поставщики, прайс-листы и акции, остатки, корректировки, consignments и заказы поставщикам, клиенты, бонусный баланс магазина и подарочные карты. Возвраты и удаление при установке отключены.

Коннекторы

Lightspeed Retail X-Series в MCP: продажи, товары, остатки, поставки и клиенты в любом AI-агенте

Lightspeed Retail X-Series (ранее Vend) для одного магазина: торговые точки, кассы и итоги смены, поиск продаж по дате, товары и семейства товаров, категории, бренды, поставщики, прайс-листы и акции, остатки, корректировки, consignments и заказы поставщикам, клиенты, бонусный баланс магазина и подарочные карты. Возвраты и удаление при установке отключены.