Connector guide11-minute read34 MCP tools7 languages

Connect Moka POS to Claude via MCP: Sales and Stock

Moka POS, the Indonesian point of sale of GoTo: outlets, sales summary and reports by item, category, payment method, discount, tax and staff, transactions with line items, invoices, the item library with variants and prices, stock summaries, purchase orders, customers and loyalty. Signed in with your own Moka app.

HCBy HelpCode teamUpdated 11 min read Open-source on GitHub

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

Moka POS

Moka POS

Moka POS, the Indonesian point of sale of GoTo: outlets, sales summary and reports by item, category, payment method, discount, tax and staff, transactions with line items, invoices, the item library with variants and prices, stock summaries, purchase orders, customers and loyalty. Signed in with your own Moka app.

tools

34

Region

INTL

Category

E-commerce

Authentication

OAuth 2.0

Required env vars

MOKA_CLIENT_IDMOKA_CLIENT_SECRET
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

Summary

Moka POS, the Indonesian point of sale of GoTo: outlets, sales summary and reports by item, category, payment method, discount, tax and staff, transactions with line items, invoices, the item library with variants and prices, stock summaries, purchase orders, customers and loyalty. Signed in with your own Moka app.

Guided setup

Connect Moka POS to Claude in 2 minutes

Start a free trial on AnythingMCP Cloud, connect Moka POS in the guided setup, then add your MCP URL to Claude. No code and no server to run.

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

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.

Try asking

Example prompts for Moka POS

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

Moka POS · 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 → Moka POS, paste the client ID and client secret of your Moka app, click Authorize with Provider and sign in to Moka as the owner of the business, mint an MCP API key and you're done. No Docker, no git clone, no local server.

Moka POS + Claude

Moka POS, the Indonesian point of sale of GoTo: outlets, sales summary and reports by item, category, payment method, discount, tax and staff, transactions with line items, invoices, the item library with variants and prices, stock summaries, purchase orders, customers and loyalty. Signed in with your own Moka app.

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:

MOKA_CLIENT_ID, MOKA_CLIENT_SECRET

Step 1 — Get credentials

Setting up takes about 10 minutes.

  1. Open the Moka Developer Platform at https://api.mokapos.com/users/sign_in and sign in with a Moka Backoffice account (the owner account of the business is the simplest choice).
  2. Create an application. As its redirect URL enter https://cloud.anythingmcp.com/api/mcp-oauth/callback on AnythingMCP Cloud, or <your AnythingMCP URL>/api/mcp-oauth/callback when you host AnythingMCP yourself. It must match character for character.
  3. Give the application the permissions profile, library, report, transaction and customer. The connector asks for exactly these five; Moka refuses the sign-in when the application lacks one of them.
  4. Copy the client ID and client secret of the application into MOKA_CLIENT_ID and MOKA_CLIENT_SECRET and install the connector.
  5. On the connector page click Authorize with Provider, sign in to Moka as the owner of the business and allow the permissions.

An application for your own business is a private app: it stays in the status In Review in the developer dashboard and works anyway. Only an app that should appear in the Moka App Market for other merchants needs Moka to publish it ([email protected]). The access token lasts about 180 days and is renewed with the refresh token automatically.

Where to start: moka_pos_get_profile returns the business_id and the outlet_ids every other tool needs. moka_pos_get_business and moka_pos_list_outlets add the details. Almost everything in Moka belongs to one outlet, so ask which outlet is meant when there are several.

Sales reports (per outlet, start and end as DD/MM/YYYY): moka_pos_get_sales_summary for the totals of a period, moka_pos_get_item_sales, moka_pos_get_category_sales and moka_pos_get_modifier_sales for what was sold, moka_pos_get_discount_sales and moka_pos_get_tax_sales, moka_pos_get_payment_methods_report for cash, card, invoice and other payment types, moka_pos_get_collector_sales and moka_pos_get_server_sales per staff member, and moka_pos_get_sales_type_report per sales type. For a comparison of periods call the same report once per period.

Transactions: moka_pos_list_latest_transactions returns single payments with their line items, newest first, filtered with since and until as Unix epoch seconds; while completed is false, call again with a lower until. moka_pos_get_transactions_report is the older report by date that Moka no longer supports. Sales on account are in moka_pos_list_invoices and moka_pos_get_invoice.

Library: moka_pos_list_categories, moka_pos_list_items (variants carry SKU, price and stock), moka_pos_list_modifiers, moka_pos_list_discounts, moka_pos_list_taxes, moka_pos_list_sales_types and moka_pos_list_promos. moka_pos_create_item and moka_pos_update_item write items; moka_pos_delete_item is installed switched off.

Stock: moka_pos_list_item_stock_summaries shows beginning, purchase order, sales, transfer, adjustment and ending quantities per variant for a period. moka_pos_list_purchase_orders and moka_pos_get_purchase_order read purchase orders. moka_pos_adjust_item_stock records a stock count: it sets the absolute quantity of each variant.

Customers and loyalty: moka_pos_list_customers (add include_loyalty for point balances), moka_pos_list_loyalty_programs and moka_pos_list_loyalty_point_activities. The connector only reads loyalty points.

Not included: the Checkout API and Advanced Orderings (they create sales and orders on the register), image uploads and webhooks. No tool takes a payment or moves money.

Field notes

  • Amounts are Indonesian rupiah without decimals in the library; report totals can carry decimals from tax and discount splits.
  • Timestamps in answers are ISO 8601 with the +07:00 offset of Jakarta. Report dates are calendar days as DD/MM/YYYY; since and until are Unix epoch seconds.
  • Lists answer total_pages and total_count; page with page and per_page. Records are soft-deleted: is_deleted true rows only come with include_deleted.
  • 401 means the token was revoked or expired: authorize again. 403 names a missing permission, or an outlet whose Moka subscription expired (the owner renews it in the Backoffice). 429 with Quota limit exceeded means too many calls: wait before retrying.

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 Plugins (older menu: Customize → Connectors → + Add).
  2. Click Add, then Add custom connector.
  3. Enter a name, e.g. Moka POS, and the remote MCP server URL https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID, then click Continue, keep the detected settings and click Continue again.
  4. Choose Sign in now, click Add and sign in to AnythingMCP (OAuth) to allow access.

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

Available tools

ToolWhat it does
moka_pos_get_profileCheck the connection and return who authorized it: user id, email, full_name, business_id, business_name, and the outlets the user can…
moka_pos_get_businessRead the business behind the connection: id, name, address, city, province, postal_code, phone, email, website, coordinates, outlet_slot…
moka_pos_list_outletsList the outlets (stores) of a business: id, name, address, city, province, postal_code, phone_number, coordinates, is_deleted, start_date…
moka_pos_list_customersList the customers of a business: id, name, email, phone, address, city, state, postal_code, birthday, outlet_id, is_deleted, created_at…
moka_pos_list_loyalty_programsList the loyalty programs of a business: id, status, new_member_point, the earning_rules (type, point, amount in IDR spent per point) and…
moka_pos_list_loyalty_point_activitiesList the loyalty point history of one customer: type, points, initial_points, new_member_points, redeem_reward, payment_uuid…
moka_pos_list_categoriesList the item categories of an outlet: id, name, description, is_deleted, created_at and updated_at. The answer carries total_pages and…
moka_pos_list_itemsList the items (products) of an outlet: id, name, description, category_id with the category, image, is_recipe, is_sales_type_price and…
moka_pos_list_modifiersList the modifier groups of an outlet: id, name, min_no_of_options, max_no_of_options, active_options (the options with their prices) and…
moka_pos_list_discountsList the discounts of an outlet: id, name, amount, type (percentage or cash), amount_format and is_deleted. The answer carries total_pages…
moka_pos_list_taxesList the taxes of an outlet: id, name, amount (percent) and is_deleted. The answer carries total_pages and total_count next to the tax…
moka_pos_list_sales_typesList the sales types of an outlet (Dine In, Take Away, delivery channels): id, name, default_state, active_state, the gratuities applied…
moka_pos_list_promosList the promos of an outlet: promo_id, promo_name, promo_type, promo_description, promo_start_date, promo_end_date, promo_status…
moka_pos_list_item_stock_summariesStock movement per item variant of an outlet for a period: item_id, item_name, category, outlet and per variant beginning, purchase_order…
moka_pos_list_purchase_ordersList the purchase orders of an outlet created in a period, newest first: id, order_no (not guaranteed unique), total cost, supplier_id and…
moka_pos_get_purchase_orderRead one purchase order: id, order_no, note, total, status (Created, Updated, Cancelled or Fulfilled), the supplier contact fields…
moka_pos_get_sales_summarySales summary for an outlet and a date range: gross_sales, discounts, refunds, net_sales, gratuities, taxes, total_collected…
moka_pos_get_item_salesSales per item for an outlet and a date range: item_sales rows with name, sku, category_name, item_sold, item_refunded, gross_sales…
moka_pos_get_category_salesSales per item category for an outlet and a date range: category_sales rows with name, items_sold, gross_sales, discount, refund and…
moka_pos_get_modifier_salesSales per modifier for an outlet and a date range: modifiers rows with modifier_id, modifier_name, quantity, gross_sales, discount, refund…
moka_pos_get_discount_salesDiscounts given for an outlet and a date range: discounts rows with discount_id, name, amount, discount_type (percentage or cash), count…
moka_pos_get_tax_salesTaxes collected for an outlet and a date range: reports_taxes rows with name, amount (percent), taxable_amount and tax_collected, plus…
moka_pos_get_payment_methods_reportTakings per payment method for an outlet and a date range: total_number_of_transactions, total_collected and reports grouped as…
moka_pos_get_collector_salesTakings per staff member who collected the payment for an outlet and a date range: reports rows with name, title, number_of_transactions…
moka_pos_get_server_salesTakings per server (the staff member who served) for an outlet and a date range: servers rows with server_id, server_name, server_title…
moka_pos_get_sales_type_reportSales per sales type (Dine In, Take Away, delivery channels) for an outlet and a date range: sales_types rows with sales_type, count and…
moka_pos_get_transactions_reportTransactions of an outlet for a date range in one answer: the totals gross_sales, net_sales, discounts, gratuity, tax, refunds…
moka_pos_list_latest_transactionsList the sales transactions (payments) of an outlet, newest first, with full detail: id, payment_no, created_at, payment_type, subtotal…
moka_pos_list_invoicesList the invoices (sales on account) of an outlet for a date range: id (a UUID), invoice_no, payment_no, status, invoice_status (paid or…
moka_pos_get_invoiceRead one invoice by its UUID: status, payment_no, payment_type, amount_pay, amount_change, the discount, gratuity, tax and item totals…
moka_pos_create_itemCreate an item (product) in the library of an outlet with its variants, prices and optional stock tracking. Returns the new item with its…
moka_pos_update_itemChange an item of an outlet: name, description, category, and the name, SKU, price and tracking flags of its variants. Moka documents the…
moka_pos_adjust_item_stockRecord a stock adjustment for an outlet: set the counted stock of one or more item variants and leave a note. actual_stock is the new…
moka_pos_delete_itemDelete an item from the library of an outlet. It disappears from the register and cannot be restored through the API; past sales keep their…

Example prompts

  • "What were the sales of my Kemang outlet last week?"
  • "Which items sold best this month, and by how much?"
  • "Show the payment methods report for yesterday: cash, card and QRIS."
  • "Which variants are running low according to the stock summary of this month?"
  • "Compare the sales of each cashier this week."

FAQ

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

What do I need to set up? An application on the Moka Developer Platform, signed in with a Moka Backoffice account: enter the AnythingMCP callback as redirect URL, give it the permissions profile, library, report, transaction and customer, copy the client ID and secret, and click Authorize with Provider. An app for your own business stays In Review and works anyway.

What does it cover? Business and outlets, sales reports by item, category, modifier, discount, tax, payment method, staff and sales type, transactions with line items, invoices, the item library, stock summaries, purchase orders, customers and loyalty points (read only). Checkout, advanced orderings, image uploads and webhooks are not included; no tool takes a payment or moves money.

Which tools install switched off? moka_pos_delete_item. Switch it on on the connector page only if the AI should use it. Creating and updating items and recording a stock count are on.

Next steps

Was this guide helpful?

Connect Moka POS to Claude in 2 minutes

Start a free trial on AnythingMCP Cloud, connect Moka POS in the guided setup, then add your MCP URL to Claude. No code and no server to run.

Related guides

Connectors

Connect Moka POS to ChatGPT via MCP: Sales and Stock

Moka POS, the Indonesian point of sale of GoTo: outlets, sales summary and reports by item, category, payment method, discount, tax and staff, transactions with line items, invoices, the item library with variants and prices, stock summaries, purchase orders, customers and loyalty. Signed in with your own Moka app.

Connectors

Connect Moka POS to Microsoft Copilot via MCP

Moka POS, the Indonesian point of sale of GoTo: outlets, sales summary and reports by item, category, payment method, discount, tax and staff, transactions with line items, invoices, the item library with variants and prices, stock summaries, purchase orders, customers and loyalty. Signed in with your own Moka app.

Connectors

Connect Moka POS to Cursor via MCP: Sales and Stock

Moka POS, the Indonesian point of sale of GoTo: outlets, sales summary and reports by item, category, payment method, discount, tax and staff, transactions with line items, invoices, the item library with variants and prices, stock summaries, purchase orders, customers and loyalty. Signed in with your own Moka app.

Connectors

Connect Moka POS to Gemini CLI via MCP

Moka POS, the Indonesian point of sale of GoTo: outlets, sales summary and reports by item, category, payment method, discount, tax and staff, transactions with line items, invoices, the item library with variants and prices, stock summaries, purchase orders, customers and loyalty. Signed in with your own Moka app.

Connectors

Connect Moka POS to Meta Muse via MCP

Moka POS, the Indonesian point of sale of GoTo: outlets, sales summary and reports by item, category, payment method, discount, tax and staff, transactions with line items, invoices, the item library with variants and prices, stock summaries, purchase orders, customers and loyalty. Signed in with your own Moka app.

Connectors

Moka POS MCP Server: Sales, Stock and Items

Moka POS, the Indonesian point of sale of GoTo: outlets, sales summary and reports by item, category, payment method, discount, tax and staff, transactions with line items, invoices, the item library with variants and prices, stock summaries, purchase orders, customers and loyalty. Signed in with your own Moka app.