Back to Guides

How to Connect Xentral ERP to Claude AI

Connect the Xentral ERP API to Claude via MCP. Analyze orders, stock levels, invoices, and production data with AI using AnythingMCP.

Analyze Your ERP Data with Claude

Xentral ERP doesn't have an MCP connector. AnythingMCP converts Xentral's REST API into an MCP server so Claude can query your orders, inventory, invoices, and production data.

Step-by-Step Guide

Step 1: Deploy AnythingMCP

git clone https://github.com/HelpCode-ai/anythingmcp.git
cd anythingmcp && docker compose up -d

Step 2: Get Xentral API Credentials

In Administration → API Settings, create a read-only API user.

Step 3: Create a REST Connector

Base URL: https://yourcompany.xentral.biz/api. Configure Basic Auth or API key.

Step 4: Expose Key Endpoints

  • GET /v1/orders — Sales orders
  • GET /v1/products — Products and stock
  • GET /v1/invoices — Invoices
  • GET /v1/customers — Customers
  • GET /v1/production-orders — Production
  • GET /v1/shipments — Shipments

Step 5: Connect to Claude

{
  "mcpServers": {
    "xentral": {
      "url": "http://localhost:4000/mcp"
    }
  }
}

You can also add your MCP server directly in Claude.ai under Settings → Connectors, without needing Claude Desktop.

Step 6: Ask Claude About Your Business

  • "Summarize today's order volume and revenue"
  • "Which products are running low on stock?"
  • "Show me all overdue invoices"
  • "What's the production schedule for this week?"
  • "Compare this month's order volume with last month"
  • "Which customers have outstanding payments?"

Next Steps