How to Connect Xentral ERP to ChatGPT
Connect the Xentral ERP API to ChatGPT via MCP. Query orders, inventory, invoices, and production data with natural language using AnythingMCP.
Manage Your ERP with ChatGPT
Xentral is a popular ERP system for e-commerce and manufacturing businesses, especially in the DACH region. It has no MCP connector. With AnythingMCP, you can convert Xentral's REST API into an MCP server and let ChatGPT query orders, inventory, invoices, and production data.
What You Need
- A Xentral instance with API access enabled
- Docker installed
- ChatGPT Desktop or any MCP-compatible AI client
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 Xentral, go to Administration → API Settings. Create an API user with read-only permissions. Note your instance URL (e.g., https://yourcompany.xentral.biz).
Step 3: Create a REST Connector
In the AnythingMCP dashboard, create a REST connector with base URL https://yourcompany.xentral.biz/api. Configure Basic Auth or API key authentication.
Step 4: Expose Key Endpoints
GET /v1/orders— Sales ordersGET /v1/orders/{id}— Order detailsGET /v1/products— Product catalogGET /v1/products/{id}/stock— Stock levelsGET /v1/invoices— Invoice listGET /v1/customers— Customer databaseGET /v1/production-orders— Production ordersGET /v1/suppliers— Supplier listGET /v1/shipments— Shipment tracking
Step 5: Connect ChatGPT
{
"mcpServers": {
"xentral": {
"url": "http://localhost:4000/mcp"
}
}
}
Step 6: Query Your ERP Data
- "How many orders came in today?"
- "Which products are below reorder point?"
- "Show me all unpaid invoices over 30 days"
- "What's our total revenue this month?"
- "List all open production orders sorted by due date"
- "Which suppliers have the longest delivery times?"
- "Show me the top 10 customers by order volume"
Use Cases
Inventory Management
Ask ChatGPT to monitor stock levels, identify slow-moving items, and flag products that need reordering.
Financial Overview
Query invoices, revenue trends, and payment status without navigating the Xentral UI.
Order Fulfillment
Track open orders, shipment status, and delivery timelines with natural language.
Security Best Practices
- Create a dedicated read-only API user in Xentral
- Use IP whitelisting if available
- Start with read endpoints only
- Enable AnythingMCP audit logging