Mini ERP MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Mini ERP MCP Server
A small Model Context Protocol (MCP) server that lets an AI assistant (Claude, Devin, any MCP client) answer business questions from ERP data through read-only tools.
It is a demo of the pattern used to connect AI assistants to real ERP / EAM systems (Acumatica, IBM Maximo, Odoo...): the AI never gets raw database access, only a small set of well-described, read-only tools.
The data is fake and generated by seed.py (SQLite): customers, stock items and sales orders.
Tools
Tool | What it returns |
| Customers whose name contains the text |
| One sales order with customer, status, lines and total |
| Items at or below their reorder point |
| Revenue and order count per customer for a date range |
Resource: erp://schema exposes the table definitions so the AI understands the data model.
Example questions the AI can answer: "Which items need reordering?", "Who were our top customers in October?", "What's in order SO0001?"
Related MCP server: xentral-mcp-server
Design choices
Read-only by construction: the database is opened with
mode=ro, so no tool can modify data.Parameterized SQL only; tool inputs are never concatenated into queries.
Clear tool descriptions: the docstring is what the model reads to decide which tool to call.
Errors the model can act on: unknown IDs raise a
ToolErrorwith a readable message.Two transports: stdio for local clients and Streamable HTTP for remote clients.
Quick start
Requires Python 3.12+ and uv.
uv venv
uv pip install "mcp==2.3.0"
python seed.py # create erp.db with demo data
python test_client.py # start the server over stdio, list tools and call each oneRun over HTTP (served at http://127.0.0.1:3001/mcp):
python server.py --httpUse it from an MCP client (stdio)
{
"mcpServers": {
"mini-erp": {
"command": "/path/to/mini-erp-mcp/.venv/bin/python",
"args": ["/path/to/mini-erp-mcp/server.py"]
}
}
}From demo to production
To connect a real ERP, replace the SQLite queries with calls to the ERP's REST API (for example Acumatica's contract-based REST API or Maximo's OSLC/REST API), then deploy the HTTP transport behind HTTPS with OAuth and an API user that has read-only permissions.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Read-only access to a company's ERP for Claude, ChatGPT and Gemini, with OAuth and an audit trail.
Read-only by architecture: ask AI about QuickBooks, Xero and NetSuite, across every entity.
Query your books, company data, business health, and ship invoices from your AI assistant.
Read-only by architecture: ask AI about your NetSuite data, across multiple entities at once.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to access and query ERP data—sales, invoices, payables/receivables, cash flow, inventory, suppliers, and financial records—through natural language, using an authorized session capture login.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to access Xentral ERP data — articles, customers, sales orders, invoices, and stock levels — through read-only MCP tools.AGPL 3.0
- AlicenseAqualityCmaintenanceEnables AI agents to answer supply chain questions — such as which parts are single-sourced, which purchase orders are late, what a bill of materials costs, or what happens if a supplier slips — through read-only tools over supplier, purchase order, inventory, and bill-of-materials data. Every result includes the record IDs behind it, so answers can be cited and checked by a supply manager.6MIT
- AlicenseBqualityBmaintenanceEnables AI assistants to query ERP data across sales, procurement, finance, and inventory with per-department tool access and provenance on every answer, while keeping operations read-only by default and requiring explicit confirmation for writes.6MIT