System & Maintenance

Setting up the AI analytics MCP server

The MCP server auto-starts with the app and writes configs for Claude, Cursor and VS Code automatically.

Step by Step

  1. Enable MCP in Settings → AI Analytics.
  2. Copy the auto-generated config into Claude Desktop / Cursor (or let the wizard do it).
  3. Restart your AI assistant — 16 read-only tools appear.
  4. Try: "What were my top 10 selling medicines last month?"

What You Need

Why It Is Safe

The MCP server is read-only in five ways: the database opens read-only, only SELECT queries are allowed, write keywords are blocked, no write tools exist, and every query is logged. The AI can analyse your data but never change it, and your database never leaves your computer — only the question and answer pass through the AI provider.

Good First Questions

"How much did I sell today?", "Which medicines made the most profit last month?", "What expires in the next 60 days?"

FAQ

Tip: still stuck? Message us on WhatsApp with a screenshot — most issues are solved in under 10 minutes.
Get Help on WhatsApp

Related Guides