Lightspeed MCP Server
Complete Model Context Protocol (MCP) server for Lightspeed Retail and Restaurant POS platforms.
接入你的智能体
從發布者安裝。不是 PlugMCP 端點。
遠端 URL 還是本機指令? 兩種安裝方式的差異
來自發布者
Complete Model Context Protocol (MCP) server for Lightspeed Retail and Restaurant POS platforms.
MCP server for Lightspeed API - Complete 2026 version with 100+ tools
npm install @busybee3333/lightspeed-mcp-server
Or clone and build:
git clone https://github.com/BusyBee3333/mcpengine.git
cd mcpengine/servers/lightspeed
npm install
npm run build
Lightspeed uses OAuth2 authentication. You'll need:
import { LightspeedClient } from '@busybee3333/lightspeed-mcp-server';
const client = new LightspeedClient({
accountId: 'YOUR_ACCOUNT_ID',
clientId: 'YOUR_CLIENT_ID',
clientSecret: 'YOUR_CLIENT_SECRET',
apiType: 'retail', // or 'restaurant'
environment: 'production', // or 'trial'
});
// 1. Get authorization URL
const authUrl = await client.getAuthorizationUrl(
'https://your-redirect-uri.com/callback',
'employee:all', // scope
'random-state-string'
);
// 2. User visits authUrl and authorizes
// 3. Exchange code for tokens
const tokens = await client.exchangeCodeForToken(
authorizationCode,
'https://your-redirect-uri.com/callback'
);
console.log(tokens.access_token);
console.log(tokens.refresh_token);
Set environment variables:
export LIGHTSPEED_ACCOUNT_ID="123456"
export LIGHTSPEED_CLIENT_ID="your-client-id"
export LIGHTSPEED_CLIENT_SECRET="your-client-secret"
export LIGHTSPEED_ACCESS_TOKEN="your-access-token"
export LIGHTSPEED_REFRESH_TOKEN="your-refresh-token"
export LIGHTSPEED_API_TYPE="retail" # or "restaurant"
export LIGHTSPEED_ENVIRONMENT="production" # or "trial"
Run the server:
npx lightspeed-mcp
Add to claude_desktop_config.json:
{
"mcpServers": {
"lightspeed": {
"command": "npx",
"args": ["-y", "@busybee3333/lightspeed-mcp-server"],
"env": {
"LIGHTSPEED_ACCOUNT_ID": "123456",
"LIGHTSPEED_CLIENT_ID": "your-client-id",
"LIGHTSPEED_CLIENT_SECRET": "your-secret",
"LIGHTSPEED_ACCESS_TOKEN": "your-token",
"LIGHTSPEED_REFRESH_TOKEN": "your-refresh",
"LIGHTSPEED_API_TYPE": "retail",
"LIGHTSPEED_ENVIRONMENT": "production"
}
}
}
}
import { LightspeedMCPServer } from '@busybee3333/lightspeed-mcp-server';
const server = new LightspeedMCPServer(
'account-id',
'client-id',
'client-secret',
{
accessToken: 'your-token',
refreshToken: 'your-refresh-token',
apiType: 'retail',
environment: 'production',
}
);
await server.run();
lightspeed_list_products - List all products with filterslightspeed_get_product - Get product detailslightspeed_create_product - Create new productlightspeed_update_product - Update productlightspeed_delete_product - Archive productlightspeed_search_products - Advanced searchlightspeed_bulk_update_products - Bulk operationslightspeed_get_product_inventory - Inventory levelslightspeed_adjust_product_inventory - Adjust stocklightspeed_list_sales - List transactionslightspeed_get_sale - Get sale detailslightspeed_create_sale - Create new salelightspeed_complete_sale - Finalize transactionlightspeed_void_sale - Void transactionlightspeed_add_sale_payment - Add paymentlightspeed_get_daily_sales - Daily summarylightspeed_refund_sale - Process refundlightspeed_list_customers - List all customerslightspeed_get_customer - Customer detailslightspeed_create_customer - New customerlightspeed_update_customer - Update customerlightspeed_delete_customer - Archive customerlightspeed_search_customers - Search customerslightspeed_get_customer_credit_account - Store creditlightspeed_add_customer_credit - Add creditlightspeed_sales_report - Sales analyticslightspeed_inventory_report - Stock valuationlightspeed_customer_report - Customer analyticslightspeed_employee_performance_report - Staff metricslightspeed_product_performance_report - Top sellers...and 50+ more tools!
All apps are built with Vite and feature a modern dark theme. Access them at:
dist/ui/dashboard/index.html
dist/ui/product-manager/index.html
dist/ui/sales-terminal/index.html
...etc
# Install dependencies
npm install
# Build TypeScript
npm run build
# Development mode (watch)
npm run dev
# Build React apps
node build-apps.js
https://api.lightspeedapp.com/API/V3https://api.lsk.lightspeed.appContributions welcome! Please:
MIT License - see LICENSE file for details
Built with ❤️ by BusyBee3333
Part of the MCP Engine project - Complete MCP servers for 40+ platforms.
MCP server for Lightspeed API - Complete 2026 version with 100+ tools
工具
尚無工具清單。遠端伺服器會在首次健康檢查後取得工具清單。
常見問題
在本頁複製適用於 Cursor、Claude Desktop、Claude Code 或 VS Code 的 stdio 設定。它使用發布者的安裝方式,而不是 PlugMCP 代理伺服器。
這筆記錄未列出必要的環境變數。
Lightspeed MCP 2026 Complete 透過 stdio 在本機執行。
上次檢查時間:2026-10-28。 MCP server for Lightspeed API - Complete 2026 version with 100+ tools